@@ -30,6 +30,56 @@ globalCss({
3030 pre : {
3131 borderRadius : '10px' ,
3232 } ,
33+ fontFaces : [
34+ {
35+ fontFamily : 'Pretendard' ,
36+ src :
'url(https://cdn.jsdelivr.net/gh/orioncactus/[email protected] /packages/pretendard/dist/web/static/woff2/Pretendard-ExtraBold.woff2) format("woff2")' , 37+ fontWeight : 800 ,
38+ fontStyle : 'normal' ,
39+ } ,
40+ {
41+ fontFamily : 'Pretendard' ,
42+ src :
'url(https://cdn.jsdelivr.net/gh/orioncactus/[email protected] /packages/pretendard/dist/web/static/woff2/Pretendard-Bold.woff2) format("woff2")' , 43+ fontWeight : 700 ,
44+ fontStyle : 'normal' ,
45+ } ,
46+ {
47+ fontFamily : 'Pretendard' ,
48+ src :
'url(https://cdn.jsdelivr.net/gh/orioncactus/[email protected] /packages/pretendard/dist/web/static/woff2/Pretendard-SemiBold.woff2) format("woff2")' , 49+ fontWeight : 600 ,
50+ fontStyle : 'normal' ,
51+ } ,
52+ {
53+ fontFamily : 'Pretendard' ,
54+ src :
'url(https://cdn.jsdelivr.net/gh/orioncactus/[email protected] /packages/pretendard/dist/web/static/woff2/Pretendard-Medium.woff2) format("woff2")' , 55+ fontWeight : 500 ,
56+ fontStyle : 'normal' ,
57+ } ,
58+ {
59+ fontFamily : 'Pretendard' ,
60+ src :
'url(https://cdn.jsdelivr.net/gh/orioncactus/[email protected] /packages/pretendard/dist/web/static/woff2/Pretendard-Regular.woff2) format("woff2")' , 61+ fontWeight : 400 ,
62+ fontStyle : 'normal' ,
63+ } ,
64+ {
65+ fontFamily : 'Pretendard' ,
66+ src :
'url(https://cdn.jsdelivr.net/gh/orioncactus/[email protected] /packages/pretendard/dist/web/static/woff2/Pretendard-Light.woff2) format("woff2")' , 67+ fontWeight : 300 ,
68+ fontStyle : 'normal' ,
69+ } ,
70+ {
71+ fontFamily : 'Pretendard' ,
72+ src :
'url(https://cdn.jsdelivr.net/gh/orioncactus/[email protected] /packages/pretendard/dist/web/static/woff2/Pretendard-Thin.woff2) format("woff2")' , 73+ fontWeight : 100 ,
74+ fontStyle : 'normal' ,
75+ } ,
76+ {
77+ fontFamily : 'D2Coding' ,
78+ src :
'url(https://cdn.jsdelivr.net/gh/projectnoonnu/[email protected] /D2Coding.woff) format("woff")' , 79+ fontWeight : 400 ,
80+ fontDisplay : 'swap' ,
81+ } ,
82+ ] ,
3383 code : {
3484 fontFamily : 'D2Coding' ,
3585 fontSize : [ '13px' , '15px' ] ,
@@ -57,12 +107,12 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
57107})(window,document,'script','dataLayer','GTM-PSRKC4QZ')` ,
58108 } }
59109 />
60- < ThemeScript auto />
61- < meta content = "width=device-width, initial-scale=1.0" name = "viewport" />
62- < link href = "/favicon.ico" rel = "shortcut icon" />
63110 < link
64- href = "https://cdn.jsdelivr.net/gh/joungkyun/font-d2coding/d2coding.css"
65- rel = "stylesheet"
111+ as = "font"
112+ crossOrigin = "anonymous"
113+ href = "https://cdn.jsdelivr.net/gh/projectnoonnu/[email protected] /D2Coding.woff" 114+ rel = "preload"
115+ type = "font/woff"
66116 />
67117 { [
68118 'ExtraBold' ,
@@ -82,10 +132,9 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
82132 type = "font/woff2"
83133 />
84134 ) ) }
85- < link
86- href = "https://cdn.jsdelivr.net/gh/orioncactus/[email protected] /dist/web/static/pretendard.min.css" 87- rel = "stylesheet"
88- />
135+ < ThemeScript auto />
136+ < meta content = "width=device-width, initial-scale=1.0" name = "viewport" />
137+ < link href = "/favicon.ico" rel = "shortcut icon" />
89138 </ head >
90139 < body
91140 className = { css ( {
0 commit comments