mirror of
https://github.com/shadcn-ui/taxonomy
synced 2026-05-24 01:38:28 +00:00
39 lines
899 B
TypeScript
39 lines
899 B
TypeScript
import { Inter as FontSans } from "@next/font/google"
|
|
|
|
import "@/styles/globals.css"
|
|
|
|
import { cn } from "@/lib/utils"
|
|
import { Toaster } from "@/ui/toast"
|
|
import { Help } from "@/components/help"
|
|
import { Analytics } from "@/components/analytics"
|
|
import { TailwindIndicator } from "@/components/tailwind-indicator"
|
|
|
|
const fontSans = FontSans({
|
|
subsets: ["latin"],
|
|
variable: "--font-inter",
|
|
})
|
|
|
|
interface RootLayoutProps {
|
|
children: React.ReactNode
|
|
}
|
|
|
|
export default function RootLayout({ children }: RootLayoutProps) {
|
|
return (
|
|
<html
|
|
lang="en"
|
|
className={cn(
|
|
"bg-white font-sans text-slate-900 antialiased",
|
|
fontSans.variable
|
|
)}
|
|
>
|
|
<head />
|
|
<body className="min-h-screen">
|
|
{children}
|
|
<Analytics />
|
|
<Help />
|
|
<Toaster position="bottom-right" />
|
|
<TailwindIndicator />
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|