From 911704cff2c559f7644a586b133a82fafd187d5c Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Sat, 21 Mar 2026 20:12:01 +0100 Subject: [PATCH] feat: port website header with mega-menu, add showcase bg to hero, fix carousel container size --- app/layout-content.tsx | 27 +- app/page.tsx | 9 +- components/marketing/FeatureSections.tsx | 23 +- components/marketing/Header.tsx | 309 +++++++++++++++++++++++ components/ui/button-website.tsx | 56 ++++ components/ui/menu-toggle-icon.tsx | 54 ++++ components/ui/navigation-menu.tsx | 128 ++++++++++ package-lock.json | 190 +++++++++++++- package.json | 4 + 9 files changed, 761 insertions(+), 39 deletions(-) create mode 100644 components/marketing/Header.tsx create mode 100644 components/ui/button-website.tsx create mode 100644 components/ui/menu-toggle-icon.tsx create mode 100644 components/ui/navigation-menu.tsx diff --git a/app/layout-content.tsx b/app/layout-content.tsx index 5ac3317..4e644a0 100644 --- a/app/layout-content.tsx +++ b/app/layout-content.tsx @@ -3,6 +3,7 @@ import { OfflineBanner } from '@/components/OfflineBanner' import { Footer } from '@/components/Footer' import { Header, type CipheraApp } from '@ciphera-net/ui' +import { Header as MarketingHeader } from '@/components/marketing/Header' import NotificationCenter from '@/components/notifications/NotificationCenter' import { useAuth } from '@/lib/auth/context' import { useOnlineStatus } from '@/lib/hooks/useOnlineStatus' @@ -144,31 +145,11 @@ function LayoutInner({ children }: { children: React.ReactNode }) { ) } - // Public/marketing: floating header + footer + // Public/marketing: sticky header + footer return (
-
- Features - - } - /> -
+ +
{children}