11import type { Metadata } from "next" ;
2- import { Syne , Sora , Space_Mono } from "next/font/google" ;
32import localFont from "next/font/local" ;
43import "./globals.css" ;
54import RootContent from "@/components/layout/RootContent" ;
@@ -10,96 +9,90 @@ import { LanguageProvider } from "@/context/LanguageContext";
109import CommandPalette from "@/components/features/CommandPalette" ;
1110import Telemetry from "@/components/Telemetry" ;
1211
13- const syne = Syne ( {
14- subsets : [ "latin" ] ,
15- weight : [ "500" , "600" , "700" , "800" ] ,
16- variable : "--font-syne" ,
17- display : "swap" ,
18- } ) ;
19-
20- const sora = Sora ( {
21- subsets : [ "latin" ] ,
22- variable : "--font-sora" ,
23- display : "swap" ,
24- } ) ;
25-
26- const spaceMono = Space_Mono ( {
27- weight : [ "400" , "700" ] ,
28- subsets : [ "latin" ] ,
29- variable : "--font-space-mono" ,
30- display : "swap" ,
12+ const monocraft = localFont ( {
13+ src : [
14+ { path : "../../public/fonts/Monocraft/Monocraft-Light.ttf" , weight : "300" , style : "normal" } ,
15+ { path : "../../public/fonts/Monocraft/Monocraft.ttf" , weight : "400" , style : "normal" } ,
16+ { path : "../../public/fonts/Monocraft/Monocraft-Italic.ttf" , weight : "400" , style : "italic" } ,
17+ { path : "../../public/fonts/Monocraft/Monocraft-SemiBold.ttf" , weight : "600" , style : "normal" } ,
18+ { path : "../../public/fonts/Monocraft/Monocraft-Bold.ttf" , weight : "700" , style : "normal" } ,
19+ { path : "../../public/fonts/Monocraft/Monocraft-Bold-Italic.ttf" , weight : "700" , style : "italic" } ,
20+ { path : "../../public/fonts/Monocraft/Monocraft-Black.ttf" , weight : "900" , style : "normal" } ,
21+ ] ,
22+ variable : "--font-monocraft" ,
23+ display : "swap" ,
3124} ) ;
3225
3326const greenEnergy = localFont ( {
34- src : "../../public/fonts/Green_Energy.ttf" ,
35- variable : "--font-green-energy" ,
36- display : "swap" ,
27+ src : "../../public/fonts/Green_Energy.ttf" ,
28+ variable : "--font-green-energy" ,
29+ display : "swap" ,
3730} ) ;
3831
3932export const metadata : Metadata = {
40- title : "Arka | Creative Full Stack Developer" ,
41- description : "Creative Developer specializing in building premium digital experiences, modern web applications, and immersive user interfaces." ,
42- applicationName : "Arka Portfolio" ,
43- authors : [ { name : "Arka" , url : "https://arka-ui.github.io/portfolio/" } ] ,
44- keywords : [ "Arka" , "Portfolio" , "Full Stack Developer" , "Web Developer" , "React" , "Next.js" , "Creative Developer" , "UI/UX Design" ] ,
45- creator : "Arka" ,
46- publisher : "Arka" ,
47- metadataBase : new URL ( "https://arka-ui.github.io" ) ,
48- openGraph : {
4933 title : "Arka | Creative Full Stack Developer" ,
5034 description : "Creative Developer specializing in building premium digital experiences, modern web applications, and immersive user interfaces." ,
51- url : "https://arka-ui.github.io/portfolio/" ,
52- siteName : "Arka Portfolio" ,
53- locale : "en_US" ,
54- type : "website" ,
55- images : [
56- {
57- url : "/og-image.jpg" ,
58- width : 1200 ,
59- height : 630 ,
60- alt : "Arka Portfolio Preview" ,
61- } ,
62- ] ,
63- } ,
64- twitter : {
65- card : "summary_large_image" ,
66- title : "Arka | Creative Full Stack Developer" ,
67- description : "Check out my portfolio featuring my latest full stack web projects." ,
68- creator : "@arka_dev" ,
69- images : [ "/og-image.jpg" ] ,
70- } ,
71- robots : {
72- index : true ,
73- follow : true ,
74- googleBot : {
75- index : true ,
76- follow : true ,
77- "max-video-preview" : - 1 ,
78- "max-image-preview" : "large" ,
79- "max-snippet" : - 1 ,
35+ applicationName : "Arka Portfolio" ,
36+ authors : [ { name : "Arka" , url : "https://arka-ui.github.io/portfolio/" } ] ,
37+ keywords : [ "Arka" , "Portfolio" , "Full Stack Developer" , "Web Developer" , "React" , "Next.js" , "Creative Developer" , "UI/UX Design" ] ,
38+ creator : "Arka" ,
39+ publisher : "Arka" ,
40+ metadataBase : new URL ( "https://arka-ui.github.io" ) ,
41+ openGraph : {
42+ title : "Arka | Creative Full Stack Developer" ,
43+ description : "Creative Developer specializing in building premium digital experiences, modern web applications, and immersive user interfaces." ,
44+ url : "https://arka-ui.github.io/portfolio/" ,
45+ siteName : "Arka Portfolio" ,
46+ locale : "en_US" ,
47+ type : "website" ,
48+ images : [
49+ {
50+ url : "/og-image.jpg" ,
51+ width : 1200 ,
52+ height : 630 ,
53+ alt : "Arka Portfolio Preview" ,
54+ } ,
55+ ] ,
56+ } ,
57+ twitter : {
58+ card : "summary_large_image" ,
59+ title : "Arka | Creative Full Stack Developer" ,
60+ description : "Check out my portfolio featuring my latest full stack web projects." ,
61+ creator : "@arka_dev" ,
62+ images : [ "/og-image.jpg" ] ,
63+ } ,
64+ robots : {
65+ index : true ,
66+ follow : true ,
67+ googleBot : {
68+ index : true ,
69+ follow : true ,
70+ "max-video-preview" : - 1 ,
71+ "max-image-preview" : "large" ,
72+ "max-snippet" : - 1 ,
73+ } ,
8074 } ,
81- } ,
8275} ;
8376
8477export default function RootLayout ( {
85- children,
78+ children,
8679} : Readonly < {
87- children : React . ReactNode ;
80+ children : React . ReactNode ;
8881} > ) {
89- return (
90- < html lang = "en" className = "scroll-smooth" >
91- < body className = { `${ sora . variable } ${ syne . variable } ${ spaceMono . variable } ${ greenEnergy . variable } antialiased bg-background text-foreground overflow-x-hidden grain` } >
92- < WarpProvider >
93- < LanguageProvider >
94- < BlueprintProvider >
95- < ScrollManager />
96- < CommandPalette />
97- < Telemetry />
98- < RootContent > { children } </ RootContent >
99- </ BlueprintProvider >
100- </ LanguageProvider >
101- </ WarpProvider >
102- </ body >
103- </ html >
104- ) ;
82+ return (
83+ < html lang = "en" className = "scroll-smooth" >
84+ < body className = { `${ monocraft . variable } ${ greenEnergy . variable } antialiased bg-background text-foreground overflow-x-hidden grain` } >
85+ < WarpProvider >
86+ < LanguageProvider >
87+ < BlueprintProvider >
88+ < ScrollManager />
89+ < CommandPalette />
90+ < Telemetry />
91+ < RootContent > { children } </ RootContent >
92+ </ BlueprintProvider >
93+ </ LanguageProvider >
94+ </ WarpProvider >
95+ </ body >
96+ </ html >
97+ ) ;
10598}
0 commit comments