'use client'; import {TopNav} from '@astryxdesign/core/TopNav'; import {HStack} from '@astryxdesign/core/Layout'; import {IconButton} from '@astryxdesign/core/IconButton'; import {Icon} from '@astryxdesign/core/Icon'; import {DropdownMenu} from '@astryxdesign/core/DropdownMenu'; import {Avatar} from '@astryxdesign/core/Avatar'; import {Divider} from '@astryxdesign/core/Divider'; import {ICONS} from '@/lib/icons'; import {GlobalSearch} from './GlobalSearch'; import {StoreSwitcher} from './StoreSwitcher'; import {RangePicker} from './RangePicker'; import {CopilotToggle} from '@/features/copilot/CopilotToggle'; /** * Compact application bar. Scope controls (store, range) live at the start * because they govern the whole workspace; identity and alerts live at the end. */ export function AppTopNav() { return ( } centerContent={} endContent={ } label="Notifications" variant="ghost" /> , }} menuWidth={200} items={[ { type: 'section', title: 'suriya@nearle.in', items: [ {label: 'Profile', icon: ICONS.profile}, {label: 'Settings', icon: ICONS.settings}, ], }, {type: 'divider'}, {label: 'Sign out', icon: ICONS.signOut}, ]} /> } /> ); }