From 49e5b6da73749f769bdcef11633c10043329830c Mon Sep 17 00:00:00 2001 From: "jo.kuehner" Date: Thu, 9 Nov 2023 20:17:38 +0100 Subject: [PATCH] added login page, setup templates --- app.vue | 28 ++- components/LoginForm.vue | 213 ++++++++++++++++++ layouts/PageHeader.vue | 2 +- layouts/default.vue | 58 +---- layouts/empty.vue | 40 ++++ pages/home.vue | 84 +++++++ pages/index.vue | 98 ++++++-- pages/login.vue | 83 ++++++- public/icons/Lock-Icon.svg | 3 + public/icons/Mail-Icon.svg | 4 + .../{ => settings-icons}/Dropdown-Icon.svg | 0 .../{ => settings-icons}/Settings-Icon.svg | 0 12 files changed, 526 insertions(+), 87 deletions(-) create mode 100644 components/LoginForm.vue create mode 100644 layouts/empty.vue create mode 100644 pages/home.vue create mode 100644 public/icons/Lock-Icon.svg create mode 100644 public/icons/Mail-Icon.svg rename public/icons/{ => settings-icons}/Dropdown-Icon.svg (100%) rename public/icons/{ => settings-icons}/Settings-Icon.svg (100%) diff --git a/app.vue b/app.vue index 4c5718d..edc3e11 100644 --- a/app.vue +++ b/app.vue @@ -1,19 +1,29 @@ - + + + + \ No newline at end of file diff --git a/components/LoginForm.vue b/components/LoginForm.vue new file mode 100644 index 0000000..0a200bd --- /dev/null +++ b/components/LoginForm.vue @@ -0,0 +1,213 @@ + + + + + + + + + \ No newline at end of file diff --git a/layouts/PageHeader.vue b/layouts/PageHeader.vue index 1a92ee1..9771ef9 100644 --- a/layouts/PageHeader.vue +++ b/layouts/PageHeader.vue @@ -52,7 +52,7 @@ export default { align-items: flex-end; display: flex; gap: 10px; - padding: 0 30px; + padding: 0 10px; } .username { color: #fff; diff --git a/layouts/default.vue b/layouts/default.vue index 7506b41..f54af01 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -2,14 +2,7 @@
-
-
-
Pagename
-
-
- -
-
+
@@ -33,19 +26,19 @@ export default { - \ No newline at end of file diff --git a/layouts/empty.vue b/layouts/empty.vue new file mode 100644 index 0000000..ea8f794 --- /dev/null +++ b/layouts/empty.vue @@ -0,0 +1,40 @@ + + + + + + + + \ No newline at end of file diff --git a/pages/home.vue b/pages/home.vue new file mode 100644 index 0000000..ce16329 --- /dev/null +++ b/pages/home.vue @@ -0,0 +1,84 @@ + + + + + + + + + + \ No newline at end of file diff --git a/pages/index.vue b/pages/index.vue index 27061ba..ea1eb98 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,23 +1,81 @@ - - - - \ No newline at end of file + + + #content { + display: flex; + flex-direction: column; + justify-content: stretch; + align-items: stretch; + width: 100%; + gap: 10px; + padding: 0 20px; + } + + #content-header { + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + width: 100%; + height: 50px; + } + #page-name { + color: #fff; + letter-spacing: 1.2px; + font: italic 400 24px/125% Overpass, -apple-system, Roboto, Helvetica, + sans-serif; + } + + #content-body { + display: flex; + flex-direction: column; + width: 100%; + gap: 20px; + margin-bottom: 10px; + border-radius: 10px; + box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25); + background-color: #2c2c2c; + } + + #stuff { + display: flex; + flex-direction: column; + width: 100%; + gap: 20px; + padding: 20px 30px; + } + + \ No newline at end of file diff --git a/pages/login.vue b/pages/login.vue index 91fe27f..a83309a 100644 --- a/pages/login.vue +++ b/pages/login.vue @@ -1,5 +1,80 @@ \ No newline at end of file +
+
+
 
+
+
+ +
+
+ + + + + + + + + + \ No newline at end of file diff --git a/public/icons/Lock-Icon.svg b/public/icons/Lock-Icon.svg new file mode 100644 index 0000000..e34c949 --- /dev/null +++ b/public/icons/Lock-Icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/icons/Mail-Icon.svg b/public/icons/Mail-Icon.svg new file mode 100644 index 0000000..7f7a49d --- /dev/null +++ b/public/icons/Mail-Icon.svg @@ -0,0 +1,4 @@ + + + + diff --git a/public/icons/Dropdown-Icon.svg b/public/icons/settings-icons/Dropdown-Icon.svg similarity index 100% rename from public/icons/Dropdown-Icon.svg rename to public/icons/settings-icons/Dropdown-Icon.svg diff --git a/public/icons/Settings-Icon.svg b/public/icons/settings-icons/Settings-Icon.svg similarity index 100% rename from public/icons/Settings-Icon.svg rename to public/icons/settings-icons/Settings-Icon.svg