diff --git a/apps/manacore/apps/web/src/routes/(app)/+layout.svelte b/apps/manacore/apps/web/src/routes/(app)/+layout.svelte index 14ab8027d..473329979 100644 --- a/apps/manacore/apps/web/src/routes/(app)/+layout.svelte +++ b/apps/manacore/apps/web/src/routes/(app)/+layout.svelte @@ -80,7 +80,8 @@ // Navigation items for ManaCore // Admin link is conditionally added based on user role let baseNavItems: PillNavItem[] = [ - { href: '/dashboard', label: 'Dashboard', icon: 'home' }, + { href: '/home', label: 'Home', icon: 'home' }, + { href: '/dashboard', label: 'Dashboard', icon: 'grid' }, { href: '/credits', label: 'Credits', icon: 'creditCard' }, { href: '/gifts', label: 'Geschenke', icon: 'gift' }, { href: '/api-keys', label: 'API Keys', icon: 'key' }, @@ -215,7 +216,7 @@ items={navItems} currentPath={$page.url.pathname} appName="ManaCore" - homeRoute="/dashboard" + homeRoute="/home" onLogout={handleSignOut} onToggleTheme={handleToggleTheme} {isDark} diff --git a/apps/manacore/apps/web/src/routes/(app)/home/+page.svelte b/apps/manacore/apps/web/src/routes/(app)/home/+page.svelte new file mode 100644 index 000000000..24a9f03bf --- /dev/null +++ b/apps/manacore/apps/web/src/routes/(app)/home/+page.svelte @@ -0,0 +1,504 @@ + + +
+ +
+
+

+ {greeting}, {userName} +

+

+ {#if currentLocale === 'en'} + Your Mana ecosystem — {totalApps} apps, {liveApps} live + {:else} + Dein Mana-Ökosystem — {totalApps} Apps, {liveApps} live + {/if} +

+
+ +
+ + + {#each categories as category} +
+
+ {category.icon} +
+

+ {currentLocale === 'en' ? category.titleEn : category.titleDe} +

+

+ {currentLocale === 'en' ? category.descEn : category.descDe} +

+
+
+ +
+ {#each category.apps as app} + + {/each} +
+
+ {/each} + + +
+ {currentLocale === 'en' ? 'Status' : 'Status'}: + {#each Object.entries(statusLabels) as [status, label]} + + + {label} + + {/each} +
+
+ + diff --git a/apps/manacore/apps/web/src/routes/+page.svelte b/apps/manacore/apps/web/src/routes/+page.svelte index c4057328b..108a8419c 100644 --- a/apps/manacore/apps/web/src/routes/+page.svelte +++ b/apps/manacore/apps/web/src/routes/+page.svelte @@ -7,7 +7,7 @@ if (!data.session) { goto('/login'); } else { - goto('/dashboard'); + goto('/home'); } });