-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
93 lines (83 loc) · 3.58 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
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<meta name="description"
content="Slypork: Explore a portfolio of audio mastering, music, graphic design, and software development. Connect and delve into creative and technical work.">
<title>Slypork</title>
<link rel="icon" type="image/png" sizes="16x16" href="./assets/images/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="./assets/images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="./assets/images/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="192x192" href="./assets/images/favicon-192x192.png">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,500&display=swap">
<link rel="stylesheet" href="./assets/css/styles.css">
<link rel="stylesheet" href="./assets/css/boid-simulator.css">
<style>
@media (max-width: 768px) {
nav {
padding-top: 6rem !important;
}
#hamburger-menu {
display: block;
}
nav ul li:not(:first-child) {
display: none;
}
nav.nav-active ul li:not(:first-child) {
display: block;
}
nav ul {
flex-direction: column !important;
align-items: center;
transform: translateY(0px) !important;
}
.home-logo {
min-width: 80px !important;
}
}
</style>
</head>
<body class="text-neutral-900">
<canvas id="boidCanvas"></canvas>
<div id="controls">
<input type="range" id="speedSlider" min="0" max="200" value="100">
<span id="speedValue">100%</span>
</div>
<main id="container" class="flex p-10 max-w-7xl mx-auto">
<header>
<nav class="nav-active py-3 flex flex-col">
<button id="hamburger-menu" aria-label="Menu">☰</button>
<ul>
<li> <a href="./" id="homeLink">
<img src="./assets/images/home.png" alt="Home" class="home-logo w-20 pb-15">
</a>
</li>
<li><a href="./about/"><span class="nav-link-text">About</span></a></li>
<li><a href="./mastering/"><span class="nav-link-text">Mastering</span></a></li>
<li><a href="./music/"><span class="nav-link-text">Music</span></a></li>
<li><a href="./design/"><span class="nav-link-text">Design</span></a></li>
<li><a href="./software/"><span class="nav-link-text">Software</span></a></li>
<li><a href="./contact/"><span class="nav-link-text">Contact</span></a></li>
</ul>
</nav>
</header>
<section id="content" class="flex-1 p-5 flex flex-col">
<!-- Content Here -->
</section>
<footer class="text-center py-4 px-5" style="font-size:larger">
slypork.net
</footer>
</main>
<script src="./assets/js/script.js"></script>
<script src="./assets/js/easter-egg.js"></script>
<script src="./assets/js/boid-simulator.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function () {
setupEasterEgg();
});
</script>
<div class="easter-egg" id="easterEgg"></div>
</body>
</html>