diff --git a/src/pages/Settings.tsx b/src/pages/Settings.tsx index 0a24edf..54ae367 100644 --- a/src/pages/Settings.tsx +++ b/src/pages/Settings.tsx @@ -1,28 +1,22 @@ - import React from 'react'; import { useNavigate } from 'react-router-dom'; import NavBar from '@/components/NavBar'; import { User, CreditCard, Bell, Lock, HelpCircle, LogOut, ChevronRight } from 'lucide-react'; import { cn } from '@/lib/utils'; - -const SettingsOption = ({ - icon: Icon, - label, - description, +const SettingsOption = ({ + icon: Icon, + label, + description, onClick, color = "text-neuro-income" -}: { - icon: React.ElementType; - label: string; +}: { + icon: React.ElementType; + label: string; description?: string; onClick?: () => void; color?: string; }) => { - return ( -
+ return
@@ -33,15 +27,11 @@ const SettingsOption = ({
-
- ); +
; }; - const Settings = () => { const navigate = useNavigate(); - - return ( -
+ return
{/* Header */}
@@ -62,57 +52,27 @@ const Settings = () => { {/* Settings Options */}

계정

- navigate('/profile-management')} - /> - - navigate('/notification-settings')} - /> + navigate('/profile-management')} /> + + navigate('/notification-settings')} />

앱 설정

- navigate('/security-privacy-settings')} - /> - navigate('/help-support')} - /> + navigate('/security-privacy-settings')} /> + navigate('/help-support')} />
- +
-

앱 버전 1.0.0

+

앱 버전 0.1

-
- ); +
; }; - -export default Settings; +export default Settings; \ No newline at end of file