From 25fe5681485959e07782ad5164b1867a85a04e8b Mon Sep 17 00:00:00 2001 From: Wawilski Date: Sun, 3 Mar 2024 18:37:55 +0100 Subject: [PATCH] Convert login.html to Login.vue --- frontend/login.html | 29 ------------------- .../src/{assets/styleLogin.css => Login.vue} | 28 ++++++++++++++++++ frontend/src/login.js | 6 ++++ frontend/src/main.js | 1 - 4 files changed, 34 insertions(+), 30 deletions(-) delete mode 100644 frontend/login.html rename frontend/src/{assets/styleLogin.css => Login.vue} (62%) create mode 100644 frontend/src/login.js diff --git a/frontend/login.html b/frontend/login.html deleted file mode 100644 index 34b8572..0000000 --- a/frontend/login.html +++ /dev/null @@ -1,29 +0,0 @@ - - - -
-
-
-

SIGN IN

-
-

USERNAME

- -
-
-

PASSWORD

- -
-
- Register -
-
- -
-
-
-
- - - - - diff --git a/frontend/src/assets/styleLogin.css b/frontend/src/Login.vue similarity index 62% rename from frontend/src/assets/styleLogin.css rename to frontend/src/Login.vue index ea883d8..52e7e19 100644 --- a/frontend/src/assets/styleLogin.css +++ b/frontend/src/Login.vue @@ -1,3 +1,30 @@ + + + diff --git a/frontend/src/login.js b/frontend/src/login.js new file mode 100644 index 0000000..59eb2ea --- /dev/null +++ b/frontend/src/login.js @@ -0,0 +1,6 @@ +import './assets/main.css' + +import { createApp } from 'vue' +import App from './Login.vue' + +createApp(App).mount('#login') diff --git a/frontend/src/main.js b/frontend/src/main.js index cd29b9e..59b267a 100644 --- a/frontend/src/main.js +++ b/frontend/src/main.js @@ -1,5 +1,4 @@ import './assets/main.css' -import './assets/styleLogin.css' import 'vue3-toastify/dist/index.css'; import { createApp } from 'vue'