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 { cn } from '@/lib/utils'
import './globals.css'
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 }) {
export default function Layout({ children }: LayoutProps) {
return (
<html lang="en">
<body
@@ -21,5 +25,5 @@ export default function Layout({ children }) {
{children}
</body>
</html>
)
}
);
}