-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
82 lines (69 loc) · 2.93 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
79
80
81
82
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<script type="text/javascript" src="./script.js" defer></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap">
<link rel="icon" type="image/x-icon" href="/icons/BotW_Linkda.png">
<title>CyberHub</title>
</head>
<body>
<div id="overlay" onclick="toggleSidebar()"></div>
<div class="sitelogo">
<img src="./icons/BotW_Linkda.png">
<h1>CyberHub</h1>
</div>
<div class="extras">
<a href="blog.html">Cyberblog</a>
<a href="tutorial.html">CyberGuides</a>
<a id="rendering" href="modelrendering.html">CyberRendering</a>
</div>
<main>
<div class="logos">
<div class="logos-slide"></div>
</div>
<div class="logos">
<div class="logos-slide"></div>
</div>
<div class="logos">
<div class="logos-slide"></div>
</div>
<div class="logos">
<div class="logos-slide"></div>
</div>
<div class="logos">
<div class="logos-slide"></div>
</div>
<div class="logos">
<div class="logos-slide"></div>
</div>
<div class="logos">
<div class="logos-slide"></div>
</div>
</main>
<button class="reveal" onclick="toggleSidebar()"><img src="./icons/1903099-200.png"></button>
<div class="sidebar">
<!-- Your sidebar content goes here -->
<h1>Links & more!</h1>
<button onclick="location.href='https://twitter.com/cybertron231'" type="button">Twitter!</button>
<button onclick="location.href='https://gamebanana.com/members/1994459'" type="button">GameBanana!</button>
<button onclick="location.href='https://discord.gg/agmg'" type="button">Discord!</button>
<button onclick="location.href='https://www.youtube.com/channel/UCFvzJo-NMYu4MI-ZztLiRrQ'" type="button">YouTube!</button>
<div class="latest">Latest work!</div>
<a href="https://gamebanana.com/mods/491522"><img src="https://images.gamebanana.com/img/ss/mods/65adbcd4001a2.jpg"></a>
<button id="nsfw" onclick="toggleNSFW()" style="transform: scale(0.5);">NSFW filter</button>;
</div>
</body>
</html>
<script>
// Function to generate a random delay value
function getRandomDelay(min, max) {
return Math.random() * (max - min) + min;
}
// Apply random delays to elements
document.querySelectorAll('.logos-slide').forEach(function(element) {
element.style.animationDelay = getRandomDelay(0, 10) + 's';
});
</script>