-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
225 lines (200 loc) · 7.68 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
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
<!doctype html>
<html class="h-100" lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
<meta name="description" content="This is a digital form of the dance chimes at Pound's Park in Sheffield.">
<meta name="author" content="Karim Elbehiri">
<meta name="generator" content="Eleventy v2.0.0">
<meta name="HandheldFriendly" content="true">
<title>Dance Chimes by Karim Elbehiri</title>
<link rel="stylesheet" href="css/theme.css">
<style>
/* inter-300 - latin */
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 300;
font-display: swap;
src: local(''),
url('fonts/inter-v12-latin-300.woff2') format('woff2'),
/* Chrome 26+, Opera 23+, Firefox 39+ */
url('fonts/inter-v12-latin-300.woff') format('woff');
/* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* inter-400 - latin */
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 400;
font-display: swap;
src: local(''),
url('fonts/inter-v12-latin-regular.woff2') format('woff2'),
/* Chrome 26+, Opera 23+, Firefox 39+ */
url('fonts/inter-v12-latin-regular.woff') format('woff');
/* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-display: swap;
src: local(''),
url('fonts/inter-v12-latin-500.woff2') format('woff2'),
/* Chrome 26+, Opera 23+, Firefox 39+ */
url('fonts/inter-v12-latin-500.woff') format('woff');
/* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 700;
font-display: swap;
src: local(''),
url('fonts/inter-v12-latin-700.woff2') format('woff2'),
/* Chrome 26+, Opera 23+, Firefox 39+ */
url('fonts/inter-v12-latin-700.woff') format('woff');
/* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
</style>
</head>
<body class="mt-0" data-bs-spy="scroll" data-bs-target="#navScroll" style="overflow-x: hidden;">
<main>
<!--Navigation Bar-->
<nav id="navScroll" class="navbar navbar-expand-lg navbar-dark fixed-top" tabindex="0">
<div class="container-fluid">
<a class="navbar-brand position-relative sticky-top" href="#">Dance Chimes</a>
<a id="hack" class="navbar-brand position-relative sticky-top" href="https://k-elb.github.io/kelbehiri" data-value="Karim Elbehiri">Karim Elbehiri</a>
</div>
</nav>
<!--Navigation Bar-->
<!--Home Section-->
<div id="Home" class="bg-white" style="padding-top: 9vh; padding-bottom: 3vh;">
<!--News bar-->
<div class="news-container my-3 overflow-hidden">
<div class="title">
Hello
</div>
<ul>
<li>مرحباً</li>
<li>Hola</li>
<li>你好</li>
<li>नमस्ते</li>
<li>Kamusta</li>
<li>Ciao</li>
<li>こんにちは</li>
<li>Merhaba</li>
<li>Hallo</li>
<li>안녕하세요</li>
<li>привет</li>
<li>Hei</li>
<li>Bonjour</li>
<li>안녕하세요</li>
<li>Hallå</li>
<li>Hej</li>
<li>Xin chào</li>
<li>สวัสดี</li>
<li>Salut</li>
<li>Ahoj</li>
<li>привіт</li>
<li>ഹലോ</li>
<li>Zdravo</li>
<li>Helo</li>
<li>Përshëndetje</li>
</ul>
</div>
<!--News bar-->
<!--Contact info-->
<div class="container-fluid py-vh-1">
<div class="row justify-content-center">
<div class="col-3">
<a onclick="new Audio('tones/New Recording 7.mp3').play()" class="card__article m-1 hoo">7</a>
</div>
<div class="col-3">
<a onclick="new Audio('tones/New Recording 6.mp3').play()" class="card__article m-1 hoo">6</a>
</div>
<div class="col-3">
<a onclick="new Audio('tones/New Recording 5.mp3').play()" class="card__article m-1 hoo">5</a>
</div>
</div>
<div class="row justify-content-center">
<div class="col-3">
<a onclick="new Audio('tones/New Recording 8.mp3').play()" class="card__article m-1 hoo">8</a>
</div>
<div class="col-3">
<a onclick="new Audio('tones/New Recording 4.mp3').play()" class="card__article m-1 hoo">4</a>
</div>
<div class="col-3">
<a onclick="new Audio('tones/New Recording 3.mp3').play()" class="card__article m-1 hoo">3</a>
</div>
</div>
<div class="row justify-content-center">
<div class="col-3">
<a onclick="new Audio('tones/New Recording 9.mp3').play()" class="card__article m-1 hoo">9</a>
</div>
<div class="col-3">
<a onclick="new Audio('tones/New Recording 2.mp3').play()" class="card__article m-1 hoo">2</a>
</div>
<div class="col-3">
<a onclick="new Audio('tones/New Recording.mp3').play()" class="card__article m-1 hoo">1</a>
</div>
</div>
</div>
<!--Contact info-->
</div>
<!--Home Section-->
<!--Footer Section-->
<footer>
<div class="container-fluid small bg-white border-top" >
<div class="row pt-3 d-flex justify-content-between">
<div class="col">
<h5 class="glow">My Details</h5>
<div class="row py-3 justify-content-center">
<div class="col-2">
<a href="https://k-elb.github.io/kelbehiri" class="card__article p-1"><i class="far fa-id-card card__icon-sm"></i></a>
</div>
<div class="col-2">
<a href="mailto:[email protected]" class="card__article p-1"><i class="fab fa-at card__icon-sm"></i></a>
</div>
<div class="col-2">
<a href="https://uk.linkedin.com/in/karim-elbehiri" class="card__article p-1"><i class="fa-brands fa-linkedin-in card__icon-sm"></i></a>
</div>
</div>
</div>
<div class="col-12 border-top text-center py-vh-1">
Copyright <i class="fa fa-copyright"></i> 2023 Karim Elbehiri. All rights reserved.
</div>
</div>
</div>
</footer>
<!--Footer Section-->
</main>
<script src="https://kit.fontawesome.com/fd5a894a7b.js" crossorigin="anonymous"></script>
<script src="js/script.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="js/bootstrap.bundle.min.js"></script>
<script src="js/aos.js"></script>
<script>
AOS.init({
duration: 600, // values from 0 to 3000, with step 50ms
});
</script>
<script>
let changeIcon = function() {
icon = document.getElementById('toggler')
icon.classList.toggle('fa-times')
}
let scrollpos = window.scrollY;
const header = document.querySelector(".navbar");
const header_height = header.offsetHeight;
const add_class_on_scroll = () => header.classList.add("scrolled", "shadow-sm");
const remove_class_on_scroll = () => header.classList.remove("scrolled", "shadow-sm");
window.addEventListener('scroll', function () {
scrollpos = window.scrollY;
if (scrollpos >= header_height) { add_class_on_scroll(); }
else { remove_class_on_scroll(); }
// console.log(scrollpos);
})
</script>
</body>
</html>