Commit Graph

4 Commits

Author SHA1 Message Date
Kunthawat
1d83c90b29 fix: Use serve for production hosting
- Added 'serve' package for static file hosting
- Updated Dockerfile to use 'serve' instead of astro preview
- serve has no host restrictions
- Fixes Easypanel access issue
2026-03-11 09:35:03 +07:00
Kunthawat
28c4f8d981 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
2026-03-10 22:11:57 +07:00
Kunthawat Greethong
668f69048f fix: Add sharp for production image optimization
- Sharp required for Next.js image optimization in production
- Fixes: sharp is required to be installed in standalone mode
- Added as production dependency (--save)
2026-03-06 15:23:36 +07:00
Kunthawat Greethong
ed1150ceaf Initial commit: New industrial design with green theme 2026-02-25 22:04:30 +07:00