import { criticalCSS } from "@/lib/critical-css" import "@/globals.css" import { ThemeProvider } from "./components/layouts/ThemeProvider" import { GlobalProviderLayout } from "@/components/layouts/GlobalProviderLayout" import { SiteFooter } from "@/components/site-footer" import { SiteHeader } from "@/components/site-header" import { TailwindIndicator } from "@/components/tailwind-indicator" import { siteConfig } from "@/config/site" import { cn } from "@/lib/utils" import { Metadata, Viewport } from "next" import { DM_Sans, Space_Grotesk } from "next/font/google" import Script from "next/script" const display = Space_Grotesk({ subsets: ["latin"], variable: "--font-display", weight: ["400", "500", "600", "700"], display: "swap", preload: true, }) const sans = DM_Sans({ subsets: ["latin"], variable: "--font-sans", weight: ["400", "500", "700"], display: "swap", preload: true, }) export const viewport: Viewport = { themeColor: [ { media: "(prefers-color-scheme: light)", color: "white" }, { media: "(prefers-color-scheme: dark)", color: "black" }, ], } export const metadata: Metadata = { title: { default: siteConfig.name, template: "%s | PSE", }, metadataBase: new URL("https://pse.dev"), description: siteConfig.description, keywords: [ "Privacy Stewards of Ethereum", "Zero Knowledge Proofs", "ZK Proofs", "Cryptography", "Ethereum", "Blockchain", "Privacy", "Scaling", "Open Source", "Research", "Development", "zkEVM", "Rollups", "Account Abstraction", "Fully Homomorphic Encryption", "Multi-Party Computation", "Programmable Cryptography", "Ethereum Foundation", "Cryptographic Research", "Privacy Tools", "Scaling Solutions", "Cryptographic Primitives", "Zero Knowledge", "ZK Technology", "Cryptographic Infrastructure", ], authors: [ { name: "Privacy Stewards of Ethereum", url: "https://pse.dev", }, ], creator: "Privacy Stewards of Ethereum", openGraph: { images: [ { url: "/share-image.png", width: 1200, height: 630, }, ], }, alternates: { types: { "application/rss+xml": [ { url: "/api/rss", title: "RSS Feed for Privacy Stewards of Ethereum", }, ], }, }, icons: { icon: "/favicon.svg", }, } interface RootLayoutProps { children: React.ReactNode } export default function RootLayout({ children }: RootLayoutProps) { return ( {/* Inline critical CSS for immediate render */}