diff --git a/frontend/src/lib/components/ClientShell.svelte b/frontend/src/lib/components/ClientShell.svelte
index 6c88d17..ba15947 100644
--- a/frontend/src/lib/components/ClientShell.svelte
+++ b/frontend/src/lib/components/ClientShell.svelte
@@ -13,26 +13,34 @@
keywords: string;
};
- const navigation = [
- { href: '/', label: 'Overview', shortLabel: 'OV' },
+ type NavItem = {
+ href: string;
+ label: string;
+ shortLabel: string;
+ icon?: 'home';
+ };
+
+ const dashboardItem: NavItem = { href: '/', label: 'Dashboard', shortLabel: 'DB', icon: 'home' };
+ const workingDocumentItems: NavItem[] = [
{ href: '/raw-materials', label: 'Raw Materials', shortLabel: 'RM' },
{ href: '/mixes', label: 'Mix Master', shortLabel: 'MM' },
{ href: '/products', label: 'Products', shortLabel: 'PR' },
{ href: '/scenarios', label: 'Scenarios', shortLabel: 'SC' }
];
+ const navigation = [dashboardItem, ...workingDocumentItems];
const footerLinks = [
{ href: '/products', label: 'Delivered Pricing', shortLabel: 'DP' },
{ href: '/scenarios', label: 'Planning View', shortLabel: 'PV' }
];
- const primaryBottomNavigation = navigation.slice(0, 4);
+ const primaryBottomNavigation = [dashboardItem, ...workingDocumentItems.slice(0, 3)];
const searchItems: SearchItem[] = [
{
href: '/',
- label: 'Open Hunter Overview',
+ label: 'Open Dashboard',
description: 'Jump to the Hunter Premium Produce workspace summary.',
- keywords: 'hunter premium produce overview dashboard workspace'
+ keywords: 'hunter premium produce overview dashboard workspace home'
},
{
href: '/raw-materials',
@@ -92,7 +100,7 @@
}
function pageTitle(pathname: string) {
- return navigation.find((item) => matchesRoute(item.href, pathname))?.label ?? 'Overview';
+ return navigation.find((item) => matchesRoute(item.href, pathname))?.label ?? 'Dashboard';
}
function pageDescription(pathname: string) {
@@ -248,14 +256,48 @@
+
+
@@ -389,7 +431,35 @@