relative imports
This commit is contained in:
+11
-7
@@ -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>
|
||||
)
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user