33 lines
697 B
TypeScript
33 lines
697 B
TypeScript
// app/layout.tsx
|
|
|
|
import type {Metadata} from "next";
|
|
import "./globals.css";
|
|
|
|
import {Roboto} from 'next/font/google'
|
|
import React from "react";
|
|
|
|
const roboto = Roboto({
|
|
variable: '--font-roboto',
|
|
weight: '400',
|
|
subsets: ['latin'],
|
|
})
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Dennis's Portfolio",
|
|
description: "A portfolio website showcasing my work and skills.",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="en">
|
|
<body className={roboto.variable}>
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
} |