+ No upcoming sessions. Browse mentors to book your first session!
+
+
+ )}
+
+
+ {/* Profile Card */}
+
+
+
+
+ {user?.avatar ? (
+
+ ) : (
+
+ U
+
+ )}
+
+
{user?.fullname}
+
{user?.email}
+
+
+
+
+
+ );
+}
diff --git a/apps/dimentorin/src/app/dashboard/settings/page.tsx b/apps/dimentorin/src/app/dashboard/settings/page.tsx
new file mode 100644
index 0000000..7974260
--- /dev/null
+++ b/apps/dimentorin/src/app/dashboard/settings/page.tsx
@@ -0,0 +1,185 @@
+import { useState } from 'react';
+import {
+ useAuthStore,
+ useSessionQuery,
+} from '@imphnen-frontend-service/service';
+import { Icon } from '@iconify/react';
+import { toast } from 'sonner';
+
+type SettingsSection = 'account' | 'privacy' | 'preferences' | 'faq';
+
+const faqItems = [
+ { q: 'How do I book a mentoring session?', a: 'Browse available mentors, select one, and click "Book Session" to schedule a meeting.' },
+ { q: 'How do I become a mentor?', a: 'Go to the registration page and fill in your professional details. Your application will be reviewed by our team.' },
+ { q: 'Can I cancel a session?', a: 'Yes, you can cancel a pending or confirmed session from your dashboard before the scheduled time.' },
+ { q: 'How do I update my profile?', a: 'Go to Settings > Account Details to update your personal information.' },
+ { q: 'Is my data secure?', a: 'Yes, we use encryption and secure protocols to protect your data. See our Privacy Policy for details.' },
+];
+
+export default function SettingsPage() {
+ const { session } = useAuthStore();
+ const { data: meData } = useSessionQuery();
+ const [activeSection, setActiveSection] = useState('account');
+ const [expandedFaq, setExpandedFaq] = useState(null);
+
+ const user = session?.user;
+
+ const sections = [
+ { id: 'account' as const, label: 'Account Details', icon: 'mdi:account-circle' },
+ { id: 'privacy' as const, label: 'Privacy & Security', icon: 'mdi:shield-lock' },
+ { id: 'preferences' as const, label: 'Preferences', icon: 'mdi:tune' },
+ { id: 'faq' as const, label: 'FAQ & Support', icon: 'mdi:help-circle' },
+ ];
+
+ return (
+
+
Settings
+
+
+ {/* Sidebar */}
+
+
+ {sections.map((s) => (
+
+ ))}
+
+
+
+ {/* Content */}
+
+ {activeSection === 'account' && (
+
+
Account Details
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ To update your profile, use the profile page from the main menu.
+