From a5a232bac70fc85ffb5124226b7a224f04c05a86 Mon Sep 17 00:00:00 2001 From: Alexis Date: Mon, 11 Aug 2025 20:00:04 +0200 Subject: [PATCH] Added navbar on public pages --- app/assets/_content.css | 12 +---- app/components/global/Navbar.vue | 39 +++++++++++++++ app/components/global/sidebar/Sidebar.vue | 2 +- app/components/global/user/DashboardLink.vue | 45 ++++++++++++++++++ app/error.vue | 50 +++++++++----------- app/layouts/public.vue | 33 ++++++++++++- app/pages/about.vue | 2 +- app/pages/index.vue | 42 ++++------------ i18n/i18n.config.ts | 8 ++++ 9 files changed, 157 insertions(+), 76 deletions(-) create mode 100644 app/components/global/Navbar.vue create mode 100644 app/components/global/user/DashboardLink.vue diff --git a/app/assets/_content.css b/app/assets/_content.css index a9f98a5..74ac7a1 100644 --- a/app/assets/_content.css +++ b/app/assets/_content.css @@ -42,21 +42,13 @@ /* Normal link */ p a:not([class]) { - color: var(--color-sky-600); + color: var(--color-primary); text-underline-offset: .25rem; &:hover { - color: var(--color-sky-500); + color: var(--color-accent); text-decoration: underline; } - - @variant dark { - color: var(--color-teal-500); - - &:hover { - color: var(--color-teal-300); - } - } } ul { diff --git a/app/components/global/Navbar.vue b/app/components/global/Navbar.vue new file mode 100644 index 0000000..16bc573 --- /dev/null +++ b/app/components/global/Navbar.vue @@ -0,0 +1,39 @@ + + + diff --git a/app/components/global/sidebar/Sidebar.vue b/app/components/global/sidebar/Sidebar.vue index e73bd6e..b3281c9 100644 --- a/app/components/global/sidebar/Sidebar.vue +++ b/app/components/global/sidebar/Sidebar.vue @@ -40,7 +40,7 @@ const breakpoints = useBreakpoints(