Commit
·
2d1c19b
1
Parent(s):
5615cc1
ui: Small Style Update
Browse filesupdate to the settings style
- app/components/ui/Settings.tsx +11 -10
app/components/ui/Settings.tsx
CHANGED
@@ -257,7 +257,7 @@ export const Settings = ({ open, onClose }: SettingsProps) => {
|
|
257 |
Export All Chats
|
258 |
</button>
|
259 |
|
260 |
-
<div className="
|
261 |
<h4 className="font-semibold">Danger Area</h4>
|
262 |
<p className="mb-2">This action cannot be undone!</p>
|
263 |
<button
|
@@ -275,14 +275,16 @@ export const Settings = ({ open, onClose }: SettingsProps) => {
|
|
275 |
)}
|
276 |
{activeTab === 'providers' && (
|
277 |
<div className="p-4">
|
278 |
-
<
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
|
|
|
|
286 |
{filteredProviders.map((provider) => (
|
287 |
<div
|
288 |
key={provider.name}
|
@@ -305,7 +307,6 @@ export const Settings = ({ open, onClose }: SettingsProps) => {
|
|
305 |
></div>
|
306 |
</label>
|
307 |
</div>
|
308 |
-
|
309 |
{/* Base URL input for configurable providers */}
|
310 |
{URL_CONFIGURABLE_PROVIDERS.includes(provider.name) && provider.isEnabled && (
|
311 |
<div className="mt-2">
|
|
|
257 |
Export All Chats
|
258 |
</button>
|
259 |
|
260 |
+
<div className="text-white rounded-lg p-4 mb-4">
|
261 |
<h4 className="font-semibold">Danger Area</h4>
|
262 |
<p className="mb-2">This action cannot be undone!</p>
|
263 |
<button
|
|
|
275 |
)}
|
276 |
{activeTab === 'providers' && (
|
277 |
<div className="p-4">
|
278 |
+
<div className="flex items-center justify-between mb-4">
|
279 |
+
<h3 className="text-lg font-medium text-white">Providers</h3>
|
280 |
+
<input
|
281 |
+
type="text"
|
282 |
+
placeholder="Search providers..."
|
283 |
+
value={searchTerm}
|
284 |
+
onChange={(e) => setSearchTerm(e.target.value)}
|
285 |
+
className="mb-4 p-2 rounded border border-gray-300"
|
286 |
+
/>
|
287 |
+
</div>
|
288 |
{filteredProviders.map((provider) => (
|
289 |
<div
|
290 |
key={provider.name}
|
|
|
307 |
></div>
|
308 |
</label>
|
309 |
</div>
|
|
|
310 |
{/* Base URL input for configurable providers */}
|
311 |
{URL_CONFIGURABLE_PROVIDERS.includes(provider.name) && provider.isEnabled && (
|
312 |
<div className="mt-2">
|