diff --git a/docs/app/_page.tsx b/docs/app/_page.tsx deleted file mode 100644 index cf1137ae..00000000 --- a/docs/app/_page.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import Section from "@/components/landing/section"; -import Hero from "@/components/landing/hero"; -import Features from "@/components/features"; -export default function HomePage() { - return ( -
-
- - -
-
- ); -} diff --git a/docs/app/layout.tsx b/docs/app/layout.tsx index 6d6de987..e6e6fdef 100644 --- a/docs/app/layout.tsx +++ b/docs/app/layout.tsx @@ -19,7 +19,7 @@ export const metadata = createMetadata({ metadataBase: baseUrl, }); -const hideNavbar = true + export default function Layout({ children }: { children: ReactNode }) { return ( @@ -28,19 +28,10 @@ export default function Layout({ children }: { children: ReactNode }) { -
- - {/* Radial gradient for the container to give a faded look */} -
-
-
- - { - hideNavbar ? null : - } - {children} - -
+ + + {children} +
diff --git a/docs/app/page.tsx b/docs/app/page.tsx index 4901d702..cf1137ae 100644 --- a/docs/app/page.tsx +++ b/docs/app/page.tsx @@ -1,21 +1,20 @@ +import Section from "@/components/landing/section"; import Hero from "@/components/landing/hero"; -import { Button } from "@/components/ui/button"; -import { BookOpen } from "lucide-react"; -import Image from "next/image"; -import Link from "next/link"; +import Features from "@/components/features"; +export default function HomePage() { + return ( +
+
-
-
- - - - - -
-
- - ); + > + + +
+
+ ); } diff --git a/docs/components/nav-bar.tsx b/docs/components/nav-bar.tsx index 53252055..b2f2412f 100644 --- a/docs/components/nav-bar.tsx +++ b/docs/components/nav-bar.tsx @@ -5,6 +5,9 @@ import { NavbarMobileBtn } from "./nav-mobile"; import { NavLink } from "./nav-link"; import { Logo } from "./logo"; + +const hideNavbar = process.env.NODE_ENV === "production" + export const Navbar = () => { return (