Skip to content

Commit bd19bfa

Browse files
committed
Revert "fix build bug"
This reverts commit 3cb9ebd.
1 parent 3cb9ebd commit bd19bfa

1 file changed

Lines changed: 20 additions & 8 deletions

File tree

src/app/layout.tsx

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,34 @@
11
import type { Metadata } from "next";
2-
import { Inter } from "next/font/google";
2+
import { Geist, Geist_Mono } from "next/font/google";
33
import "./globals.css";
44

5-
const inter = Inter({ subsets: ["latin"] });
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+
});
614

715
export const metadata: Metadata = {
8-
title: "Attarchi Portfolio",
9-
description: "Professional portfolio showcasing full-stack development expertise",
16+
title: "Create Next App",
17+
description: "Generated by create next app",
1018
};
1119

1220
export default function RootLayout({
1321
children,
14-
}: {
15-
children: React.ReactNode
16-
}) {
22+
}: Readonly<{
23+
children: React.ReactNode;
24+
}>) {
1725
return (
1826
<html lang="en">
19-
<body className={inter.className}>{children}</body>
27+
<body
28+
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
29+
>
30+
{children}
31+
</body>
2032
</html>
2133
);
2234
}

0 commit comments

Comments
 (0)