From 9b89177db505db723f5375c2c38a4424567cfe9b Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Thu, 7 Nov 2024 15:38:34 +0100 Subject: [PATCH] Move course session switcher to top navigation --- client/src/components/header/AccountMenu.vue | 15 +----- .../components/header/AccountMenuContent.vue | 21 +------- .../header/CourseSessionNavigation.vue | 1 + .../header/SelectedCourseSession.vue | 48 ++++++++++++++++++- client/tailwind.css | 6 ++- 5 files changed, 55 insertions(+), 36 deletions(-) diff --git a/client/src/components/header/AccountMenu.vue b/client/src/components/header/AccountMenu.vue index ac310748..8e08f713 100644 --- a/client/src/components/header/AccountMenu.vue +++ b/client/src/components/header/AccountMenu.vue @@ -1,29 +1,16 @@ diff --git a/client/src/components/header/AccountMenuContent.vue b/client/src/components/header/AccountMenuContent.vue index 7f38ea98..f7a47b42 100644 --- a/client/src/components/header/AccountMenuContent.vue +++ b/client/src/components/header/AccountMenuContent.vue @@ -1,23 +1,14 @@ + diff --git a/client/tailwind.css b/client/tailwind.css index 9e4d5e07..afd59494 100644 --- a/client/tailwind.css +++ b/client/tailwind.css @@ -176,8 +176,12 @@ textarea { @apply rounded-full bg-blue-900 px-4 py-2 font-semibold text-white; } + .nav-item-base { + @apply inline-flex items-center border-b-4 border-transparent px-1 pt-1 text-white; + } + .nav-item { - @apply inline-flex items-center border-b-4 border-transparent px-1 pt-1 text-white hover:text-sky-500; + @apply nav-item-base hover:text-sky-500; } .nav-item-no-mobile {