Files
valgo/app/layout.tsx
T
2024-06-29 16:13:01 +02:00

30 lines
604 B
TypeScript

import { ReactNode } from 'react';
import { DM_Sans, Space_Mono } from 'next/font/google';
import { cn } from '@/lib/utils';
import './globals.css';
const fontHeading = DM_Sans({
subsets: ['latin'],
display: 'swap',
variable: '--font-heading',
});
type LayoutProps = {
children: ReactNode;
};
export default function Layout({ children }: LayoutProps) {
return (
<html lang="en">
<body
className={cn(
'antialiased',
fontHeading.variable
)}
>
{children}
</body>
</html>
);
}