-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (71 loc) · 3.19 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html lang="EN">
<head>
<meta charset="UTF-8">
<title>Stzyxh's Website</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="overlay"></div>
<section class="yyes">
<h1>Hey, I'm <a class="S">S</a><a class="t">t</a><a class="z">z</a><a class="y">y</a><a class="x">x</a><a class="h">h</a>!</h1>
<figure>
<img class="profile-image" src="images/profile.png" alt="profile picture">
<div class="social-icons">
<a href="https://mastodon.social/@Stzyxh" target="_blank">
<img class="icon" src="images/mastodon.png" alt="mastodon">
<a href=https://pixelfed.de/Stzyxh" target="_blank" class="pixelfed">
<img src="images/pixelfed.svg" alt="Pixelfed">
</a>
<a href="https://codeberg.org/Stzyxh" target="_blank">
<img src="images/codeberg.png" alt="Codeberg">
</a>
<a href="https://github.com/Stzyxh" target="_blank">
<img src="images/github.png" alt="Github">
</a>
<a href="https://www.discordapp.com/users/.Styxh." target="_blank">
<img src="images/discord.png" alt="Discord">
</a>
<a href="https://www.youtube.com/@Stzyxhmc" target="_blank" class="Youtube">
<img src="images/youtube.png" alt="Youtube">
</a>
</div>
</figure>
</section>
<footer>
This Website is <a href="https://github.com/Stzyxh/Stzyxh.github.io" class="animated-link">Open Source</a> <br>
© 2024 Stzyxh
</footer>
<div id="popupModal" class="popup-modal">
<div class="popup-content">
<span class="close-btn">×</span>
<h2>The earth is our home - Let's stand up together for a better future!</h2>
<p>Be part of the change! Look at this <a href="pages/responsibility.html" class="animated-link">Page</a></p>
</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
setTimeout(function() {
document.getElementById('popupModal').style.display = 'block';
}, 7000);
var closeBtn = document.getElementsByClassName('close-btn')[0];
closeBtn.onclick = function() {
document.getElementById('popupModal').classList.add('close-animation');
setTimeout(function() {
document.getElementById('popupModal').style.display = 'none';
document.getElementById('popupModal').classList.remove('close-animation');
}, 1000);
}
window.onclick = function(event) {
if (event.target == document.getElementById('popupModal')) {
document.getElementById('popupModal').classList.add('close-animation');
setTimeout(function() {
document.getElementById('popupModal').style.display = 'none';
document.getElementById('popupModal').classList.remove('close-animation');
}, 1000);
}
}
});
</script>
</body>
</html>