-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
496 lines (366 loc) · 20 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
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
<!DOCTYPE html>
<html lang="en" data-bs-theme="auto"><head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> ramoe studio </title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.10.3/font/bootstrap-icons.min.css" rel="stylesheet">
<link rel="stylesheet" href="./css/style.css">
<link href="https://fonts.cdnfonts.com/css/satoshi" rel="stylesheet">
<link rel="icon" href="./images/[SVG] RAMOE_LOGO.svg" type="image/svg+xml">
<script src="./src/bootstrap-auto-dark-mode.js"></script>
<style>
@keyframes slideDown {
0% {
transform: translateY(-100%);
opacity: 0;
}
100% {
transform: translateY(0);
opacity: 1;
}
}
@keyframes slideUp {
0% {
transform: translateY(100%);
opacity: 0;
}
100% {
transform: translateY(0);
opacity: 1;
}
}
.img-slide-down {
animation: slideDown 1s ease-out;
}
.img-slide-up {
animation: slideUp 1s ease-out;
}
</style>
</head>
<body class="bg-body-tertiary">
<section id="header" class="bg-body-tertiary">
<div class="container">
<header class="d-flex flex-wrap py-3 mb-4">
<div class="me-auto mb-3 mb-md-0 mt-3 ">
<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="currentColor" class="bi bi-arrow-bar-right d-flex align-items-center link-body-emphasis text-decoration-none" viewBox="0 0 16 16" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasScrolling" aria-controls="offcanvasScrolling">
<path fill-rule="evenodd" d="M6 8a.5.5 0 0 0 .5.5h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 0 0-.708.708L12.293 7.5H6.5A.5.5 0 0 0 6 8m-2.5 7a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5"></path>
</svg>
</div>
<div class="offcanvas offcanvas-start" data-bs-scroll="true" data-bs-backdrop="false" tabindex="-1" id="offcanvasScrolling" aria-labelledby="offcanvasScrollingLabel">
<div class="offcanvas-header">
<h4 class="offcanvas-title" id="offcanvasScrollingLabel" style="letter-spacing: 5px;">RAMOE STUDIO</h4>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<a href="./about.html" class="text-decoration-none" id="about-link">
<p class="mb-4" style="color: var(--bs-body-color);">About</p>
</a>
<p class=" mb-4" data-bs-toggle="collapse" role="button" href="#collapse16animali" aria-expanded="false" aria-controls="collapse16animali" style="color: var(--bs-body-color);" >Works</p>
</a>
<div class="collapse" id="collapse16animali">
<a href="./animali.html" class="text-decoration-none" id="works-link"style="color: var(--bs-body-color);">16 animali</a>
</div>
<div class="collapse mt-3" id="collapse16animali">
<a href="./nwjns.html" class="text-decoration-none" id="works-link2" style="color: var(--bs-body-color);">nwjns</a>
</div>
<div class="collapse mt-3" id="collapse16animali">
<a href="./clairo.html" class="text-decoration-none" id="works-link3" style="color: var(--bs-body-color);">clairo</a>
</div>
<div class="collapse mt-3" id="collapse16animali">
<a href="./sb.html" class="text-decoration-none" id="works-link4" style="color: var(--bs-body-color);">sabu baru</a>
</div>
<a href="./contact.html" class="text-decoration-none" id="about-link">
<p class="mb-4" style="color: var(--bs-body-color);">Contact Us</p>
</a>
<footer class="footer">
<div class="date" id="date">Monday, June 17, 2024</div>
<div class="form-check form-switch mx-3">
<input class="form-check-input" type="checkbox" id="darkModeSwitch" checked>
<label class="form-check-label" for="darkModeSwitch"></label>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-moon-stars" viewBox="0 0 16 16">
<path d="M6 .278a.77.77 0 0 1 .08.858 7.2 7.2 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277q.792-.001 1.533-.16a.79.79 0 0 1 .81.316.73.73 0 0 1-.031.893A8.35 8.35 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.75.75 0 0 1 6 .278M4.858 1.311A7.27 7.27 0 0 0 1.025 7.71c0 4.02 3.279 7.276 7.319 7.276a7.32 7.32 0 0 0 5.205-2.162q-.506.063-1.029.063c-4.61 0-8.343-3.714-8.343-8.29 0-1.167.242-2.278.681-3.286"/>
<path d="M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.73 1.73 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.73 1.73 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.73 1.73 0 0 0 1.097-1.097zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.16 1.16 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.16 1.16 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732z"/>
</svg>
</div>
</footer>
</div>
</div>
<div class="ml-auto align-self-center">
<img src="./images/SVG(putih).svg" alt="ramoe" id="theme-image" height="20">
</div>
</header>
</div>
</section>
<br>
<br>
<section id="logo">
<div class="container">
<div class="row justify-content-center align-items-center">
<div class="col-12 text-center">
<img src="./images/home (1)-min.png" alt="ramoe_logo" class="img-fluid mb-4 img-slide-down"> <br>
</div>
</div>
</div>
</section>
<section id="tentang">
<div class="container">
<div class="row justify-content-center align-items-center">
<div class="col-md-6 text-center">
<img src="./images/ramoegif.gif" alt="ramoe_logo" class="img-fluid mb-4 img-slide-up" style="max-height: 630px;">
</div>
<div class="col-md-6 d-flex flex-column justify-content-center">
<p class="sejajar img-slide-up" , style="font-size:1.25em; line-height:1.6em;"> Amid the fuzz and the crowds of current days, we built a playground for us to hide from these disarrays. We build it little by little, piece by piece, from lost and found we see every day that ignite us, assembling it as if we're arranging a puzzle. We believe each piece will take us on another journey and many more adventures. Afterall, design should be more fun isn't it?</p>
</div>
</div>
</div>
</section>
<br>
<section id="16 animali">
<div class="container img-slide-up">
<div class="row justify-content-center align-items-center">
<div class="col-12 text-center">
<h3 class="fade-text mb-4 fixed-size " style="letter-spacing: 5px"></h3>
<a href="./animali.html">
<img src="./images/Artboard 1_Animali.png" alt="16 Animali" class="img-fluid mb-4 fade-image roll-out same-size-image">
</a>
<a href="./clairo.html">
<img src="./images/clairo.jpg" alt="nwjns_front" class="img-fluid mb-4 fade-image roll-out same-size-image">
</a>
</div>
</div>
</div>
</section>
<section id="nwjns">
<div class="container img-slide-up">
<div class="row justify-content-center align-items-center">
<div class="col-12 text-center">
<a href="./nwjns.html">
<img src="./images/howsweet2.jpg" alt="16 Animali" class="img-fluid mb-4 fade-image roll-out same-size-image">
</a>
<a href="./sb.html">
<img src="./images/sb_depan.jpg" alt="nwjns_front" class="img-fluid mb-4 fade-image roll-out same-size-image">
</a>
</div>
</div>
</div>
</section>
<section id="closing">
<div class="mt-4">
<div class="container">
<div class="d-flex justify-content-between align-items-center">
<a href="https://www.instagram.com/ramoe.etc/" style="text-decoration: none;">
<div class="d-flex align-items-center">
<li type="button" class="btn btn-lg px-1 mb-1">
<svg xmlns="http://www.w3.org/2000/svg" height="19" width="20" fill="currentColor" class="bi bi-instagram" viewBox="0 0 16 16">
<path d="M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.9 3.9 0 0 0-1.417.923A3.9 3.9 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.9 3.9 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.9 3.9 0 0 0-.923-1.417A3.9 3.9 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599s.453.546.598.92c.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.5 2.5 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.5 2.5 0 0 1-.92-.598 2.5 2.5 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233s.008-2.388.046-3.231c.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92s.546-.453.92-.598c.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92m-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217m0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334"></path>
</svg>
</li>
<span class="ms-1 fs-5" style="color: var(--bs-body-color);" >instagram</span>
</div>
</a>
<p class="p-4 about container px-1 mb-0 align-self-center text-end position-relative">© 2024 RAMOE STUDIO</p>
</div>
</div>
</div>
</section>
<div class="position-fixed top-50 start-50 translate-middle ">
<a href="#logo">
<svg xmlns="http://www.w3.org/2000/svg" width="30" class="bi bi-chevron-double-up link-body-emphasis text-decoration-none" viewBox="0 0 16 16" fill="currentColor">
<path fill-rule="evenodd" d="M7.646 2.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 3.707 2.354 9.354a.5.5 0 1 1-.708-.708z"/>
<path fill-rule="evenodd" d="M7.646 6.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 7.707l-5.646 5.647a.5.5 0 0 1-.708-.708z"/>
</svg>
</a>
</div>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
<script>
window.addEventListener('scroll', function() {
var fadeImages = document.querySelectorAll('.fade-image');
var windowHeight = window.outerHeight;
fadeImages.forEach(function(fadeImage) {
var imageBottom = fadeImage.getBoundingClientRect().bottom;
if (imageBottom < windowHeight) {
fadeImage.classList.remove('image-hidden');
} else {
fadeImage.classList.add('image-hidden');
}
});
});
</script>
<script>
window.addEventListener('scroll', function() {
var rollOutElements = document.querySelectorAll('.roll-out');
var windowHeight = window.innerHeight; // Tinggi viewport
rollOutElements.forEach(function(element) {
var elementTop = element.getBoundingClientRect().top;
if (elementTop < windowHeight) {
element.classList.add('visible'); // Tambahkan class 'visible' jika elemen masuk ke dalam viewport
} else {
element.classList.remove('visible'); // Hapus class 'visible' jika elemen keluar dari viewport
}
});
});
</script>
<script>
document.getElementById('works-link').addEventListener('click', function(event) {
document.getElementById('offcanvasScrolling').classList.remove('show');
});
document.getElementById('about-link').addEventListener('click', function(event) {
document.getElementById('offcanvasScrolling').classList.remove('show');
});
</script>
<script>
document.getElementById('works-link2').addEventListener('click', function(event) {
document.getElementById('offcanvasScrolling').classList.remove('show');
});
document.getElementById('about-link').addEventListener('click', function(event) {
document.getElementById('offcanvasScrolling').classList.remove('show');
});
</script>
<script>
document.getElementById('works-link3').addEventListener('click', function(event) {
document.getElementById('offcanvasScrolling').classList.remove('show');
});
document.getElementById('about-link').addEventListener('click', function(event) {
document.getElementById('offcanvasScrolling').classList.remove('show');
});
</script>
<script>
document.getElementById('works-link4').addEventListener('click', function(event) {
document.getElementById('offcanvasScrolling').classList.remove('show');
});
document.getElementById('about-link').addEventListener('click', function(event) {
document.getElementById('offcanvasScrolling').classList.remove('show');
});
</script>
<script>
const texts = ["WORKS"];
let textIndex = 0;
let letterIndex = 0;
let isDeleting = false;
let typingSpeed = 100;
let lastTypeTime = performance.now();
function type() {
const currentText = texts[textIndex];
const textElement = document.querySelector('.fade-text');
const currentTime = performance.now();
const deltaTime = currentTime - lastTypeTime;
if (deltaTime > typingSpeed) {
if (!isDeleting && letterIndex < currentText.length) {
textElement.textContent += currentText.charAt(letterIndex);
letterIndex++;
} else if (isDeleting && letterIndex > 0) {
textElement.textContent = currentText.substring(0, letterIndex - 1);
letterIndex--;
} else {
isDeleting = !isDeleting;
if (!isDeleting) {
textIndex = (textIndex + 1) % texts.length;
}
typingSpeed = isDeleting ? 50 : 495;
if (isDeleting && letterIndex === 0) {
textElement.textContent = '';
}
}
lastTypeTime = currentTime;
}
requestAnimationFrame(type);
}
type();
</script>
<script>
function updateDate() {
const now = new Date();
const daysOfWeek = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
const monthsOfYear = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
const dayOfWeek = daysOfWeek[now.getDay()];
const dayOfMonth = now.getDate().toString().padStart(2, '0');
const month = monthsOfYear[now.getMonth()];
const year = now.getFullYear();
document.getElementById('date').textContent = `${dayOfWeek}, ${month} ${dayOfMonth}, ${year}`;
}
updateDate();
setInterval(updateDate, 60000); // Update date every minute
</script>
<script>
function applyParallaxEffect(className) {
var scrolledContent = document.querySelector(className);
var windowHeight = window.innerHeight;
window.addEventListener('scroll', function() {
var scrollPosition = window.scrollY;
var elementOffsetTop = scrolledContent.offsetTop;
if (scrollPosition + windowHeight > elementOffsetTop) {
// Adjust the value below to control the speed of the scroll effect
var scrollSpeed = 0.5;
// Calculate the amount of movement based on scroll position
var moveAmount = (scrollPosition - elementOffsetTop) * scrollSpeed;
// Apply transform to move the content horizontally
scrolledContent.style.transform = 'translateX(-' + moveAmount + 'px)';
}
});
}
applyParallaxEffect('.first-scrolled-content');
applyParallaxEffect('.second-scrolled-content');
</script>
<script>
// Function to change the text color based on the theme
function updateTextColor() {
const htmlElement = document.documentElement; // Select the <html> element
const instagramText = document.querySelector('.instagram-text'); // Select the text element
if (htmlElement.getAttribute('data-bs-theme') === 'auto') {
instagramText.style.color = 'var(--bs-light)'; // Set color for dark theme
} else {
instagramText.style.color = 'var(--bs-dark)'; // Set color for light theme
}
}
// Call the function on page load
updateTextColor();
// Optional: Add an event listener to change the text color when the theme changes
const observer = new MutationObserver(updateTextColor);
observer.observe(document.documentElement, {
attributes: true, // Listen to attribute changes
attributeFilter: ['data-bs-theme'] // Specifically the data-bs-theme attribute
});
</script>
<script>
document.addEventListener('DOMContentLoaded', function () {
const themeImage = document.getElementById('theme-image');
const updateImage = () => {
const currentTheme = document.documentElement.getAttribute('data-bs-theme');
if (currentTheme === 'dark') {
themeImage.src = './images/SVG(putih).svg';
} else {
themeImage.src = './images/[SVG] RAMOE_TEXT TRANSPARENT (1).svg';
}
};
updateImage();
const observer = new MutationObserver(updateImage);
observer.observe(document.documentElement, { attributes: true, attributeFilter: ['data-bs-theme'] });
});
</script>
<script>
document.addEventListener('DOMContentLoaded', () => {
const htmlElement = document.documentElement;
const switchElement = document.getElementById('darkModeSwitch');
// Baca tema saat ini dari localStorage atau default ke 'dark'
const currentTheme = localStorage.getItem('bsTheme') || 'dark';
htmlElement.setAttribute('data-bs-theme', currentTheme);
// Sinkronkan status switch dengan tema saat ini
if (switchElement) {
switchElement.checked = currentTheme === 'dark';
// Tambahkan event listener ke switch
switchElement.addEventListener('change', function () {
if (this.checked) {
htmlElement.setAttribute('data-bs-theme', 'dark');
localStorage.setItem('bsTheme', 'dark');
} else {
htmlElement.setAttribute('data-bs-theme', 'light');
localStorage.setItem('bsTheme', 'light');
}
});
}
});
</script>
</body>
</html>