-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (37 loc) · 2.05 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta property="og:title" content="Michael's Drawing Board" />
<meta property="og:description" content="Welcome to my portfolio website! Here you'll find a showcase of my designs, experiences, projects, and art!" />
<meta property="og:url" content="https://msh379.me/" />
<meta property="og:image" content="https://raw.githubusercontent.com/crystaltine/me/main/src/assets/public_thumbnail_sm.png" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="Michael's Drawing Board" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Michael's Drawing Board" />
<meta name="twitter:description" content="Welcome to my portfolio website! Here you'll find a showcase of my designs, experiences, projects, and art!" />
<meta name="twitter:image" content="https://raw.githubusercontent.com/crystaltine/me/main/src/assets/public_thumbnail_sm.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap" rel="stylesheet">
<link rel="icon" type="image/png" href="./src/assets/logo8_128x_nobg.png">
<title>Home | Michael Sheng</title>
</head>
<body>
<div id="root"></div>
<script>
const DEFAULT_THEME = 'dark';
// prevents FOUC (flash of unstyled content) (dark mode flashing white upon page load since css loads slowly)
const localTheme = localStorage.getItem('crystaltine-site-theme');
if (localTheme) {
document.body.classList.add(`theme-${localTheme}`);
} else {
localStorage.setItem('crystaltine-site-theme', DEFAULT_THEME);
document.body.classList.add(`theme-${DEFAULT_THEME}`);
}
</script>
<script type="module" src="./src/wrapper.tsx"></script>
</body>
</html>