export const dynamic = "force-static"; import { Toaster } from "@/components/ui/sonner"; import { RootProvider } from "fumadocs-ui/provider"; import type { Metadata } from "next"; import { Poppins } from "next/font/google"; import { NuqsAdapter } from "nuqs/adapters/next/app"; import type { ReactNode } from "react"; import "./global.css"; const poppins = Poppins({ subsets: ["latin"], weight: ["400", "500", "600", "700", "800"], }); const ogImage = "https://api.screenshothis.com/v1/screenshots/take?api_key=ss_live_jRNSxQeqoZAfIZlqGOmzEAOlValCYtNIAlcPlmEbyGjvECgQHKCOJpMBTFTOjRAQ&url=https%3A%2F%2Fbetter-t-stack.amanv.dev%2F&width=1200&height=630&block_ads=true&block_cookie_banners=true&block_trackers=true&device_scale_factor=0.75&prefers_color_scheme=dark&is_cached=true"; export const metadata: Metadata = { title: "Better-T Stack", description: "A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations", keywords: [ "TypeScript", "project scaffolding", "biolerplate", "type safety", "Drizzle", "Prisma", "hono", "elysia", "turborepo", "trpc", "orpc", "turso", "neon", "Better-Auth", "convex", "monorepo", "Better-T Stack", "create-better-t-stack", ], authors: [{ name: "Better-T Stack Team" }], creator: "Better-T Stack", publisher: "Better-T Stack", formatDetection: { email: false, telephone: false, }, metadataBase: new URL("https://better-t-stack.amanv.dev"), alternates: { canonical: "/", }, openGraph: { title: "Better-T Stack", description: "A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations", url: "https://better-t-stack.amanv.dev", siteName: "Better-T Stack", images: [ { url: ogImage, width: 1200, height: 630, alt: "Better-T Stack", }, ], locale: "en_US", type: "website", }, twitter: { card: "summary_large_image", title: "Better-T Stack", description: "A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations", images: [ogImage], }, robots: { index: true, follow: true, googleBot: { index: true, follow: true, "max-image-preview": "large", "max-video-preview": -1, "max-snippet": -1, }, }, category: "Technology", icons: { icon: "/logo.svg", }, }; export default function Layout({ children }: { children: ReactNode }) { return (