44 lines
1.1 KiB
TypeScript
44 lines
1.1 KiB
TypeScript
import type React from "react"
|
|
import type { Metadata } from "next"
|
|
import { Geist, Geist_Mono } from "next/font/google"
|
|
import { Analytics } from "@vercel/analytics/next"
|
|
import { Toaster } from "../components/ui/sonner"
|
|
import "./globals.css"
|
|
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
})
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
})
|
|
|
|
export const metadata: Metadata = {
|
|
title: "dokindthings.fund",
|
|
description: "Community allocated streams for acts of kindness",
|
|
generator: "v0.app",
|
|
icons: {
|
|
icon: "data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>💚</text></svg>",
|
|
},
|
|
}
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode
|
|
}>) {
|
|
return (
|
|
<html lang="en" className="dark">
|
|
<body
|
|
className={`${geistSans.variable} ${geistMono.variable} antialiased min-h-screen bg-background text-foreground`}
|
|
>
|
|
{children}
|
|
<Analytics />
|
|
<Toaster />
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|