mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 01:01:09 +02:00
refactor(zitare): move settings, spiral, themes to account dropdown
Remove settings and spiral from main pill navigation and add them as items in the account dropdown (Konto pill) on the right side. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
52991a835f
commit
08629b8052
1 changed files with 4 additions and 3 deletions
|
|
@ -94,8 +94,6 @@
|
|||
{ href: '/categories', label: $_('nav.categories'), icon: 'grid' },
|
||||
{ href: '/favorites', label: $_('nav.favorites'), icon: 'heart' },
|
||||
{ href: '/lists', label: $_('nav.lists'), icon: 'list' },
|
||||
{ href: '/settings', label: $_('nav.settings'), icon: 'settings' },
|
||||
{ href: '/spiral', label: 'Spiral', icon: 'sparkles' },
|
||||
]);
|
||||
|
||||
// Filter hidden nav items
|
||||
|
|
@ -104,7 +102,7 @@
|
|||
);
|
||||
|
||||
// Navigation routes for keyboard shortcuts
|
||||
const navRoutes = ['/', '/categories', '/favorites', '/lists', '/settings', '/spiral'];
|
||||
const navRoutes = ['/', '/categories', '/favorites', '/lists'];
|
||||
|
||||
function handleToggleTheme() {
|
||||
theme.toggleMode();
|
||||
|
|
@ -253,8 +251,11 @@
|
|||
{appItems}
|
||||
{userEmail}
|
||||
settingsHref="/settings"
|
||||
spiralHref="/spiral"
|
||||
themesHref="/themes"
|
||||
manaHref="/mana"
|
||||
profileHref="/profile"
|
||||
helpHref="/help"
|
||||
allAppsHref="/apps"
|
||||
/>
|
||||
{/if}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue