From 426d148a2f30a0d012046e3ff6ff7fad5a4da713 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Tue, 5 Aug 2025 22:47:25 +0000 Subject: [PATCH] Create main layout component with AeThex header and navigation cgen-8c30b3cc07674fe0ad93a3103085e8f6 --- client/components/Layout.tsx | 131 +++++++++++++++++++++++++++++++++++ 1 file changed, 131 insertions(+) create mode 100644 client/components/Layout.tsx diff --git a/client/components/Layout.tsx b/client/components/Layout.tsx new file mode 100644 index 00000000..dad68eda --- /dev/null +++ b/client/components/Layout.tsx @@ -0,0 +1,131 @@ +import { Link, useLocation } from "react-router-dom"; +import { Button } from "@/components/ui/button"; +import { cn } from "@/lib/utils"; + +interface LayoutProps { + children: React.ReactNode; +} + +export default function Layout({ children }: LayoutProps) { + const location = useLocation(); + + const navigation = [ + { name: "Home", href: "/" }, + { name: "Get Started", href: "/onboarding" }, + { name: "About", href: "/about" }, + { name: "Contact", href: "/contact" }, + ]; + + return ( +
+
+
+ {/* Logo */} + +
+
+ Ae +
+ AeThex +
+ + + {/* Navigation */} + + + {/* CTA */} +
+ + +
+
+
+ +
{children}
+ + +
+ ); +}