diff --git a/app/components/navigation/MainNavigation.vue b/app/components/navigation/MainNavigation.vue index 82201a1..e118640 100644 --- a/app/components/navigation/MainNavigation.vue +++ b/app/components/navigation/MainNavigation.vue @@ -9,6 +9,26 @@ + +
+
+ + +
+
+
@@ -259,6 +279,7 @@ const props = defineProps<{ hubLabel?: string quantity?: string canSearch?: boolean + showModeToggle?: boolean }>() defineEmits([ @@ -273,7 +294,8 @@ defineEmits([ 'remove-token', 'update:search-query', // Quote mode - 'search' + 'search', + 'set-catalog-mode' ]) const localePath = useLocalePath() diff --git a/app/layouts/topnav.vue b/app/layouts/topnav.vue index 7682eee..c614587 100644 --- a/app/layouts/topnav.vue +++ b/app/layouts/topnav.vue @@ -21,7 +21,9 @@ :hub-label="hubLabel" :quantity="quantity" :can-search="canSearch" + :show-mode-toggle="isCatalogSection" @toggle-theme="toggleTheme" + @set-catalog-mode="setCatalogMode" @sign-out="onClickSignOut" @sign-in="signIn()" @switch-team="switchToTeam" @@ -64,6 +66,7 @@ const { removeFilter, editFilter, catalogMode, + setCatalogMode, productLabel, hubLabel, quantity,