From dec0b3d6f07fab5a0a83926a29849a7c1bd3d4bc Mon Sep 17 00:00:00 2001 From: repi Date: Mon, 1 Jan 2001 00:00:00 +0000 Subject: [PATCH] feat: add app layout with fonts and metadata --- apps/web/src/app/layout.tsx | 58 +++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 apps/web/src/app/layout.tsx diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsx new file mode 100644 index 0000000..c2bb64f --- /dev/null +++ b/apps/web/src/app/layout.tsx @@ -0,0 +1,58 @@ +import type { Metadata } from "next"; +import { Inter, JetBrains_Mono } from "next/font/google"; +import "./globals.css"; +import { Navbar } from "@/components/navbar"; +import { Footer } from "@/components/footer"; + +const inter = Inter({ + subsets: ["latin"], + variable: "--font-sans", + display: "swap", +}); + +const jetbrainsMono = JetBrains_Mono({ + subsets: ["latin"], + variable: "--font-mono", + display: "swap", +}); + +export const metadata: Metadata = { + title: "CodeBoard — Understand any codebase in 5 minutes", + description: + "Paste a GitHub URL and get interactive onboarding documentation with architecture diagrams, module breakdowns, and getting started guides. Built by Vectry AI consultancy.", + keywords: ["code analysis", "documentation", "github", "codebase", "AI", "developer tools"], + authors: [{ name: "Vectry" }], + openGraph: { + title: "CodeBoard — Understand any codebase in 5 minutes", + description: + "Paste a GitHub URL and get interactive onboarding documentation with architecture diagrams, module breakdowns, and getting started guides.", + type: "website", + }, +}; + +export default function RootLayout({ + children, +}: { + children: React.ReactNode; +}) { + return ( + + +
+
+
+ + + +
+ {children} +
+ +
+ + + ); +}