diff --git a/src/components/Header.tsx b/src/components/Header.tsx index c0f32df..f25b7fe 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -24,8 +24,7 @@ export function Header() { if (currentPath.startsWith('/compute')) return 'Compute'; if (currentPath.startsWith('/storage')) return 'Storage'; if (currentPath.startsWith('/gpu')) return 'GPU'; - if (currentPath.startsWith('/cloud')) return 'Cloud'; - return 'Cloud'; + return 'Cloud'; }; return ( @@ -40,7 +39,14 @@ export function Header() { - {getCurrentPageName()} + {['Compute', 'Storage', 'GPU'].includes(getCurrentPageName()) ? ( + <> + Cloud {' >'} + {getCurrentPageName()} + + ) : ( + 'Cloud' + )}