diff --git a/app/components/ui/Settings.tsx b/app/components/ui/Settings.tsx index 5c53c34..8c317d0 100644 --- a/app/components/ui/Settings.tsx +++ b/app/components/ui/Settings.tsx @@ -11,6 +11,8 @@ import { useNavigate } from '@remix-run/react'; import commit from '~/commit.json'; import Cookies from 'js-cookie'; import { SettingsSlider } from './SettingsSlider'; +import '~/styles/components/SettingsSlider.scss'; +import '~/styles/components/Settings.scss'; interface SettingsProps { open: boolean; @@ -28,6 +30,7 @@ export const Settings = ({ open, onClose }: SettingsProps) => { const [isDebugEnabled, setIsDebugEnabled] = useState(false); const [searchTerm, setSearchTerm] = useState(''); const [isDeleting, setIsDeleting] = useState(false); + const [isJustSayEnabled, setIsJustSayEnabled] = useState(false); // Load base URLs from cookies const [baseUrls, setBaseUrls] = useState(() => { @@ -211,16 +214,13 @@ export const Settings = ({ open, onClose }: SettingsProps) => { variants={dialogVariants} >
-
+
{tabs.map((tab) => ( -
+

Danger Area

This action cannot be undone!

{/* Base URL input for configurable providers */} @@ -328,7 +332,7 @@ export const Settings = ({ open, onClose }: SettingsProps) => {
)} {activeTab === 'features' && ( -
+

Feature Settings

Debug Info @@ -339,15 +343,40 @@ export const Settings = ({ open, onClose }: SettingsProps) => { checked={isDebugEnabled} onChange={() => setIsDebugEnabled(!isDebugEnabled)} /> -
-
+
+
+ +
+
+ )} + {activeTab === 'features' && ( +
+

Experimental Area

+
+ Replace with local models +
-
{/* Your feature content here */}
)} {activeTab === 'debug' && isDebugEnabled && ( diff --git a/app/components/ui/SettingsSlider.tsx b/app/components/ui/SettingsSlider.tsx index 8de9136..4cc4dcc 100644 --- a/app/components/ui/SettingsSlider.tsx +++ b/app/components/ui/SettingsSlider.tsx @@ -1,6 +1,7 @@ import { motion } from 'framer-motion'; import { memo } from 'react'; import { classNames } from '~/utils/classNames'; +import '~/styles/components/SettingsSlider.scss'; interface SliderOption { value: T; @@ -22,11 +23,11 @@ export const SettingsSlider = memo(({ selected, options, setSelected }: Sett const isLeftSelected = selected === options.left.value; return ( -
+
({ selected, options, setSelected }: Sett