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:
Till JS 2026-03-26 12:12:42 +01:00
parent 52991a835f
commit 08629b8052

View file

@ -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}