Refactor environment configuration for local development; update SMTP settings and add JWT secret, encryption key, and debug options. Enhance Nuxt configuration for development server and runtime settings. Introduce new membership application form with validation and PDF generation functionality. Update footer and navigation components to include new membership links. Revise user and session data in JSON files.

This commit is contained in:
Torsten Schulz (local)
2025-10-23 01:31:45 +02:00
parent de73ceb62f
commit 7cd39bb452
43 changed files with 3350 additions and 457 deletions

18
scripts/fetch-template.sh Normal file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env bash
set -euo pipefail
# Lädt das offizielle Aufnahmeantrag-PDF in server/templates/
# Usage: ./scripts/fetch-template.sh [URL]
# Default URL: https://harheimertc.de/Aufnahmeantrag%202025.pdf
TEMPLATE_URL=${1:-"https://harheimertc.de/Aufnahmeantrag%202025.pdf"}
TEMPLATES_DIR="$(pwd)/server/templates"
mkdir -p "$TEMPLATES_DIR"
echo "Lade Template von: $TEMPLATE_URL"
curl -fL "$TEMPLATE_URL" -o "$TEMPLATES_DIR/Aufnahmeantrag 2025.pdf"
echo "Template gespeichert als: $TEMPLATES_DIR/Aufnahmeantrag 2025.pdf"
chmod 644 "$TEMPLATES_DIR/Aufnahmeantrag 2025.pdf"
echo "Fertig."