From 936a7a2d96194824fef0e667dcba35c20d1e61f2 Mon Sep 17 00:00:00 2001 From: arsam Date: Fri, 18 Sep 2026 23:17:05 +0330 Subject: [PATCH] Import source: vault/app/layout Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality. --- vault/app/layout.tsx | 63 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 vault/app/layout.tsx diff --git a/vault/app/layout.tsx b/vault/app/layout.tsx new file mode 100644 index 0000000..e965c09 --- /dev/null +++ b/vault/app/layout.tsx @@ -0,0 +1,63 @@ +import type { Metadata } from "next"; +import localFont from "next/font/local"; +import "./globals.css"; +import { ThemeProvider } from "@/components/theme-provider"; +import { Header } from "@/components/header"; +import { TooltipProvider } from "@/components/ui/tooltip"; +import { Toaster } from "@/components/ui/sonner"; +import { Footer } from "@/components/footer"; + +const geistSans = localFont({ + src: [ + { path: "../public/fonts/geist-400.woff2", weight: "400", style: "normal" }, + { path: "../public/fonts/geist-400-italic.woff2", weight: "400", style: "italic" }, + { path: "../public/fonts/geist-500.woff2", weight: "500", style: "normal" }, + { path: "../public/fonts/geist-700.woff2", weight: "700", style: "normal" }, + { path: "../public/fonts/geist-900.woff2", weight: "900", style: "normal" }, + ], + variable: "--font-geist-sans", +}); + +const geistMono = localFont({ + src: [ + { path: "../public/fonts/geist-mono-400.woff2", weight: "400", style: "normal" }, + { path: "../public/fonts/geist-mono-500.woff2", weight: "500", style: "normal" }, + { path: "../public/fonts/geist-mono-700.woff2", weight: "700", style: "normal" }, + ], + variable: "--font-geist-mono", +}); + +export const metadata: Metadata = { + title: "CVault — Private Code Snippets", + description: "A private alternative to GitHub Gist. Share code via secret links or password protection.", +}; + +export default function RootLayout({ + children, +}: Readonly<{ + children: React.ReactNode; +}>) { + return ( + + + + +
+
{children}
+