diff --git a/src/App.tsx b/src/App.tsx index 2446a06..0629975 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -22,6 +22,7 @@ export default function App() { email: string; role: 'admin' | 'student'; subscriptionStatus: SubscriptionStatus; + avatarUrl?: string; } | null>(null); // App routing diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index ab5d854..aa8dcfa 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -8,6 +8,7 @@ interface NavbarProps { email: string; role: 'admin' | 'student'; subscriptionStatus: SubscriptionStatus; + avatarUrl?: string; } | null; activeView: string; setView: (view: string) => void; @@ -99,8 +100,33 @@ export default function Navbar({ user, activeView, setView, onLogout, settings } } }; + const navLinks = ( + <> + + + + + ); + return ( -