154 lines
8.0 KiB
JavaScript
154 lines
8.0 KiB
JavaScript
import { u as useAuthStore, _ as __nuxt_component_0$1 } from './server.mjs';
|
|
import { mergeProps, withCtx, unref, createVNode, useSSRContext } from 'vue';
|
|
import { ssrRenderAttrs, ssrRenderComponent, ssrInterpolate } from 'vue/server-renderer';
|
|
import { User, Users, Newspaper, Check } from 'lucide-vue-next';
|
|
import { u as useHead } from './composables-CK-Mp9jS.mjs';
|
|
import '../nitro/nitro.mjs';
|
|
import 'node:http';
|
|
import 'node:https';
|
|
import 'node:events';
|
|
import 'node:buffer';
|
|
import 'node:fs';
|
|
import 'node:path';
|
|
import 'node:crypto';
|
|
import 'node:url';
|
|
import '../routes/renderer.mjs';
|
|
import 'vue-bundle-renderer/runtime';
|
|
import 'unhead/server';
|
|
import 'devalue';
|
|
import 'unhead/utils';
|
|
import 'pinia';
|
|
import 'vue-router';
|
|
|
|
const _sfc_main = {
|
|
__name: "index",
|
|
__ssrInlineRender: true,
|
|
setup(__props) {
|
|
const authStore = useAuthStore();
|
|
useHead({
|
|
title: "Mitgliederbereich - Harheimer TC"
|
|
});
|
|
return (_ctx, _push, _parent, _attrs) => {
|
|
const _component_NuxtLink = __nuxt_component_0$1;
|
|
_push(`<div${ssrRenderAttrs(mergeProps({ class: "min-h-full py-16 bg-gray-50" }, _attrs))}><div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"><h1 class="text-4xl sm:text-5xl font-display font-bold text-gray-900 mb-6"> Mitgliederbereich </h1><div class="w-24 h-1 bg-primary-600 mb-8"></div><div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6 mb-8">`);
|
|
_push(ssrRenderComponent(_component_NuxtLink, {
|
|
to: "/mitgliederbereich/profil",
|
|
class: "bg-white p-6 rounded-xl shadow-lg border border-gray-100 hover:shadow-xl transition-all group"
|
|
}, {
|
|
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
if (_push2) {
|
|
_push2(`<div class="flex items-center mb-4"${_scopeId}><div class="w-12 h-12 bg-primary-100 rounded-lg flex items-center justify-center group-hover:bg-primary-600 transition-colors"${_scopeId}>`);
|
|
_push2(ssrRenderComponent(unref(User), {
|
|
size: 24,
|
|
class: "text-primary-600 group-hover:text-white"
|
|
}, null, _parent2, _scopeId));
|
|
_push2(`</div><h2 class="ml-4 text-xl font-semibold text-gray-900"${_scopeId}>Mein Profil</h2></div><p class="text-gray-600"${_scopeId}> Persönliche Daten und Passwort verwalten </p>`);
|
|
} else {
|
|
return [
|
|
createVNode("div", { class: "flex items-center mb-4" }, [
|
|
createVNode("div", { class: "w-12 h-12 bg-primary-100 rounded-lg flex items-center justify-center group-hover:bg-primary-600 transition-colors" }, [
|
|
createVNode(unref(User), {
|
|
size: 24,
|
|
class: "text-primary-600 group-hover:text-white"
|
|
})
|
|
]),
|
|
createVNode("h2", { class: "ml-4 text-xl font-semibold text-gray-900" }, "Mein Profil")
|
|
]),
|
|
createVNode("p", { class: "text-gray-600" }, " Persönliche Daten und Passwort verwalten ")
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent));
|
|
_push(ssrRenderComponent(_component_NuxtLink, {
|
|
to: "/mitgliederbereich/mitglieder",
|
|
class: "bg-white p-6 rounded-xl shadow-lg border border-gray-100 hover:shadow-xl transition-all group"
|
|
}, {
|
|
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
if (_push2) {
|
|
_push2(`<div class="flex items-center mb-4"${_scopeId}><div class="w-12 h-12 bg-primary-100 rounded-lg flex items-center justify-center group-hover:bg-primary-600 transition-colors"${_scopeId}>`);
|
|
_push2(ssrRenderComponent(unref(Users), {
|
|
size: 24,
|
|
class: "text-primary-600 group-hover:text-white"
|
|
}, null, _parent2, _scopeId));
|
|
_push2(`</div><h2 class="ml-4 text-xl font-semibold text-gray-900"${_scopeId}>Mitglieder</h2></div><p class="text-gray-600"${_scopeId}> Kontaktdaten der Vereinsmitglieder </p>`);
|
|
} else {
|
|
return [
|
|
createVNode("div", { class: "flex items-center mb-4" }, [
|
|
createVNode("div", { class: "w-12 h-12 bg-primary-100 rounded-lg flex items-center justify-center group-hover:bg-primary-600 transition-colors" }, [
|
|
createVNode(unref(Users), {
|
|
size: 24,
|
|
class: "text-primary-600 group-hover:text-white"
|
|
})
|
|
]),
|
|
createVNode("h2", { class: "ml-4 text-xl font-semibold text-gray-900" }, "Mitglieder")
|
|
]),
|
|
createVNode("p", { class: "text-gray-600" }, " Kontaktdaten der Vereinsmitglieder ")
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent));
|
|
_push(ssrRenderComponent(_component_NuxtLink, {
|
|
to: "/mitgliederbereich/news",
|
|
class: "bg-white p-6 rounded-xl shadow-lg border border-gray-100 hover:shadow-xl transition-all group"
|
|
}, {
|
|
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
if (_push2) {
|
|
_push2(`<div class="flex items-center mb-4"${_scopeId}><div class="w-12 h-12 bg-primary-100 rounded-lg flex items-center justify-center group-hover:bg-primary-600 transition-colors"${_scopeId}>`);
|
|
_push2(ssrRenderComponent(unref(Newspaper), {
|
|
size: 24,
|
|
class: "text-primary-600 group-hover:text-white"
|
|
}, null, _parent2, _scopeId));
|
|
_push2(`</div><h2 class="ml-4 text-xl font-semibold text-gray-900"${_scopeId}>Interne News</h2></div><p class="text-gray-600"${_scopeId}> Neuigkeiten und Ankündigungen </p>`);
|
|
} else {
|
|
return [
|
|
createVNode("div", { class: "flex items-center mb-4" }, [
|
|
createVNode("div", { class: "w-12 h-12 bg-primary-100 rounded-lg flex items-center justify-center group-hover:bg-primary-600 transition-colors" }, [
|
|
createVNode(unref(Newspaper), {
|
|
size: 24,
|
|
class: "text-primary-600 group-hover:text-white"
|
|
})
|
|
]),
|
|
createVNode("h2", { class: "ml-4 text-xl font-semibold text-gray-900" }, "Interne News")
|
|
]),
|
|
createVNode("p", { class: "text-gray-600" }, " Neuigkeiten und Ankündigungen ")
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent));
|
|
_push(`</div><div class="bg-white p-8 rounded-xl shadow-lg border border-gray-100"><h2 class="text-2xl font-display font-bold text-gray-900 mb-4"> Willkommen, ${ssrInterpolate(unref(authStore).user?.name || "Mitglied")}! </h2><p class="text-gray-600 mb-6"> Hier finden Sie alle wichtigen Informationen und Funktionen für Mitglieder des Harheimer TC. </p><div class="grid sm:grid-cols-2 gap-4"><div class="flex items-start">`);
|
|
_push(ssrRenderComponent(unref(Check), {
|
|
size: 20,
|
|
class: "text-primary-600 mr-2 mt-0.5"
|
|
}, null, _parent));
|
|
_push(`<span class="text-gray-700">Zugriff auf Mitgliederliste mit Kontaktdaten</span></div><div class="flex items-start">`);
|
|
_push(ssrRenderComponent(unref(Check), {
|
|
size: 20,
|
|
class: "text-primary-600 mr-2 mt-0.5"
|
|
}, null, _parent));
|
|
_push(`<span class="text-gray-700">Interne Vereinsnews und Ankündigungen</span></div><div class="flex items-start">`);
|
|
_push(ssrRenderComponent(unref(Check), {
|
|
size: 20,
|
|
class: "text-primary-600 mr-2 mt-0.5"
|
|
}, null, _parent));
|
|
_push(`<span class="text-gray-700">Profilverwaltung und Passwort ändern</span></div><div class="flex items-start">`);
|
|
_push(ssrRenderComponent(unref(Check), {
|
|
size: 20,
|
|
class: "text-primary-600 mr-2 mt-0.5"
|
|
}, null, _parent));
|
|
_push(`<span class="text-gray-700">Weitere Funktionen folgen in Kürze</span></div></div></div></div></div>`);
|
|
};
|
|
}
|
|
};
|
|
const _sfc_setup = _sfc_main.setup;
|
|
_sfc_main.setup = (props, ctx) => {
|
|
const ssrContext = useSSRContext();
|
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("pages/mitgliederbereich/index.vue");
|
|
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
};
|
|
|
|
export { _sfc_main as default };
|
|
//# sourceMappingURL=index-D7JtbHaf.mjs.map
|