import type { Metadata } from "next" import { META_THEME_COLORS, siteConfig } from "@/lib/config" import { fontVariables } from "@/lib/fonts" import { cn } from "@/lib/utils" import { LayoutProvider } from "@/hooks/use-layout" import { ActiveThemeProvider } from "@/components/active-theme" import { Analytics } from "@/components/analytics" import { TailwindIndicator } from "@/components/tailwind-indicator" import { ThemeProvider } from "@/components/theme-provider" import { Toaster } from "@/registry/new-york-v4/ui/sonner" import "@/styles/globals.css" export const metadata: Metadata = { title: { default: siteConfig.name, template: `%s - ${siteConfig.name}`, }, metadataBase: new URL(process.env.NEXT_PUBLIC_APP_URL!), description: siteConfig.description, keywords: ["Next.js", "React", "Tailwind CSS", "Components", "shadcn"], authors: [ { name: "shadcn", url: "https://shadcn.com", }, ], creator: "shadcn", openGraph: { type: "website", locale: "en_US", url: process.env.NEXT_PUBLIC_APP_URL!, title: siteConfig.name, description: siteConfig.description, siteName: siteConfig.name, images: [ { url: `${process.env.NEXT_PUBLIC_APP_URL}/opengraph-image.png`, width: 1200, height: 630, alt: siteConfig.name, }, ], }, twitter: { card: "summary_large_image", title: siteConfig.name, description: siteConfig.description, images: [`${process.env.NEXT_PUBLIC_APP_URL}/opengraph-image.png`], creator: "@shadcn", }, icons: { icon: "/favicon.ico", shortcut: "/favicon-16x16.png", apple: "/apple-touch-icon.png", }, manifest: `${siteConfig.url}/site.webmanifest`, } export default function RootLayout({ children, }: Readonly<{ children: React.ReactNode }>) { return (