Commit Graph

5 Commits

Author SHA1 Message Date
Kunthawat
c99c43fd61 fix: Add Header and Footer to homepage
- Import Header and Footer components
- Add to BaseLayout slots
- Update hero image to use existing hdpe_pipe_main.jpg
- Fix featured products grid

Now pages will have header and footer!
2026-03-11 16:08:45 +07:00
Kunthawat
30976c5dd9 fix: Convert CSS to Tailwind v4 syntax
- Uses @theme for custom colors (Tailwind v4)
- Plain CSS for components (no @layer/@apply)
- CSS variables from @theme
- All old classes preserved (.btn-primary, .card, etc.)
- Fully compatible with Tailwind v4
2026-03-11 16:01:58 +07:00
Kunthawat
a82f4adee2 fix: Embed CSS directly in BaseLayout
- Removed external CSS import
- CSS now directly in <style> tag
- Tailwind @import inline
- More reliable for static builds
2026-03-11 15:38:03 +07:00
Kunthawat
b0e7b2220d fix: Add Tailwind CSS import to BaseLayout
- Created globals.css with @import 'tailwindcss'
- BaseLayout now imports globals.css
- Custom industrial theme colors defined
- Desktop-first typography preserved
- Fixes missing CSS/styling issue
2026-03-11 15:14:53 +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