Files
jsdoc-cheatsheet/app/layout.tsx
v0 78b6b47075 fix: resolve deployment error with dark theme configuration
Update layout file to apply dark theme and configure fonts.

Co-authored-by: Luke Hagar <5702154+LukeHagar@users.noreply.github.com>
2025-09-16 19:30:20 +00:00

29 lines
798 B
TypeScript

import type React from "react"
import type { Metadata } from "next"
import { GeistSans } from "geist/font/sans"
import { GeistMono } from "geist/font/mono"
import { Analytics } from "@vercel/analytics/next"
import { Suspense } from "react"
import "./globals.css"
export const metadata: Metadata = {
title: "JSDoc Cheatsheet",
description: "Complete reference for JavaScript documentation with JSDoc",
generator: "v0.app",
}
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode
}>) {
return (
<html lang="en" className={`dark ${GeistSans.variable} ${GeistMono.variable} antialiased`}>
<body className="font-sans">
<Suspense fallback={<div>Loading...</div>}>{children}</Suspense>
<Analytics />
</body>
</html>
)
}