Commit Graph

6 Commits

Author SHA1 Message Date
OpenCode Agent
ef0b2a7415 Auto-sync from website-creator 2026-04-02 22:28:58 +07:00
Kunthawat
41bf954d80 Implement full consent logging system with SQLite database
- Install better-sqlite3 and @astrojs/node adapter
- Update consent API to use SQLite database
- Add DELETE endpoint for consent logs
- Update admin consent-logs page with full UI (stats, table, export, delete)
- Add sessionId to consent tracking
- Admin password: Coolm@n1234mo

Note: Database stored at data/consent.db (gitignored)
2026-04-01 15:09:16 +07:00
Kunthawat
9cddd3da57 Refactor: Update category structure, mega menu, footer, and remove unused pages
- Move DURGO from ระบบน้ำ to อุปกรณ์ปรับอากาศ
- Add -category suffix to อุปกรณ์ดับเพลิง and ฉนวนหุ้มท่อ category pages
- Update Header mega menu with correct category slugs
- Fix Footer layout: split categories to 2 columns, remove quick links
- Delete unused pages: all-projects, join-us, services, product
- All product images fixed to 1:1 aspect ratio
2026-03-31 22:54:54 +07:00
Kunthawat
76ff83cbd9 fix: Change text-base to text-lg for all pages 2026-03-17 10:24:57 +07:00
Kunthawat
ee4f3e9c51 Fix all product pages with REAL crawled content
 Regenerated 34 product pages with actual crawled content
 Mapped correct product images to each page (1,348 images)
 Green color theme from original logo
 Mega menu with proper categories
 Homepage with PPR product images (not banners)
 Footer with main categories only
 Logo without text

Fixed issues:
- All product pages now use REAL content from dealplustech.co.th
- Product images mapped correctly (not logo!)
- Green theme (#3f8b6d) matches original website
- All 1,348 images available in /images/products-misc/
2026-03-14 09:43:06 +07:00
Kunthawat Greethong
5f9673aac4 Initial commit - Deal Plus Tech Astro Website
 53 pages (34 products + corporate)
 All logo images
 Nginx Dockerfile (production-ready)
 PDPA compliant (cookie consent)
 Modern design with Kanit font
 Line + Phone buttons on products

Built: 2026-03-13
2026-03-13 10:38:49 +07:00