Skip to content

Commit dbbeb6f

Browse files
authored
Add files via upload
1 parent 2b7a0c7 commit dbbeb6f

8 files changed

+327
-232
lines changed

LICENSE.md

+21-21
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
MIT License
2-
3-
Copyright (c) 2023 Renato Neves de Moraes
4-
5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
11-
12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
14-
15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
1+
MIT License
2+
3+
Copyright (c) 2023 Renato Neves de Moraes
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

index.html

+33-12
Original file line numberDiff line numberDiff line change
@@ -7,34 +7,55 @@
77
<title>Pomodoro Timer</title>
88
<link rel="stylesheet" href="./css/style.css">
99
<link rel="shortcut icon" href="./assets/favicon.ico" type="image/x-icon">
10+
<link rel="preconnect" href="https://fonts.googleapis.com">
11+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css">
12+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
13+
<link href="https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap"
14+
rel="stylesheet">
1015
</head>
1116

1217
<body>
1318
<main>
14-
<header>
15-
<h1>PoTi</h1>
19+
<div class="settings" id="settings-bg">
20+
<div class="top-but-cont" id="settings-menu">
21+
<div class="settings-label"><i class="bi bi-arrow-left-square-fill"></i>Settings</div>
1622

17-
<div class="top-but-cont">
18-
<div class="focus-container">
19-
<label for="workDurationInput">Focus:</label>
20-
<input type="number" id="workDurationInput" max="600" value="25" min="1">
23+
<h3>Duration</h3>
24+
<div class="settings-duration">
25+
<div class="focus container_I">
26+
<label for="focusNumber_I">Focus: </label>
27+
<input type="number" id="focusNumber_I" max="60" value="15" min="15">
28+
<input type="range" id="focusRange_I" min="15" list="values" step="5" max="60" class="range">
2129
</div>
22-
<div class="break-container">
30+
31+
<div class="break container_I">
2332
<label for="breakDurationInput">Break:</label>
24-
<input type="number" id="breakDurationInput" max="600" value="5" min="1">
33+
<input type="range" id="breakRange_I" min="5" list="values2" step="5" max="20" class="range">
34+
<input type="number" id="breakNumber_I" max="20" value="5" min="5">
2535
</div>
36+
37+
<h3>Sound notification:</h3>
38+
</div>
2639
<div class="update-but">
27-
<button id="updateDuration">Update</button>
40+
<button id="updateDuration">Update timer</button>
2841
</div>
2942
</div>
43+
</div>
44+
45+
<header>
46+
<div style="display: flex; gap: 6px; align-items: center;"><h1>PoTi</h1><i id="clock" class="bi bi-clock-history"></i></div>
47+
48+
<button id="settingsGear_B" class="but"><i class="bi bi-gear-fill"></i><span>Settings</span></button>
49+
3050
</header>
3151

3252
<div id="timerDisplay">25:00</div>
3353
<div id="statusMessage">Pomodoro by Renato</div>
3454
<div class="but-container">
35-
<button id="startButton">Start</button>
36-
<button id="stopButton">Stop</button>
37-
<button id="resetButton">Reset</button>
55+
<button id="start_B" class=" but"><i class="bi bi-play-fill"></i><span>Start</span></button>
56+
<button id="stop_B" class=" but" disabled><i class="bi bi-pause-fill"></i><span>Pause</span></button>
57+
<button id="reset_B" class=" but" disabled><i
58+
class="bi bi-arrow-clockwise"></i><span>Reset</span></button>
3859
</div>
3960
</main>
4061
<script type="module" src="./dist/index.js"></script>

package-lock.json

+54-36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+19-16
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
1-
{
2-
"name": "pomodoro",
3-
"version": "1.0.0",
4-
"description": "",
5-
"main": "index.js",
6-
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
8-
},
9-
"keywords": [],
10-
"author": "",
11-
"license": "ISC",
12-
"devDependencies": {
13-
"@types/node": "^20.5.9",
14-
"typescript": "^5.2.2"
15-
}
16-
}
1+
{
2+
"name": "pomodoro",
3+
"version": "1.0.0",
4+
"description": "",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1"
8+
},
9+
"keywords": [],
10+
"author": "",
11+
"license": "ISC",
12+
"devDependencies": {
13+
"@types/node": "^20.5.9",
14+
"typescript": "^5.3.3"
15+
},
16+
"dependencies": {
17+
"bootstrap-icons": "^1.11.3"
18+
}
19+
}

0 commit comments

Comments
 (0)