generated from zroei/pastiow-pomodoro-timer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
92 lines (81 loc) · 4.25 KB
/
index.html
File metadata and controls
92 lines (81 loc) · 4.25 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pastiow | The Pomodoro Timer</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap" rel="stylesheet">
<link id="dynamic-favicon" rel="icon" type="image/svg+xml" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text x='50' y='60' font-size='50' text-anchor='middle'>25</text></svg>">
</head>
<body>
<div class="whatsapp-bubble">
<a href="https://whatsapp.com/channel/0029VbApXs0BadmTg6KYPZ3O" target="_blank" rel="noopener">
<div class="bubble-text">JOIN OUR COMMUNITY</div>
<div class="bubble-icon">
<i class="fab fa-whatsapp"></i>
</div>
</a>
</div>
<div class="container">
<div class="theme-selector">
<button class="theme-btn" data-theme="nature"><i class="fas fa-leaf"></i></button>
<button class="theme-btn" data-theme="coffee"><i class="fas fa-coffee"></i></button>
<button class="theme-btn" data-theme="night"><i class="fas fa-moon"></i></button>
<button class="theme-btn" data-theme="beach"><i class="fas fa-umbrella-beach"></i></button>
</div>
<h1 class="title">Pastiow | The Pomodoro Timer</h1>
<div class="mode-selector">
<button class="mode-btn active" data-mode="pomodoro">Pomodoro</button>
<button class="mode-btn" data-mode="short-break">Short Break</button>
<button class="mode-btn" data-mode="long-break">Long Break</button>
</div>
<div class="timer-display">
<span id="minutes">25</span>:<span id="seconds">00</span>
</div>
<div class="timer-controls">
<button id="start-btn" class="control-btn"><i class="fas fa-play"></i> Start</button>
<button id="pause-btn" class="control-btn" disabled><i class="fas fa-pause"></i> Pause</button>
<button id="reset-btn" class="control-btn"><i class="fas fa-redo"></i> Reset</button>
</div>
<div class="spotify-player">
<iframe id="spotify-iframe"
src="https://open.spotify.com/embed/playlist/2icJt3inDkILVu43HKiAbh?utm_source=generator"
width="100%"
height="80"
frameBorder="5"
allowfullscreen=""
allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture">
</iframe>
</div>
<div class="settings">
<button id="settings-btn"><i class="fas fa-cog"></i> Settings</button>
</div>
<div id="settings-modal" class="modal">
<div class="modal-content">
<span class="close-btn">×</span>
<h2>Timer Settings</h2>
<div class="form-group">
<label for="pomodoro-time">Pomodoro (minutes):</label>
<input type="number" id="pomodoro-time" value="25" min="1" max="60">
</div>
<div class="form-group">
<label for="short-break-time">Short Break (minutes):</label>
<input type="number" id="short-break-time" value="5" min="1" max="60">
</div>
<div class="form-group">
<label for="long-break-time">Long Break (minutes):</label>
<input type="number" id="long-break-time" value="10" min="1" max="60">
</div>
<button id="save-settings">Save Settings</button>
</div>
</div>
</div>
<audio id="alarm-sound" src="https://assets.mixkit.co/sfx/preview/mixkit-alarm-digital-clock-beep-989.mp3" preload="auto"></audio>
<footer class="main-footer">
<p>© 2025 | Pastiow Timer. Made with 💡 by <a href="https://pastiow.com" target="_blank">Pastiow</a></p>
</footer>
<script src="script.js"></script>
</body>
</html>