File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import type { Metadata } from "next" ;
2- import { Inter } from "next/font/google" ;
2+ import { Geist , Geist_Mono } from "next/font/google" ;
33import "./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
715export 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
1220export 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}
You can’t perform that action at this time.
0 commit comments