Update CMS navigation links and remove membership application page

This commit modifies the Navigation component and the CMS index page to replace the "Mitglieder" link with "Mitgliederverwaltung" and updates the corresponding route. Additionally, it removes the outdated "mitgliedschaftsantraege" page, streamlining the CMS structure and improving user navigation.
This commit is contained in:
Torsten Schulz (local)
2026-02-09 09:58:46 +01:00
parent 80c2b0bfeb
commit 905e02debf
7 changed files with 1291 additions and 449 deletions

View File

@@ -12,16 +12,13 @@ export function getCookieSecureDefault() {
export function getSameSiteDefault() {
// Cookie SameSite-Konfiguration
// - 'none': Erlaubt Cookies in Cross-Site-iframes (erfordert Secure: true)
// - 'lax': Erlaubt Cookies bei Navigation (Standard für Cross-Site)
// - 'strict': Blockiert alle Cross-Site-Cookies (sicherste Option, blockiert iframes)
// - 'lax': Erlaubt Cookies bei Navigation (Standard)
// - 'strict': Blockiert alle Cross-Site-Cookies (sicherste Option)
// - 'none': Erlaubt Cookies in Cross-Site-iframes (erfordert Secure: true / HTTPS)
const v = (process.env.COOKIE_SAMESITE || '').toLowerCase().trim()
if (v === 'strict' || v === 'lax' || v === 'none') return v
// Default: 'none' für Cross-Site-iframes (wenn in iframe eingebettet)
// WICHTIG: SameSite: none erfordert Secure: true (HTTPS)
// Falls iframe-Einbettung nicht benötigt wird, kann auf 'strict' oder 'lax' geändert werden
return 'none' // Ermöglicht Einbettung in iframes (z.B. von harheimertc.de)
return 'lax'
}
export function getAuthCookieOptions() {