-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (51 loc) · 1.8 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" class="dark">
<head>
<meta charset="utf-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="profile" />
<title>Mainendra's profile</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r121/three.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.birds.min.js"></script>
<script>
const dark = localStorage.getItem('theme') !== 'light';
if (dark) {
document.querySelector('html')?.classList?.add('dark');
}
</script>
<style>
@font-face {
font-family: 'JetBrainsMonoNerdFont';
src: url('/JetBrainsMonoNerdFont-Regular.ttf') format('truetype');
}
html.dark body {
background-color: black;
color: #E5E7EB;
}
</style>
<script type="module" crossorigin src="/assets/index-CIBv1tBp.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-EVpxuMMk.css">
</head>
<body class="transition delay-100 ease-linear bg-gray-50 font-mono">
<div id="bg" class="fixed w-full h-full"></div>
<div id="root" class="absolute w-full h-full"></div>
<noscript>You need to enable JavaScript to run this app.</noscript>
<script>
window.onload = () => {
VANTA.BIRDS({
el: "#bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
quantity: 2.00,
backgroundAlpha: 0.00,
});
};
</script>
</body>
</html>