update public web

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-02-06 22:26:31 +01:00
parent 473810984c
commit 41ca38c841
11 changed files with 523 additions and 367 deletions

View File

@@ -3,6 +3,7 @@ import { cn } from '@/utils/cn';
import '@/styles/globals.css';
import type { Metadata } from 'next';
import { Bricolage_Grotesque } from 'next/font/google';
import Script from 'next/script';
import { defaultMeta } from './meta';
@@ -14,6 +15,12 @@ export const metadata: Metadata = {
},
};
const font = Bricolage_Grotesque({
display: 'swap',
subsets: ['latin'],
weights: [400, 700],
});
export default async function RootLayout({
children,
}: {
@@ -21,7 +28,12 @@ export default async function RootLayout({
}) {
return (
<html lang="en" className="light">
<body className={cn('min-h-screen font-sans antialiased grainy')}>
<body
className={cn(
'min-h-screen antialiased grainy text-slate-600',
font.className
)}
>
{children}
</body>
<Script