feat: new public website

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-12-02 09:17:49 +01:00
parent e2536774b0
commit ac4429d6d9
206 changed files with 18415 additions and 12433 deletions

View File

@@ -0,0 +1,44 @@
import { TooltipProvider } from '@/components/ui/tooltip';
import { getRootMetadata } from '@/lib/metadata';
import { cn } from '@/lib/utils';
import { RootProvider } from 'fumadocs-ui/provider/next';
import type { Metadata, Viewport } from 'next';
import { Geist, Geist_Mono } from 'next/font/google';
import './global.css';
const font = Geist({
subsets: ['latin'],
weight: ['400', '500', '600', '700'],
});
const mono = Geist_Mono({
subsets: ['latin'],
variable: '--font-mono',
});
export const viewport: Viewport = {
width: 'device-width',
initialScale: 1,
userScalable: true,
themeColor: [
{ media: '(prefers-color-scheme: light)', color: '#fafafa' },
{ media: '(prefers-color-scheme: dark)', color: '#171717' },
],
};
export const metadata: Metadata = getRootMetadata();
export default function Layout({ children }: LayoutProps<'/'>) {
return (
<html
lang="en"
className={cn(font.className, mono.variable)}
suppressHydrationWarning
>
<body className="flex flex-col min-h-screen bg-background">
<RootProvider>
<TooltipProvider>{children}</TooltipProvider>
</RootProvider>
</body>
</html>
);
}