Fix font issue

This commit is contained in:
Mikkel Svartveit 2023-12-20 18:25:51 +01:00
parent 86844ef93d
commit 61d9050df2

View file

@ -16,21 +16,24 @@ const fullTitle = `${title ? title + " " : ""}Mikkel Svartveit`;
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8" />
<link rel="icon" href="/favicon.png" />
<meta name="viewport" content="width=device-width" />
<title>{fullTitle}</title> <title>{fullTitle}</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<meta <meta
name="description" name="description"
content={description ?? content={description ??
"Hi, I'm Mikkel! I am a Computer Science student from Norway and this is my playground. Here you will find some programming projects, and a small collection of photos I'm proud of."} "Hi, I'm Mikkel! I am a Computer Science student from Norway and this is my playground. Here you will find some programming projects, and a small collection of photos I'm proud of."}
/> />
<meta name="theme-color" content={themeColor ?? "#facc15"} /> <meta name="theme-color" content={themeColor ?? "#facc15"} />
<ViewTransitions fallback="none" />
<style> <link rel="icon" href="/favicon.png" />
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600&family=Source+Code+Pro&family=Source+Serif+Pro:wght@300;400;600&display=swap"); <link
</style> rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;600&family=Source+Code+Pro&family=Source+Serif+Pro:wght@300;400;600&display=swap"
/>
<ViewTransitions fallback="none" />
</head> </head>
<body class={`bg-gray-50 ${hideScrollbar ? "" : "overflow-y-scroll"}`}> <body class={`bg-gray-50 ${hideScrollbar ? "" : "overflow-y-scroll"}`}>