-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
64 lines (62 loc) · 2.85 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
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="apple-touch-icon" sizes="180x180" href="assets/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/favicon-16x16.png">
<link rel="manifest" href="assets/site.webmanifest">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css">
<script src="https://kit.fontawesome.com/19617b418c.js" crossorigin="anonymous"></script>
<title>Welcome!</title>
<noscript style="color: red; text-align: center; font-size: 2rem;">PLS ENABLE JAVASCRIPT...</noscript>
</head>
<body data-bs-theme="dark">
<i id="themesel" class="bi bi-moon-fill float-end" onclick="changeTheme()"></i>
<div class="d-flex justify-content-center align-items-center vh-100">
<div class="p-5 rounded shadow bg-body-tertiary">
<h2 class="text-center">Mithun Kumar</h2>
<p>I live in: India<br>
Gender: Male<br>
Age: 12<br>
Timezone: IST (+5:30 UTC)
</p>
<p class="text-center">I love to code.</p>
<p>My favourite languages are:</p>
<ul>
<li>Python <i class="fa-brands fa-python"></i></li>
<li>HTML <i class="fa-brands fa-html5"></i>, CSS <i class="fa-brands fa-css3-alt"></i></li>
<li>Java <i class="fa-brands fa-java"></i></li>
<li>C# (<em>I couldn't find an icon for C# 😔</em>)</li>
</ul>
<p>I love Windows <i class="fa-brands fa-windows"></i></p>
<i class="fa-brands fa-github d-flex justify-content-center align-items-center" onclick="window.location.href='https://github.com/notmithun'" style="cursor: pointer;"></i>
</div>
</div>
<button onclick="window.location.href='terminal.html'" class="btn btn-secondary"><i class="fa-solid fa-terminal"></i> Terminal</button>
<script>
console.log("Build 1.1.1");
let mode = "dark";
function changeTheme() {
if (mode == "dark") {
mode = "light";
document.querySelector("body").setAttribute("data-bs-theme", "light")
document.getElementById("themesel").className = "bi bi-brightness-high-fill float-end"
} else {
mode = "dark";
document.querySelector("body").setAttribute("data-bs-theme", "dark")
document.getElementById("themesel").className = "bi bi-moon-fill float-end"
}
}
</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous">
</script>
</body>
</html>