From 72324b84398e04e15b17f87275ac6b7f18240ae5 Mon Sep 17 00:00:00 2001 From: Hayden <64056131+hay-kot@users.noreply.github.com> Date: Sat, 1 Oct 2022 12:13:53 -0800 Subject: [PATCH] add user profiles and theme selectors --- frontend/app.vue | 6 +- frontend/components/App/Logo.vue | 3 +- frontend/components/Base/Details.vue | 44 --- frontend/components/Base/SectionHeader.vue | 2 +- frontend/components/Form/DatePicker.vue | 2 +- .../global/DetailsSection/DetailsSection.vue | 4 +- frontend/composables/use-preferences.ts | 33 ++ frontend/composables/use-theme.ts | 42 +++ frontend/pages/home.vue | 8 +- frontend/pages/item/[id]/edit.vue | 8 +- frontend/pages/item/[id]/index.vue | 302 +++++++++++------- frontend/pages/label/[id].vue | 4 +- frontend/pages/location/[id].vue | 4 +- frontend/pages/profile.vue | 190 +++++++++++ 14 files changed, 466 insertions(+), 186 deletions(-) delete mode 100644 frontend/components/Base/Details.vue create mode 100644 frontend/composables/use-theme.ts create mode 100644 frontend/pages/profile.vue diff --git a/frontend/app.vue b/frontend/app.vue index b659bb0..ca390af 100644 --- a/frontend/app.vue +++ b/frontend/app.vue @@ -1,6 +1,10 @@ + + diff --git a/frontend/components/App/Logo.vue b/frontend/components/App/Logo.vue index 72c0c4f..da16ab6 100644 --- a/frontend/components/App/Logo.vue +++ b/frontend/components/App/Logo.vue @@ -29,8 +29,9 @@ /> -
-
-

- -

-

- -

-
-
-
-
-
- {{ dKey }} -
-
- - {{ dValue }} - -
-
-
-
-
- - - - - diff --git a/frontend/components/Base/SectionHeader.vue b/frontend/components/Base/SectionHeader.vue index 13442bd..43fa8b2 100644 --- a/frontend/components/Base/SectionHeader.vue +++ b/frontend/components/Base/SectionHeader.vue @@ -9,7 +9,7 @@ > -

+

diff --git a/frontend/components/Form/DatePicker.vue b/frontend/components/Form/DatePicker.vue index 113ffe9..b8731fa 100644 --- a/frontend/components/Form/DatePicker.vue +++ b/frontend/components/Form/DatePicker.vue @@ -1,5 +1,5 @@