From ba8b32160d6f75030671fe0eca8af9bfbde5c872 Mon Sep 17 00:00:00 2001 From: Anthony Debucquoy Date: Fri, 8 Mar 2024 23:35:11 +0100 Subject: [PATCH] Lots of refactoring MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Removing test mentions in readme - moving login page as an app - removing vite broken config - removing auto-generated and unused vite configuration (base.css) Overall simplification (sorry @Wal I kinda destroyed your login page a bit but seems fixable 👉👈) --- frontend/README.md | 6 -- frontend/login/index.html | 11 ---- frontend/src/App.vue | 34 ++++++---- frontend/src/{ => Apps}/Inscription.vue | 0 frontend/src/{ => Apps}/Login.vue | 13 +--- frontend/src/{ => Apps}/Request.vue | 2 +- frontend/src/assets/base.css | 86 ------------------------- frontend/src/login.js | 7 -- frontend/src/main.js | 1 + frontend/vite.config.js | 9 --- 10 files changed, 25 insertions(+), 144 deletions(-) delete mode 100644 frontend/login/index.html rename frontend/src/{ => Apps}/Inscription.vue (100%) rename frontend/src/{ => Apps}/Login.vue (95%) rename frontend/src/{ => Apps}/Request.vue (98%) delete mode 100644 frontend/src/assets/base.css delete mode 100644 frontend/src/login.js diff --git a/frontend/README.md b/frontend/README.md index 39ae23c..251ed06 100644 --- a/frontend/README.md +++ b/frontend/README.md @@ -19,9 +19,3 @@ npm run dev ```sh npm run build ``` - -### Run Unit Tests with [Vitest](https://vitest.dev/) - -```sh -npm run test:unit -``` diff --git a/frontend/login/index.html b/frontend/login/index.html deleted file mode 100644 index 05192e0..0000000 --- a/frontend/login/index.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Clyde - Login - - -
- - - diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 0089e41..51f8882 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,18 +1,26 @@