-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
28 lines (23 loc) · 874 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta content="width=device-width, initial-scale=1" name="viewport" />
<title>Mohammad Al Zouabi</title>
<meta content="Personal website" name="description" />
<script id="configure-theme">
const { theme } = localStorage;
document.documentElement.classList[
theme === 'Dark' ||
(theme !== 'Light' && window.matchMedia('(prefers-color-scheme: dark)').matches)
? 'add'
: 'remove'
]('dark');
</script>
</head>
<body class="bg-zinc-50 dark:bg-zinc-900" onload="document.body.classList.add('motion-safe:duration-75', 'motion-safe:transition-colors')">
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script src="/src/index.tsx" type="module"></script>
</body>
</html>