From b7bf1f96a75f10c27df81e9f99109426bca1e3df Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Thu, 28 Jul 2022 13:39:56 +0200 Subject: [PATCH 1/2] Add bootstrap as dev dependency --- package-lock.json | 19 +++++++++++++++++++ package.json | 1 + 2 files changed, 20 insertions(+) diff --git a/package-lock.json b/package-lock.json index 161ee3f..7c97642 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,6 +32,7 @@ "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^11.0.0", "@rollup/plugin-replace": "^4.0.0", + "@types/bootstrap": "^5.2.0", "dav": "^1.8.0", "postcss": "^8.3.11", "prettier": "^2.4.1", @@ -608,6 +609,15 @@ "node": ">=10.13.0" } }, + "node_modules/@types/bootstrap": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@types/bootstrap/-/bootstrap-5.2.0.tgz", + "integrity": "sha512-zncxyEdbShnbOkY1zGBNqvpdVuIGDEA3rxcANJ4v9b3yaMxp+xDCNSwrXK5+uM7Wz7cb1RoIoRUQ0Q5JyfjyfA==", + "dev": true, + "dependencies": { + "@popperjs/core": "^2.9.2" + } + }, "node_modules/@types/estree": { "version": "0.0.39", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", @@ -4530,6 +4540,15 @@ "integrity": "sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==", "dev": true }, + "@types/bootstrap": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@types/bootstrap/-/bootstrap-5.2.0.tgz", + "integrity": "sha512-zncxyEdbShnbOkY1zGBNqvpdVuIGDEA3rxcANJ4v9b3yaMxp+xDCNSwrXK5+uM7Wz7cb1RoIoRUQ0Q5JyfjyfA==", + "dev": true, + "requires": { + "@popperjs/core": "^2.9.2" + } + }, "@types/estree": { "version": "0.0.39", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", diff --git a/package.json b/package.json index eeaaf12..c43b6fe 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^11.0.0", "@rollup/plugin-replace": "^4.0.0", + "@types/bootstrap": "^5.2.0", "dav": "^1.8.0", "postcss": "^8.3.11", "prettier": "^2.4.1", From 8e5d9bb657817b4c17e3901e2f8e97ab0eab1f96 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Thu, 28 Jul 2022 14:16:52 +0200 Subject: [PATCH 2/2] Move spinner to its own file, and only mask the current view, not the whole window --- src/App.svelte | 37 ++++++++++++++++--------------------- src/Spinner.svelte | 25 +++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 21 deletions(-) create mode 100644 src/Spinner.svelte diff --git a/src/App.svelte b/src/App.svelte index 34972f5..78eda8d 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -1,7 +1,6 @@ -{#if isLoading} -
-
- -
-
-{/if} -

Calendrier de la vie étudiante à l'ENS

@@ -184,16 +189,6 @@