init: ui bootstrapping nextjs

This commit is contained in:
Johannes Kirschbauer
2023-08-05 11:42:48 +02:00
parent 9fc8595ce9
commit c9b19b5060
25 changed files with 14167 additions and 1 deletions

View File

@@ -0,0 +1,47 @@
import "./globals.css";
import type { Metadata } from "next";
import localFont from "next/font/local";
// const fontPath = ;
const roboto = localFont({
src: [
{
path: "../fonts/truetype/Roboto-Regular.ttf",
weight: "400",
style: "normal",
},
// {
// path: "./Roboto-Italic.woff2",
// weight: "400",
// style: "italic",
// },
// {
// path: "./Roboto-Bold.woff2",
// weight: "700",
// style: "normal",
// },
// {
// path: "./Roboto-BoldItalic.woff2",
// weight: "700",
// style: "italic",
// },
],
});
// const inter =
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en">
<body className={roboto.className}>{children}</body>
</html>
);
}