-
+
NAO
-
+
{navItems.map((item) => renderNavItem(item))}
@@ -347,10 +347,21 @@ const DashboardLayout = ({ children }: DashboardLayoutProps) => {
borderBottom: 1,
borderColor: 'divider',
boxShadow: 'none',
+ borderRadius: '0 !important',
+ borderTopLeftRadius: '0 !important',
+ borderTopRightRadius: '0 !important',
+ borderBottomLeftRadius: '0 !important',
+ borderBottomRightRadius: '0 !important',
zIndex: theme.zIndex.drawer + 1,
}}
>
-
+
{
+ {
+ // AI Assistant functionality
+ console.log('AI Assistant clicked');
+ }}
+ sx={{ color: 'primary.main' }}
+ >
+
+
@@ -382,18 +404,11 @@ const DashboardLayout = ({ children }: DashboardLayoutProps) => {
navigate('/account')}
color="inherit"
>
-
- U
-
+
@@ -459,10 +474,12 @@ const DashboardLayout = ({ children }: DashboardLayoutProps) => {
>
{
-
{/* Bottom Navigation for Mobile */}
{isMobile && }
diff --git a/src/pages/AccountPage.tsx b/src/pages/AccountPage.tsx
index 1dfac51..c8785d5 100644
--- a/src/pages/AccountPage.tsx
+++ b/src/pages/AccountPage.tsx
@@ -2,7 +2,6 @@ import { useState, useEffect } from 'react';
import {
Typography,
Box,
- Paper,
Tabs,
Tab,
Grid,
@@ -28,6 +27,8 @@ import {
Bookmarks,
Language,
Timeline,
+ Settings,
+ Logout,
} from '@mui/icons-material';
import { DEFAULT_RCARDS, DEFAULT_PRIVACY_SETTINGS } from '../types/notification';
import type { RCardWithPrivacy } from '../types/notification';
@@ -47,7 +48,7 @@ interface TabPanelProps {
const TabPanel = ({ children, value, index }: TabPanelProps) => {
return (
- {value === index && {children}}
+ {value === index && {children}}
);
};
@@ -246,15 +247,16 @@ const AccountPage = () => {
width: '100%',
maxWidth: { xs: '100vw', md: '100%' },
overflow: 'hidden',
- boxSizing: 'border-box'
+ boxSizing: 'border-box',
+ p: { xs: '10px', md: 0 },
+ mx: { xs: 0, md: 'auto' }
}}>
{/* Header */}
{
{/* Navigation Tabs */}
-
@@ -306,11 +307,12 @@ const AccountPage = () => {
} label="My Webpage" />
} label="My Stream" />
} label="My Bookmarks" />
+ } label="Settings" />
{/* Profile Tab */}
-
+
@@ -379,6 +381,7 @@ const AccountPage = () => {
@@ -387,7 +390,7 @@ const AccountPage = () => {
{/* My Cards Tab */}
-
+
{/* rCard List */}
@@ -495,7 +498,7 @@ const AccountPage = () => {
{/* My Webpage Tab */}
-
+
@@ -514,18 +517,59 @@ const AccountPage = () => {
{/* My Stream Tab */}
-
+
{/* My Bookmarks Tab */}
-
+
-
+
+ {/* Settings Tab */}
+
+
+
+
+
+ Settings
+
+
+ Account settings and preferences
+
+
+ Coming soon...
+
+
+
+
+
+
+
+ {/* Logout Button - Always visible at bottom */}
+