Adds a self-service editor at admin.larpaso.de so texts, images, links, Impressum/Datenschutz, fonts, font sizes and colors can be changed without a developer. All homepage/legal content moves into content/site.json and a new content/theme.json drives every CSS color/font/size token; the Astro pages read from these at build time. The admin/ service (Node/Express) provides bcrypt+session login with rate limiting, a schema-driven form UI (including a hex/RGB/alpha color picker), image upload, and a publish action that runs the Astro build and republishes into a volume shared with the nginx website container - so edits go live without redeploying that container. See DEPLOYMENT_ADMIN.md for the server-side setup steps.
27 lines
357 B
Text
27 lines
357 B
Text
# build output
|
|
dist/
|
|
|
|
# generated types
|
|
.astro/
|
|
|
|
# dependencies
|
|
node_modules/
|
|
|
|
# logs
|
|
npm-debug.log*
|
|
|
|
# environment variables
|
|
.env
|
|
.env.production
|
|
|
|
# images uploaded via the admin editor (local dev only; production uses a volume)
|
|
public/uploads/*
|
|
!public/uploads/.gitkeep
|
|
|
|
# macOS-specific files
|
|
.DS_Store
|
|
|
|
# TLS keys/certs (never commit)
|
|
*.key
|
|
*.pem
|
|
*.crt
|