diff --git a/app/autobuyer/page.tsx b/app/autobuyer/page.tsx new file mode 100644 index 0000000..5124938 --- /dev/null +++ b/app/autobuyer/page.tsx @@ -0,0 +1,12 @@ +export default function AutoBuyer() { + return ( +
+
+

AutoBuyer

+
+ Coming soon +
+
+
+ ); +} diff --git a/app/autorequester/page.tsx b/app/autorequester/page.tsx new file mode 100644 index 0000000..85019b1 --- /dev/null +++ b/app/autorequester/page.tsx @@ -0,0 +1,12 @@ +export default function AutoRequester() { + return ( +
+
+

AutoRequester

+
+ Coming soon +
+
+
+ ); +} diff --git a/app/components/Sidebar.tsx b/app/components/Sidebar.tsx new file mode 100644 index 0000000..71cb576 --- /dev/null +++ b/app/components/Sidebar.tsx @@ -0,0 +1,100 @@ +'use client'; + +import Link from 'next/link'; +import { usePathname } from 'next/navigation'; + +const NAV_ITEMS = [ + { + label: 'AutoTrader', + href: '/', + icon: ( + + + + ), + }, + { + label: 'AutoBuyer', + href: '/autobuyer', + icon: ( + + + + + + ), + }, + { + label: 'AutoRequester', + href: '/autorequester', + icon: ( + + + + + + + ), + }, +]; + +export default function Sidebar() { + const pathname = usePathname(); + + return ( + <> + {/* Desktop sidebar */} + + + {/* Mobile bottom bar */} + + + ); +} diff --git a/app/layout.tsx b/app/layout.tsx index 1d11acd..8e09167 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,5 +1,6 @@ import type { Metadata } from "next"; import "./globals.css"; +import Sidebar from "./components/Sidebar"; export const metadata: Metadata = { title: "AutoTrader", @@ -13,7 +14,10 @@ export default function RootLayout({ }>) { return ( - {children} + + +
{children}
+ ); }