feat: Migrate Astro to root - Replace Next.js completely
- Removed Next.js project (src, app, components, etc.) - Moved Astro from dealplustech-astro/ to root - Updated Dockerfile for Astro root deployment - All PDPA compliance features preserved: * Cookie consent banner * Consent logging API with SQLite * Admin dashboard (/admin/consent-logs) * Privacy Policy (Thai, PDPA-compliant) * Terms & Conditions (Thai) - 15 pages: homepage, 6 products, 3 blog posts, legal pages, admin - Build: 660ms, all pages generated successfully
This commit is contained in:
57
.env.example
57
.env.example
@@ -1,42 +1,19 @@
|
||||
# Environment Configuration for Deal Plus Tech Website
|
||||
# Copy this file to .env.local and fill in the values
|
||||
# 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
|
||||
NEXT_PUBLIC_SITE_URL=https://dealplustech.co.th
|
||||
|
||||
# Contact Information
|
||||
NEXT_PUBLIC_PHONE=090-555-1415
|
||||
NEXT_PUBLIC_EMAIL=info@dealplustech.co.th
|
||||
NEXT_PUBLIC_LINE_ID=@dealplustech
|
||||
NEXT_PUBLIC_FACEBOOK_URL=https://facebook.com/dealplustech
|
||||
|
||||
# Company Information
|
||||
NEXT_PUBLIC_COMPANY_ADDRESS=บริษัท ดีล พลัส เทค จำกัด 9/70 ซอยนครลุง 17 แขวงบางไผ่ เขตบางแค กทม. 10160
|
||||
|
||||
# Google Analytics 4 (Required for tracking)
|
||||
NEXT_PUBLIC_GA_MEASUREMENT_ID=G-XXXXXXXXXX
|
||||
|
||||
# Google Search Console Verification (optional)
|
||||
# NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION=your-verification-code
|
||||
|
||||
# WordPress API (optional - for blog integration)
|
||||
# NEXT_PUBLIC_WORDPRESS_API_URL=https://your-wordpress-site.com/wp-json/wp/v2
|
||||
# Copy this file to .env.local and fill in the values
|
||||
|
||||
# Site Configuration
|
||||
NEXT_PUBLIC_SITE_URL=https://dealplustech.co.th
|
||||
|
||||
# Contact Information
|
||||
NEXT_PUBLIC_PHONE=090-555-1415
|
||||
NEXT_PUBLIC_EMAIL=dealplustech@gmail.com
|
||||
NEXT_PUBLIC_LINE_ID=jppselection
|
||||
NEXT_PUBLIC_FACEBOOK_URL=https://www.facebook.com/Dealplustech/
|
||||
|
||||
# Company Information
|
||||
NEXT_PUBLIC_COMPANY_ADDRESS=9/70 ซอยนครลุง 17 แขวงบางไผ่ เขตบางแค กทม. 10160
|
||||
|
||||
# Google Analytics (optional)
|
||||
# NEXT_PUBLIC_GA_MEASUREMENT_ID=G-XXXXXXXXXX
|
||||
|
||||
# Google Search Console Verification (optional)
|
||||
# NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION=your-verification-code
|
||||
PUBLIC_SITE_URL=https://dealplustech.co.th
|
||||
|
||||
Reference in New Issue
Block a user