-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (40 loc) · 1.2 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
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Flux</title>
<script src="https://unpkg.com/dreamland"></script>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="./src/index.css">
<style type="text/tailwindcss">
h1 {
@apply text-4xl font-bold;
}
h2 {
@apply text-3xl font-semibold;
}
h3 {
@apply text-2xl font-medium;
}
.card {
@apply bg-zinc-950 rounded-lg border-2 duration-300 hover:border-zinc-700 border-zinc-800
}
button {
@apply card p-2 font-semibold min-w-48 w-48;
}
a {
@apply text-zinc-300 font-bold hover:border-b-2 border-zinc-300
}
</style>
</head>
<body class="bg-zinc-950 text-zinc-200 font-dm-sans flex h-screen justify-center">
<div id="root" class="p-8 mb-4"></div>
<script src="./src/app.js"></script>
<script>
window.addEventListener("load", () => {
document.getElementById("root").appendChild(h(App))
})
</script>
</body>
</html>