-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
125 lines (119 loc) · 4.21 KB
/
index.html
File metadata and controls
125 lines (119 loc) · 4.21 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!DOCTYPE html>
<html lang="en">
<head>
<title>Home Page | Key</title>
<link
href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"
integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link rel="stylesheet" href="index_styles.css" />
<link rel="stylesheet" href="nav_styles.css" />
<meta charset="UTF-8" />
<meta
name="description"
content="This is Key's personal website. Here you'll find information about Key's latest projects and more.">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
<div class="navbar-style">
<nav class="navbar">
<div class="left">
<a href="/">Key</a>
<div class="hamburger" onclick="toggleMenu()">
<div></div>
<div></div>
<div></div>
</div>
</div>
<div class="right">
<a href="mailto:contact@key.name.my">
<i class="fa-solid fa-envelope"></i>
<span>Contact</span>
</a>
<a href="/projects">
<i class="fa-solid fa-folder"></i>
<span>Projects</span>
</a>
<a href="/badgegiver">
<i class="fa-brands fa-discord"></i>
<span>Badge Giver</span>
</a>
</div>
</nav>
</div>
<div class="content-container">
<div class="content-style">
<div class="content">
<h1>Key</h1>
<p>A developer, a content creator, and a gamer with a dream.</p>
<div class="button">
<a href="/projects" alt="Click here to view Key's projects">
<i class="fa-solid fa-folder"></i>
<span>Projects</span>
</a>
<a href="/badgegiver" target="_blank" alt="Click here to get your Active Developer Badge on Discord for free and without any coding">
<i class="fa-brands fa-discord"></i>
<span>Badge Giver</span>
</a>
<a href="mailto:contact@key.name.my" alt="Click here to contact Key">
<i class="fa-solid fa-envelope"></i>
<span>Contact</span>
</a>
</div>
</div>
</div>
</div>
<footer>
<p>
© 2024-2025
<a href="https://key.name.my" target="https://key.name.my" class="footer-link"
>Key</a
>
</p>
<p>
<a href="https://discord.com/users/714385307679588383" target="https://discord.com/users/714385307679588383" class="social-link">
<i class="fa-brands fa-discord"></i>
</a>
<a href="https://github.com/ykitzkey" target="https://github.com/ykitzkey" class="social-link">
<i class="fa-brands fa-github"></i>
</a>
<a href="https://bsky.app/profile/itzk3y.bsky.social" target="https://bsky.app/profile/itzk3y.bsky.social" class="social-link">
<i class="fa-brands fa-bluesky"></i>
</a>
<a href="https://x.com/ykitzkey" target="https://x.com/ykitzkey" class="social-link">
<i class="fa-brands fa-x-twitter"></i>
</a>
</p>
</footer>
<script>
// Navbar correction
window.addEventListener("resize", function () {
if (window.innerWidth > 874) {
const right = document.querySelector(".navbar .right");
right.classList.remove("active");
}
});
// Bounce Animation
const bounceElements = document.querySelectorAll('.button a').forEach(button => {
button.addEventListener('mouseenter', () => {
button.classList.add('hovered');
});
button.addEventListener('animationend', () => {
button.classList.remove('hovered');
});
});
// Navbar toggle
function toggleMenu() {
const rightMenu = document.querySelector(".navbar .right");
rightMenu.classList.toggle("active");
}
</script>
</body>
</html>