|
Last change
on this file since 65f7b64 was 65f7b64, checked in by stefansaveski <stefansaveski19@…>, 12 months ago |
|
Initial commit from Create Next App
|
-
Property mode
set to
100644
|
|
File size:
689 bytes
|
| Line | |
|---|
| 1 | import type { Metadata } from "next";
|
|---|
| 2 | import { Geist, Geist_Mono } from "next/font/google";
|
|---|
| 3 | import "./globals.css";
|
|---|
| 4 |
|
|---|
| 5 | const geistSans = Geist({
|
|---|
| 6 | variable: "--font-geist-sans",
|
|---|
| 7 | subsets: ["latin"],
|
|---|
| 8 | });
|
|---|
| 9 |
|
|---|
| 10 | const geistMono = Geist_Mono({
|
|---|
| 11 | variable: "--font-geist-mono",
|
|---|
| 12 | subsets: ["latin"],
|
|---|
| 13 | });
|
|---|
| 14 |
|
|---|
| 15 | export const metadata: Metadata = {
|
|---|
| 16 | title: "Create Next App",
|
|---|
| 17 | description: "Generated by create next app",
|
|---|
| 18 | };
|
|---|
| 19 |
|
|---|
| 20 | export default function RootLayout({
|
|---|
| 21 | children,
|
|---|
| 22 | }: Readonly<{
|
|---|
| 23 | children: React.ReactNode;
|
|---|
| 24 | }>) {
|
|---|
| 25 | return (
|
|---|
| 26 | <html lang="en">
|
|---|
| 27 | <body
|
|---|
| 28 | className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
|---|
| 29 | >
|
|---|
| 30 | {children}
|
|---|
| 31 | </body>
|
|---|
| 32 | </html>
|
|---|
| 33 | );
|
|---|
| 34 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.