From d4a7d43ed1147f4180b7c4404cfdcc628bff6676 Mon Sep 17 00:00:00 2001 From: MisterGetman <99386291+MisterGetman@users.noreply.github.com> Date: Sat, 29 Jun 2024 03:00:43 +0300 Subject: [PATCH] Done. --- package-lock.json | 22 +++++++++ package.json | 6 ++- src/1-timer.html | 39 +++++++++++++++ src/2-snackbar.html | 37 ++++++++++++++ src/css/1-timer.css | 73 ++++++++++++++++++++++++++++ src/css/2-snackbar.css | 80 ++++++++++++++++++++++++++++++ src/index.html | 9 ++++ src/js/1-timer.js | 107 +++++++++++++++++++++++++++++++++++++++++ src/js/2-snackbar.js | 43 +++++++++++++++++ src/main.js | 0 src/page-2.html | 15 ------ src/page-3.html | 15 ------ src/public/favicon.svg | 1 - 13 files changed, 414 insertions(+), 33 deletions(-) create mode 100644 src/1-timer.html create mode 100644 src/2-snackbar.html create mode 100644 src/css/1-timer.css create mode 100644 src/css/2-snackbar.css create mode 100644 src/js/1-timer.js create mode 100644 src/js/2-snackbar.js delete mode 100644 src/main.js delete mode 100644 src/page-2.html delete mode 100644 src/page-3.html delete mode 100644 src/public/favicon.svg diff --git a/package-lock.json b/package-lock.json index ce19a72..b1a621d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,6 +9,8 @@ "version": "0.0.0", "license": "ISC", "dependencies": { + "flatpickr": "^4.6.13", + "izitoast": "^1.4.0", "vite-plugin-full-reload": "^1.0.5", "vite-plugin-html-inject": "^1.0.1" }, @@ -398,6 +400,11 @@ "@esbuild/win32-x64": "0.18.20" } }, + "node_modules/flatpickr": { + "version": "4.6.13", + "resolved": "https://registry.npmjs.org/flatpickr/-/flatpickr-4.6.13.tgz", + "integrity": "sha512-97PMG/aywoYpB4IvbvUJi0RQi8vearvU0oov1WW3k0WZPBMrTQVqekSX5CjSG/M4Q3i6A/0FKXC7RyAoAUUSPw==" + }, "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -452,6 +459,11 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "dev": true }, + "node_modules/izitoast": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/izitoast/-/izitoast-1.4.0.tgz", + "integrity": "sha512-Oc1X2wiQtPp39i5VpIjf3GJf5sfCtHKXZ5szx7RareyEeFLUlcEW0FSfBni28+Ul6KNKZRKzhVuWzSP4Xngh0w==" + }, "node_modules/minimatch": { "version": "5.1.6", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", @@ -811,6 +823,11 @@ "@esbuild/win32-x64": "0.18.20" } }, + "flatpickr": { + "version": "4.6.13", + "resolved": "https://registry.npmjs.org/flatpickr/-/flatpickr-4.6.13.tgz", + "integrity": "sha512-97PMG/aywoYpB4IvbvUJi0RQi8vearvU0oov1WW3k0WZPBMrTQVqekSX5CjSG/M4Q3i6A/0FKXC7RyAoAUUSPw==" + }, "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -852,6 +869,11 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "dev": true }, + "izitoast": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/izitoast/-/izitoast-1.4.0.tgz", + "integrity": "sha512-Oc1X2wiQtPp39i5VpIjf3GJf5sfCtHKXZ5szx7RareyEeFLUlcEW0FSfBni28+Ul6KNKZRKzhVuWzSP4Xngh0w==" + }, "minimatch": { "version": "5.1.6", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", diff --git a/package.json b/package.json index 59f278d..9b53a3c 100644 --- a/package.json +++ b/package.json @@ -9,12 +9,14 @@ "preview": "vite preview" }, "devDependencies": { - "vite": "^4.5.2", - "glob": "^8.1.0" + "glob": "^8.1.0", + "vite": "^4.5.2" }, "author": "me", "license": "ISC", "dependencies": { + "flatpickr": "^4.6.13", + "izitoast": "^1.4.0", "vite-plugin-full-reload": "^1.0.5", "vite-plugin-html-inject": "^1.0.1" } diff --git a/src/1-timer.html b/src/1-timer.html new file mode 100644 index 0000000..ad09570 --- /dev/null +++ b/src/1-timer.html @@ -0,0 +1,39 @@ + + +
+ + + +