-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
94 lines (94 loc) · 3.78 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Pomodoro Timer</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=VT323&display=swap"
rel="stylesheet"
/>
<link rel="shortcut icon" href="img/clock.png" type="image/png" />
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<div class="app">
<header class="header">
<div class="header__logo">
<img src="img/clock.png" alt="Logo" class="header__image" />
<span class="header__name"
>pomodoro by <a href="https://github.com/knull-a">knull-a</a></span
>
</div>
<!-- TODO: Add menu and settings -->
</header>
<main class="timer">
<div class="timer__button-group" id="mode-buttons">
<button
data-mode="pomodoro"
class="timer__btn_status btn"
id="pomodoro"
>
pomodoro
</button>
<button
data-mode="shortBreak"
class="timer__btn_status btn"
id="short-break"
>
short break
</button>
<button
data-mode="longBreak"
class="timer__btn_status btn"
id="long-break"
>
long break
</button>
</div>
<div class="timer__clock" id="js-clock">
<span id="minutes">00</span>
<span>:</span>
<span id="seconds">00</span>
</div>
<p class="timer__counter" id="counter"></p>
<button class="timer__btn_main btn" data-action="start" id="btn">
start
</button>
</main>
<footer class="footer">
<div class="footer__player">
<div id="player" style="display: none; visibility: hidden"></div>
<div class="footer__audio-player">
<button id="playAudio" class="footer__btn"></button>
</div>
</div>
<div class="footer__menu">
<button id="menu" class="footer__btn"></button>
<div class="footer__popup-menu none" id="menu-opened">
<div class="footer__tabs">
<button class="footer__tab menu-active" onclick="openTab(event, 'footer-audios')">audio</button>
<button class="footer__tab" onclick="openTab(event, 'footer-backgrounds')">background</button>
</div>
<button class="footer__close footer__btn" id="menu-close"></button>
<div class="footer__container" id="footer-audios" onclick="changeAudio(event)">
<img src="https://img.youtube.com/vi/jfKfPfyJRdk/hqdefault.jpg" alt="Lofi" class="footer__audio-active" data-id="jfKfPfyJRdk">
<img src="https://img.youtube.com/vi/2gO1v2GPMFk/hqdefault.jpg" alt="Classic" data-id="2gO1v2GPMFk">
<img src="https://img.youtube.com/vi/MT0Ta_Qldrs/hqdefault.jpg" alt="Brown Noise" data-id="MT0Ta_Qldrs">
</div>
<div class="footer__container none" id="footer-backgrounds" onclick="changeBackground(event)">
<img src="./img/bg-1.gif" alt="Pixel Background" data-id="#06B6D1" class="footer__background-active">
<img src="./img/bg-2.gif" alt="Pixel Background" data-id="#d3c3cd">
<img src="./img/bg-3.gif" alt="Pixel Background" data-id="#5B405B">
</div>
</div>
</div>
</footer>
</div>
<noscript>Error. Please turn on javascript to properly view this page.</noscript>
<script src="js/index.js"></script>
</body>
</html>