54 lines
1.2 KiB
TypeScript
54 lines
1.2 KiB
TypeScript
import type React from "react"
|
|
import type { Metadata } from "next"
|
|
import { Inter, JetBrains_Mono } from "next/font/google"
|
|
import { Analytics } from "@vercel/analytics/next"
|
|
import "./globals.css"
|
|
|
|
const inter = Inter({
|
|
subsets: ["latin"],
|
|
variable: "--font-sans",
|
|
})
|
|
const jetBrainsMono = JetBrains_Mono({
|
|
subsets: ["latin"],
|
|
variable: "--font-mono",
|
|
})
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Crypto Commons Association",
|
|
description:
|
|
"Actively promoting the development of digital common goods and infrastructure in distributed ledger technology",
|
|
generator: "v0.app",
|
|
icons: {
|
|
icon: [
|
|
{
|
|
url: "/icon-light-32x32.png",
|
|
media: "(prefers-color-scheme: light)",
|
|
},
|
|
{
|
|
url: "/icon-dark-32x32.png",
|
|
media: "(prefers-color-scheme: dark)",
|
|
},
|
|
{
|
|
url: "/icon.svg",
|
|
type: "image/svg+xml",
|
|
},
|
|
],
|
|
apple: "/apple-icon.png",
|
|
},
|
|
}
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode
|
|
}>) {
|
|
return (
|
|
<html lang="en">
|
|
<body className={`${inter.variable} ${jetBrainsMono.variable} font-sans antialiased`}>
|
|
{children}
|
|
<Analytics />
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|