initial commit
This commit is contained in:
78
src/app/layout.tsx
Normal file
78
src/app/layout.tsx
Normal file
@@ -0,0 +1,78 @@
|
||||
import type { Metadata } from 'next';
|
||||
import { Geist, Blaka } from 'next/font/google';
|
||||
import localFont from 'next/font/local';
|
||||
import './globals.css';
|
||||
|
||||
const geistSans = Geist({
|
||||
variable: '--font-geist-sans',
|
||||
subsets: ['latin'],
|
||||
});
|
||||
|
||||
const blaka = Blaka({
|
||||
subsets: ['latin'],
|
||||
variable: '--font-blaka',
|
||||
weight: '400',
|
||||
});
|
||||
|
||||
const iosevkaSlab = localFont({
|
||||
src: [
|
||||
{
|
||||
path: '../fonts/IosevkaSlabQp/IosevkaSlabQp-Regular.woff2',
|
||||
weight: '400',
|
||||
style: 'normal',
|
||||
},
|
||||
{
|
||||
path: '../fonts/IosevkaSlabQp/IosevkaSlabQp-Bold.woff2',
|
||||
weight: '700',
|
||||
style: 'normal',
|
||||
},
|
||||
{
|
||||
path: '../fonts/IosevkaSlabQp/IosevkaSlabQp-Heavy.woff2',
|
||||
weight: '900',
|
||||
style: 'normal',
|
||||
},
|
||||
],
|
||||
variable: '--font-iosevka-slab',
|
||||
});
|
||||
|
||||
const iosevkaSans = localFont({
|
||||
src: [
|
||||
{
|
||||
path: '../fonts/IosevkaSansMono/IosevkaSansMono-Regular.woff2',
|
||||
weight: '400',
|
||||
style: 'normal',
|
||||
},
|
||||
{
|
||||
path: '../fonts/IosevkaSansMono/IosevkaSansMono-Bold.woff2',
|
||||
weight: '700',
|
||||
style: 'normal',
|
||||
},
|
||||
{
|
||||
path: '../fonts/IosevkaSansMono/IosevkaSansMono-Heavy.woff2',
|
||||
weight: '900',
|
||||
style: 'normal',
|
||||
},
|
||||
],
|
||||
variable: '--font-iosevka-mono',
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Dave | DMG',
|
||||
description: 'Do not let us die in the dark night of this cold winter, Dave',
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body
|
||||
className={`${geistSans.variable} ${blaka.variable} ${iosevkaSlab.variable} ${iosevkaSlab.variable} antialiased`}
|
||||
>
|
||||
{children}
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user