feat: Add complete PDPA compliance pages
- Admin dashboard (/admin/consent-logs) with password auth - Consent API (/api/consent) with SQLite + IP hashing - Privacy Policy (Thai) - PDPA Section 36 compliant - Terms & Conditions (Thai) - 9 standard clauses - .env.example template with Umami placeholder All pages preserve current design system.
This commit is contained in:
19
dealplustech-astro/.env.example
Normal file
19
dealplustech-astro/.env.example
Normal file
@@ -0,0 +1,19 @@
|
||||
# Environment Variables for Deal Plus Tech Astro Website
|
||||
|
||||
# Umami Analytics (optional - setup later)
|
||||
PUBLIC_UMAMI_WEBSITE_ID=your-website-id-here
|
||||
PUBLIC_UMAMI_DOMAIN=https://analytics.moreminimore.com
|
||||
|
||||
# Admin Dashboard
|
||||
ADMIN_PASSWORD=changeme
|
||||
|
||||
# Database Configuration
|
||||
# For development (SQLite file)
|
||||
ASTRO_DB_REMOTE_URL=file:./data/consent.db
|
||||
|
||||
# For production (Turso - optional)
|
||||
# ASTRO_DB_REMOTE_URL=libsql://your-db.turso.io
|
||||
# ASTRO_DB_APP_TOKEN=your-turso-token
|
||||
|
||||
# Site Configuration
|
||||
PUBLIC_SITE_URL=https://dealplustech.co.th
|
||||
Reference in New Issue
Block a user