Commit Graph

7 Commits

Author SHA1 Message Date
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
f2c8b0f822 fix: Use original favicons + add typography guidance
- Added favicon.ico and favicon.svg from dealplustech.co.th
- Added typography guidance comment in globals.css
- NO automatic font size changes
- Use .text-base (16px) minimum for readable text
2026-03-04 14:19:54 +07:00
Kunthawat Greethong
788ade61be fix: Use original favicons from dealplustech.co.th
- Added favicon.ico and favicon.svg from original website
- Added typography guidance comment
- No font size changes, guidance only
2026-03-04 14:18:26 +07:00
Kunthawat Greethong
de116d27ac fix: Set text-xs and text-sm to 1rem minimum (16px)
- .text-xs: 1rem (16px) instead of 0.75rem (12px)
- .text-sm: 1rem (16px) instead of 0.875rem (14px)
- Large screens (1280px+): 1.125rem (18px)
- Extra large (1536px+): 1.25rem (20px)

Ensures minimum readable text size on all screens.
2026-03-04 13:21:20 +07:00
Kunthawat Greethong
ba2c5be6e0 fix: Increase only smallest text on big screens
- Base font: unchanged (16px default)
- Large screens (1280px+): 17px base (+1px only)
- Extra large (1536px+): 18px base (+2px only)
- .text-small: text-sm md:text-base (increased on medium+ screens)

Only smallest text increased, not all text sizes.
2026-03-04 12:00:25 +07:00
Kunthawat Greethong
e8dbde069c fix: Increase base font size for better readability on big screens
- Base font: 18px (was 16px)
- Large screens (1280px+): 20px
- Extra large (1536px+): 22px
- Ultra large (1920px+): 24px

- Buttons: text-lg md:text-xl (was smaller)
- Navigation: text-base md:text-lg
- Body text: text-base md:text-lg lg:text-xl
- Section titles: text-4xl md:text-5xl lg:text-6xl

- NEVER use text-xs or text-sm (too small on big screens)
- All text now scales properly for 4K displays
2026-03-04 10:57:39 +07:00
Kunthawat Greethong
ed1150ceaf Initial commit: New industrial design with green theme 2026-02-25 22:04:30 +07:00