Add CMS editors to desktop dropdown menu with proper grouping
This commit is contained in:
@@ -351,7 +351,7 @@ const client_manifest = {
|
||||
"module": true,
|
||||
"prefetch": true,
|
||||
"preload": true,
|
||||
"file": "Dry0vmdw.js",
|
||||
"file": "DKfClUWe.js",
|
||||
"name": "entry",
|
||||
"src": "node_modules/nuxt/dist/app/entry.js",
|
||||
"isEntry": true,
|
||||
|
||||
@@ -1472,7 +1472,7 @@ const _sfc_main$4 = {
|
||||
const isAdmin = computed(() => authStore.isAdmin);
|
||||
const currentSubmenu = computed(() => {
|
||||
const path = route.path;
|
||||
if (path.startsWith("/ueber-uns") || path.startsWith("/vorstand") || path.startsWith("/geschichte") || path.startsWith("/satzung") || path.startsWith("/vereinsmeisterschaften")) {
|
||||
if (path.startsWith("/verein/") || path.startsWith("/vorstand") || path.startsWith("/vereinsmeisterschaften")) {
|
||||
return "verein";
|
||||
}
|
||||
if (path.startsWith("/mannschaften") || path.startsWith("/spielsysteme")) {
|
||||
@@ -1532,7 +1532,7 @@ const _sfc_main$4 = {
|
||||
}),
|
||||
_: 1
|
||||
}, _parent));
|
||||
_push(`<button class="${ssrRenderClass([unref(route).path.startsWith("/ueber-uns") || unref(route).path.startsWith("/vorstand") || unref(route).path.startsWith("/geschichte") || unref(route).path.startsWith("/satzung") || unref(route).path.startsWith("/vereinsmeisterschaften") || currentSubmenu.value === "verein" ? "text-white bg-primary-600" : "", "px-4 py-2 text-gray-300 hover:text-white font-medium transition-all rounded-lg hover:bg-primary-700/50"])}"> Verein </button><button class="${ssrRenderClass([unref(route).path.startsWith("/mannschaften") || unref(route).path.startsWith("/spielsysteme") || currentSubmenu.value === "mannschaften" ? "text-white bg-primary-600" : "", "px-4 py-2 text-gray-300 hover:text-white font-medium transition-all rounded-lg hover:bg-primary-700/50"])}"> Mannschaften </button><button class="${ssrRenderClass([unref(route).path.startsWith("/training") || unref(route).path.startsWith("/tt-regeln") || currentSubmenu.value === "training" ? "text-white bg-primary-600" : "", "px-4 py-2 text-gray-300 hover:text-white font-medium transition-all rounded-lg hover:bg-primary-700/50"])}"> Training </button>`);
|
||||
_push(`<button class="${ssrRenderClass([unref(route).path.startsWith("/verein/") || unref(route).path.startsWith("/vorstand") || unref(route).path.startsWith("/vereinsmeisterschaften") || currentSubmenu.value === "verein" ? "text-white bg-primary-600" : "", "px-4 py-2 text-gray-300 hover:text-white font-medium transition-all rounded-lg hover:bg-primary-700/50"])}"> Verein </button><button class="${ssrRenderClass([unref(route).path.startsWith("/mannschaften") || unref(route).path.startsWith("/spielsysteme") || currentSubmenu.value === "mannschaften" ? "text-white bg-primary-600" : "", "px-4 py-2 text-gray-300 hover:text-white font-medium transition-all rounded-lg hover:bg-primary-700/50"])}"> Mannschaften </button><button class="${ssrRenderClass([unref(route).path.startsWith("/training") || unref(route).path.startsWith("/tt-regeln") || currentSubmenu.value === "training" ? "text-white bg-primary-600" : "", "px-4 py-2 text-gray-300 hover:text-white font-medium transition-all rounded-lg hover:bg-primary-700/50"])}"> Training </button>`);
|
||||
_push(ssrRenderComponent(_component_NuxtLink, {
|
||||
to: "/mitgliedschaft",
|
||||
class: "px-4 py-2 text-gray-300 hover:text-white font-medium transition-all rounded-lg hover:bg-primary-700/50",
|
||||
@@ -1614,7 +1614,7 @@ const _sfc_main$4 = {
|
||||
if (currentSubmenu.value === "verein") {
|
||||
_push(`<!--[-->`);
|
||||
_push(ssrRenderComponent(_component_NuxtLink, {
|
||||
to: "/ueber-uns",
|
||||
to: "/verein/ueber-uns",
|
||||
class: "px-2.5 py-1 text-xs text-gray-300 hover:text-white hover:bg-primary-700/50 rounded transition-all",
|
||||
"active-class": "text-white bg-primary-600"
|
||||
}, {
|
||||
@@ -1646,7 +1646,7 @@ const _sfc_main$4 = {
|
||||
_: 1
|
||||
}, _parent));
|
||||
_push(ssrRenderComponent(_component_NuxtLink, {
|
||||
to: "/geschichte",
|
||||
to: "/verein/geschichte",
|
||||
class: "px-2.5 py-1 text-xs text-gray-300 hover:text-white hover:bg-primary-700/50 rounded transition-all",
|
||||
"active-class": "text-white bg-primary-600"
|
||||
}, {
|
||||
@@ -1662,7 +1662,7 @@ const _sfc_main$4 = {
|
||||
_: 1
|
||||
}, _parent));
|
||||
_push(ssrRenderComponent(_component_NuxtLink, {
|
||||
to: "/satzung",
|
||||
to: "/verein/satzung",
|
||||
class: "px-2.5 py-1 text-xs text-gray-300 hover:text-white hover:bg-primary-700/50 rounded transition-all",
|
||||
"active-class": "text-white bg-primary-600"
|
||||
}, {
|
||||
@@ -2069,7 +2069,7 @@ const _sfc_main$4 = {
|
||||
if (mobileSubmenu.value === "verein") {
|
||||
_push(`<div class="pl-4 space-y-1 mt-1 bg-primary-900/30 rounded-lg p-2">`);
|
||||
_push(ssrRenderComponent(_component_NuxtLink, {
|
||||
to: "/ueber-uns",
|
||||
to: "/verein/ueber-uns",
|
||||
onClick: ($event) => isMobileMenuOpen.value = false,
|
||||
class: "block px-4 py-2 text-sm text-gray-400 hover:text-white hover:bg-primary-700/50 rounded-lg transition-colors"
|
||||
}, {
|
||||
@@ -2101,7 +2101,7 @@ const _sfc_main$4 = {
|
||||
_: 1
|
||||
}, _parent));
|
||||
_push(ssrRenderComponent(_component_NuxtLink, {
|
||||
to: "/geschichte",
|
||||
to: "/verein/geschichte",
|
||||
onClick: ($event) => isMobileMenuOpen.value = false,
|
||||
class: "block px-4 py-2 text-sm text-gray-400 hover:text-white hover:bg-primary-700/50 rounded-lg transition-colors"
|
||||
}, {
|
||||
@@ -2117,7 +2117,7 @@ const _sfc_main$4 = {
|
||||
_: 1
|
||||
}, _parent));
|
||||
_push(ssrRenderComponent(_component_NuxtLink, {
|
||||
to: "/satzung",
|
||||
to: "/verein/satzung",
|
||||
onClick: ($event) => isMobileMenuOpen.value = false,
|
||||
class: "block px-4 py-2 text-sm text-gray-400 hover:text-white hover:bg-primary-700/50 rounded-lg transition-colors"
|
||||
}, {
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
const interopDefault = r => r.default || r || [];
|
||||
const styles = {
|
||||
"node_modules/nuxt/dist/app/components/error-404.vue": () => import('./error-404-styles.BsF5Lbhq.mjs').then(interopDefault),
|
||||
"node_modules/nuxt/dist/app/components/error-500.vue": () => import('./error-500-styles.Dccc6iq5.mjs').then(interopDefault),
|
||||
"node_modules/nuxt/dist/app/components/error-404.vue?vue&type=style&index=0&scoped=b728498f&lang.css": () => import('./error-404-styles.BsF5Lbhq.mjs').then(interopDefault),
|
||||
"node_modules/nuxt/dist/app/components/error-500.vue?vue&type=style&index=0&scoped=70d84538&lang.css": () => import('./error-500-styles.Dccc6iq5.mjs').then(interopDefault),
|
||||
"components/Hero.vue": () => import('./Hero-styles.03iOjY05.mjs').then(interopDefault),
|
||||
"components/PublicNews.vue": () => import('./PublicNews-styles.nhqk16g5.mjs').then(interopDefault),
|
||||
"node_modules/nuxt/dist/app/components/error-404.vue": () => import('./error-404-styles.BsF5Lbhq.mjs').then(interopDefault),
|
||||
"node_modules/nuxt/dist/app/components/error-500.vue": () => import('./error-500-styles.Dccc6iq5.mjs').then(interopDefault),
|
||||
"components/Hero.vue?vue&type=style&index=0&scoped=779d39d7&lang.css": () => import('./Hero-styles.03iOjY05.mjs').then(interopDefault),
|
||||
"components/PublicNews.vue?vue&type=style&index=0&scoped=f894f108&lang.css": () => import('./PublicNews-styles.nhqk16g5.mjs').then(interopDefault)
|
||||
"components/PublicNews.vue?vue&type=style&index=0&scoped=f894f108&lang.css": () => import('./PublicNews-styles.nhqk16g5.mjs').then(interopDefault),
|
||||
"node_modules/nuxt/dist/app/components/error-404.vue?vue&type=style&index=0&scoped=b728498f&lang.css": () => import('./error-404-styles.BsF5Lbhq.mjs').then(interopDefault),
|
||||
"node_modules/nuxt/dist/app/components/error-500.vue?vue&type=style&index=0&scoped=70d84538&lang.css": () => import('./error-500-styles.Dccc6iq5.mjs').then(interopDefault)
|
||||
};
|
||||
|
||||
export { styles as default };
|
||||
|
||||
Reference in New Issue
Block a user