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