-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
63 lines (57 loc) · 2.34 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Clock-App</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@300;500;700&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="./css/app.css" />
<script src="https://kit.fontawesome.com/c2672b97d2.js" crossorigin="anonymous"></script>
</head>
<body>
<div class="loader">
<div class="loader__dot"></div>
<div class="loader__dot"></div>
<div class="loader__dot"></div>
</div>
<main>
<!-- photo <a href="https://pixabay.com/photos/?utm_source=link-attribution&utm_medium=referral&utm_campaign=image&utm_content=984050"> -->
<section style="background-image: url('./images/bg-light-small.jpg')" class="welcome-side">
<figure class="welcome-side__quote quote">
<blockquote class="quote__description">"Two things are infinite: the universe and human stupidity; and I’m not sure about the universe."</blockquote>
</br>
<figcaption>— <span class="quote__author">Albert Einstein</span></figcaption>
</figure>
<article class="welcome-side__details clock">
<p class="clock__info"><span class="fas fa-sun"></span><span class="clock__welcome"></span>It's currently</p>
<p class="clock__time"></p>
<p class="clock__timezone">LT</p>
<h3 class="clock__location"></h3>
</article>
</section>
<section class="events">
<!-- events-->
</section>
</main>
<script src="./scripts.js"></script>
<script type="module" src="./module/quotes.js"></script>
<script type="module" src="./module/clock.js"></script>
<script>
window.addEventListener("load", function(){
const loader = document.querySelector(".loader");
window.setTimeout(function(){
loader.classList.add("loader--finish");
}, 1000)
loader.addEventListener("transitionend", function() {
loader.remove();
})
})
</script>
</body>
</html>