From 0337e498caac09f248fd4fd8079b165d332e4990 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Wed, 29 Jan 2025 18:42:30 +0100 Subject: [PATCH] feat: start migration --- .../DatePicker.client.vue | 0 .../HelpSlideover.vue | 0 .../NotificationsSlideover.vue | 0 app/_components/TeamsDropdown.vue | 54 + app/_components/UserDropdown.vue | 92 + .../home/HomeChart.client.vue | 0 .../home/HomeChart.server.vue | 0 .../home/HomeCountries.vue | 0 .../home/HomeDateRangePicker.vue | 0 .../home/HomePeriodSelect.vue | 0 .../home/HomeSales.vue | 0 .../inbox/InboxList.vue | 0 .../inbox/InboxMail.vue | 0 .../settings/DeleteAccountModal.vue | 0 .../settings/MembersForm.vue | 0 .../settings/MembersList.vue | 0 .../users/UsersForm.vue | 0 app/_pages/inbox.vue | 190 ++ app/_pages/index.vue | 90 + app/_pages/settings.vue | 40 + app/{pages => _pages}/settings/index.vue | 0 app/{pages => _pages}/settings/members.vue | 0 .../settings/notifications.vue | 0 app/_pages/users.vue | 177 ++ app/app.config.ts | 9 +- app/app.vue | 7 +- app/assets/css/main.css | 18 + app/components/TeamsDropdown.vue | 79 +- app/components/UserDropdown.vue | 196 +- app/error.vue | 14 +- app/layouts/default.vue | 132 +- app/pages/inbox.vue | 193 +- app/pages/index.vue | 93 +- app/pages/settings.vue | 30 +- app/pages/settings/[slug].vue | 5 + app/pages/users.vue | 180 +- app/types/index.d.ts | 4 +- nuxt.config.ts | 13 +- package.json | 14 +- pnpm-lock.yaml | 1764 +++++++---------- tailwind.config.ts | 12 - 41 files changed, 1673 insertions(+), 1733 deletions(-) rename app/{components => _components}/DatePicker.client.vue (100%) rename app/{components => _components}/HelpSlideover.vue (100%) rename app/{components => _components}/NotificationsSlideover.vue (100%) create mode 100644 app/_components/TeamsDropdown.vue create mode 100644 app/_components/UserDropdown.vue rename app/{components => _components}/home/HomeChart.client.vue (100%) rename app/{components => _components}/home/HomeChart.server.vue (100%) rename app/{components => _components}/home/HomeCountries.vue (100%) rename app/{components => _components}/home/HomeDateRangePicker.vue (100%) rename app/{components => _components}/home/HomePeriodSelect.vue (100%) rename app/{components => _components}/home/HomeSales.vue (100%) rename app/{components => _components}/inbox/InboxList.vue (100%) rename app/{components => _components}/inbox/InboxMail.vue (100%) rename app/{components => _components}/settings/DeleteAccountModal.vue (100%) rename app/{components => _components}/settings/MembersForm.vue (100%) rename app/{components => _components}/settings/MembersList.vue (100%) rename app/{components => _components}/users/UsersForm.vue (100%) create mode 100644 app/_pages/inbox.vue create mode 100644 app/_pages/index.vue create mode 100644 app/_pages/settings.vue rename app/{pages => _pages}/settings/index.vue (100%) rename app/{pages => _pages}/settings/members.vue (100%) rename app/{pages => _pages}/settings/notifications.vue (100%) create mode 100644 app/_pages/users.vue create mode 100644 app/assets/css/main.css create mode 100644 app/pages/settings/[slug].vue delete mode 100644 tailwind.config.ts diff --git a/app/components/DatePicker.client.vue b/app/_components/DatePicker.client.vue similarity index 100% rename from app/components/DatePicker.client.vue rename to app/_components/DatePicker.client.vue diff --git a/app/components/HelpSlideover.vue b/app/_components/HelpSlideover.vue similarity index 100% rename from app/components/HelpSlideover.vue rename to app/_components/HelpSlideover.vue diff --git a/app/components/NotificationsSlideover.vue b/app/_components/NotificationsSlideover.vue similarity index 100% rename from app/components/NotificationsSlideover.vue rename to app/_components/NotificationsSlideover.vue diff --git a/app/_components/TeamsDropdown.vue b/app/_components/TeamsDropdown.vue new file mode 100644 index 0000000..5478cf9 --- /dev/null +++ b/app/_components/TeamsDropdown.vue @@ -0,0 +1,54 @@ + + + diff --git a/app/_components/UserDropdown.vue b/app/_components/UserDropdown.vue new file mode 100644 index 0000000..8993767 --- /dev/null +++ b/app/_components/UserDropdown.vue @@ -0,0 +1,92 @@ + + + diff --git a/app/components/home/HomeChart.client.vue b/app/_components/home/HomeChart.client.vue similarity index 100% rename from app/components/home/HomeChart.client.vue rename to app/_components/home/HomeChart.client.vue diff --git a/app/components/home/HomeChart.server.vue b/app/_components/home/HomeChart.server.vue similarity index 100% rename from app/components/home/HomeChart.server.vue rename to app/_components/home/HomeChart.server.vue diff --git a/app/components/home/HomeCountries.vue b/app/_components/home/HomeCountries.vue similarity index 100% rename from app/components/home/HomeCountries.vue rename to app/_components/home/HomeCountries.vue diff --git a/app/components/home/HomeDateRangePicker.vue b/app/_components/home/HomeDateRangePicker.vue similarity index 100% rename from app/components/home/HomeDateRangePicker.vue rename to app/_components/home/HomeDateRangePicker.vue diff --git a/app/components/home/HomePeriodSelect.vue b/app/_components/home/HomePeriodSelect.vue similarity index 100% rename from app/components/home/HomePeriodSelect.vue rename to app/_components/home/HomePeriodSelect.vue diff --git a/app/components/home/HomeSales.vue b/app/_components/home/HomeSales.vue similarity index 100% rename from app/components/home/HomeSales.vue rename to app/_components/home/HomeSales.vue diff --git a/app/components/inbox/InboxList.vue b/app/_components/inbox/InboxList.vue similarity index 100% rename from app/components/inbox/InboxList.vue rename to app/_components/inbox/InboxList.vue diff --git a/app/components/inbox/InboxMail.vue b/app/_components/inbox/InboxMail.vue similarity index 100% rename from app/components/inbox/InboxMail.vue rename to app/_components/inbox/InboxMail.vue diff --git a/app/components/settings/DeleteAccountModal.vue b/app/_components/settings/DeleteAccountModal.vue similarity index 100% rename from app/components/settings/DeleteAccountModal.vue rename to app/_components/settings/DeleteAccountModal.vue diff --git a/app/components/settings/MembersForm.vue b/app/_components/settings/MembersForm.vue similarity index 100% rename from app/components/settings/MembersForm.vue rename to app/_components/settings/MembersForm.vue diff --git a/app/components/settings/MembersList.vue b/app/_components/settings/MembersList.vue similarity index 100% rename from app/components/settings/MembersList.vue rename to app/_components/settings/MembersList.vue diff --git a/app/components/users/UsersForm.vue b/app/_components/users/UsersForm.vue similarity index 100% rename from app/components/users/UsersForm.vue rename to app/_components/users/UsersForm.vue diff --git a/app/_pages/inbox.vue b/app/_pages/inbox.vue new file mode 100644 index 0000000..cfe3451 --- /dev/null +++ b/app/_pages/inbox.vue @@ -0,0 +1,190 @@ + + + diff --git a/app/_pages/index.vue b/app/_pages/index.vue new file mode 100644 index 0000000..daedef2 --- /dev/null +++ b/app/_pages/index.vue @@ -0,0 +1,90 @@ + + + diff --git a/app/_pages/settings.vue b/app/_pages/settings.vue new file mode 100644 index 0000000..b48900b --- /dev/null +++ b/app/_pages/settings.vue @@ -0,0 +1,40 @@ + + + diff --git a/app/pages/settings/index.vue b/app/_pages/settings/index.vue similarity index 100% rename from app/pages/settings/index.vue rename to app/_pages/settings/index.vue diff --git a/app/pages/settings/members.vue b/app/_pages/settings/members.vue similarity index 100% rename from app/pages/settings/members.vue rename to app/_pages/settings/members.vue diff --git a/app/pages/settings/notifications.vue b/app/_pages/settings/notifications.vue similarity index 100% rename from app/pages/settings/notifications.vue rename to app/_pages/settings/notifications.vue diff --git a/app/_pages/users.vue b/app/_pages/users.vue new file mode 100644 index 0000000..db0753a --- /dev/null +++ b/app/_pages/users.vue @@ -0,0 +1,177 @@ + + + diff --git a/app/app.config.ts b/app/app.config.ts index 812d9c1..9f027bf 100644 --- a/app/app.config.ts +++ b/app/app.config.ts @@ -1,11 +1,8 @@ export default defineAppConfig({ ui: { - primary: 'sky', - gray: 'cool', - tooltip: { - default: { - openDelay: 500 - } + colors: { + primary: 'green', + neutral: 'slate' } } }) diff --git a/app/app.vue b/app/app.vue index 82f3a0b..fdc6c6d 100644 --- a/app/app.vue +++ b/app/app.vue @@ -32,14 +32,11 @@ useSeoMeta({ diff --git a/app/assets/css/main.css b/app/assets/css/main.css new file mode 100644 index 0000000..bb9e393 --- /dev/null +++ b/app/assets/css/main.css @@ -0,0 +1,18 @@ +@import "tailwindcss"; +@import "@nuxt/ui-pro"; + +@theme { + --font-sans: 'Public Sans', sans-serif; + + --color-green-50: #EFFDF5; + --color-green-100: #D9FBE8; + --color-green-200: #B3F5D1; + --color-green-300: #75EDAE; + --color-green-400: #00DC82; + --color-green-500: #00C16A; + --color-green-600: #00A155; + --color-green-700: #007F45; + --color-green-800: #016538; + --color-green-900: #0A5331; + --color-green-950: #052E16; +} diff --git a/app/components/TeamsDropdown.vue b/app/components/TeamsDropdown.vue index 5478cf9..0dd2b67 100644 --- a/app/components/TeamsDropdown.vue +++ b/app/components/TeamsDropdown.vue @@ -1,54 +1,55 @@ diff --git a/app/components/UserDropdown.vue b/app/components/UserDropdown.vue index 8993767..35acb5d 100644 --- a/app/components/UserDropdown.vue +++ b/app/components/UserDropdown.vue @@ -1,92 +1,130 @@