--- import AstroIcon from './AstroIcon.astro'; import { TeamDropdown } from './TeamDropdown/TeamDropdown'; import { SidebarFriendsCounter } from './Friends/SidebarFriendsCounter'; import { Map } from 'lucide-react'; export interface Props { activePageId: string; activePageTitle: string; hasDesktopSidebar?: boolean; } const { hasDesktopSidebar = true, activePageId, activePageTitle } = Astro.props; const sidebarLinks = [ { href: '/account', title: 'Activity', id: 'activity', isNew: false, icon: { glyph: 'analytics', classes: 'h-3 w-4', }, }, { href: '/account/friends', title: 'Friends', id: 'friends', isNew: false, icon: { glyph: 'users', classes: 'h-4 w-4', }, }, { href: '/account/roadmaps', title: 'Roadmaps', id: 'roadmaps', isNew: true, icon: { glyph: 'users', classes: 'h-4 w-4', component: Map, }, }, { href: '/account/road-card', title: 'Card', id: 'road-card', isNew: false, icon: { glyph: 'badge', classes: 'h-4 w-4', }, }, { href: '/account/update-profile', title: 'Profile', id: 'profile', isNew: false, icon: { glyph: 'user', classes: 'h-4 w-4', }, }, { href: '/account/settings', title: 'Settings', id: 'settings', isNew: false, icon: { glyph: 'cog', classes: 'h-4 w-4', }, }, ]; ---
{ hasDesktopSidebar && ( ) }