relative imports

This commit is contained in:
2024-06-29 16:13:01 +02:00
parent 0609dac551
commit 196c388261
+11 -7
View File
@@ -1,15 +1,19 @@
import {DM_Sans, Space_Mono} from 'next/font/google' import { ReactNode } from 'react';
import { cn } from '@/lib/utils' import { DM_Sans, Space_Mono } from 'next/font/google';
import './globals.css' import { cn } from '@/lib/utils';
import './globals.css';
const fontHeading = DM_Sans({ const fontHeading = DM_Sans({
subsets: ['latin'], subsets: ['latin'],
display: 'swap', display: 'swap',
variable: '--font-heading', variable: '--font-heading',
}) });
type LayoutProps = {
children: ReactNode;
};
export default function Layout({ children }) { export default function Layout({ children }: LayoutProps) {
return ( return (
<html lang="en"> <html lang="en">
<body <body
@@ -21,5 +25,5 @@ export default function Layout({ children }) {
{children} {children}
</body> </body>
</html> </html>
) );
} }