mirror of
https://github.com/privacy-scaling-explorations/pse.dev.git
synced 2026-04-23 03:01:03 -04:00
54 lines
1.4 KiB
TypeScript
54 lines
1.4 KiB
TypeScript
import "@/styles/globals.css"
|
|
import { Metadata } from "next"
|
|
|
|
import { siteConfig } from "@/config/site"
|
|
import { fontDisplay, fontSans } from "@/lib/fonts"
|
|
import { SiteFooter } from "@/components/site-footer"
|
|
import { SiteHeader } from "@/components/site-header"
|
|
import { TailwindIndicator } from "@/components/tailwind-indicator"
|
|
|
|
// import { ThemeProvider } from "@/components/theme-provider"
|
|
|
|
export const metadata: Metadata = {
|
|
title: {
|
|
default: siteConfig.name,
|
|
template: `%s - ${siteConfig.name}`,
|
|
},
|
|
description: siteConfig.description,
|
|
themeColor: [
|
|
{ media: "(prefers-color-scheme: light)", color: "white" },
|
|
{ media: "(prefers-color-scheme: dark)", color: "black" },
|
|
],
|
|
icons: {
|
|
icon: "/favicon.svg",
|
|
shortcut: "/favicon.svg",
|
|
apple: "/apple-touch-icon.png",
|
|
},
|
|
}
|
|
|
|
interface RootLayoutProps {
|
|
children: React.ReactNode
|
|
}
|
|
|
|
export default function RootLayout({ children }: RootLayoutProps) {
|
|
return (
|
|
<>
|
|
<html
|
|
lang="en"
|
|
className={`${fontSans.variable} ${fontDisplay.variable}`}
|
|
suppressHydrationWarning
|
|
>
|
|
<head />
|
|
<body className={"min-h-screen bg-background antialiased"}>
|
|
<div className="relative flex min-h-screen flex-col">
|
|
<SiteHeader />
|
|
<div className="flex-1">{children}</div>
|
|
<SiteFooter />
|
|
</div>
|
|
<TailwindIndicator />
|
|
</body>
|
|
</html>
|
|
</>
|
|
)
|
|
}
|