Skip to content

Commit 3cb9ebd

Browse files
committed
fix build bug
1 parent 12296ff commit 3cb9ebd

1 file changed

Lines changed: 8 additions & 20 deletions

File tree

src/app/layout.tsx

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

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

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

2012
export default function RootLayout({
2113
children,
22-
}: Readonly<{
23-
children: React.ReactNode;
24-
}>) {
14+
}: {
15+
children: React.ReactNode
16+
}) {
2517
return (
2618
<html lang="en">
27-
<body
28-
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
29-
>
30-
{children}
31-
</body>
19+
<body className={inter.className}>{children}</body>
3220
</html>
3321
);
3422
}

0 commit comments

Comments
 (0)