OpenCode Agent
ccec8a7c2f
fix: Remove contact form and redesign contact-us page layout
2026-04-02 21:06:01 +07:00
OpenCode Agent
c643bf3b3a
fix: Add max-w-4xl to Salt Spray Test section in vineman-2
2026-04-02 20:55:57 +07:00
OpenCode Agent
c589a62b25
fix: Add max-w-4xl to remaining sections in thermobreak page
2026-04-02 20:44:46 +07:00
OpenCode Agent
d1df5c01d4
fix: Add max-w-4xl mx-auto to sections for consistent width
2026-04-02 20:41:20 +07:00
OpenCode Agent
693c5e0904
fix: Add max-w-4xl mx-auto to sections in vineman-2
2026-04-02 20:35:49 +07:00
OpenCode Agent
5159445a51
fix: Add max-w-4xl mx-auto to sections for consistent width
2026-04-02 19:04:15 +07:00
Kunthawat
8ae6f412d9
fix: Replace Chinese text in water-pump FAQ
2026-04-02 18:42:15 +07:00
Kunthawat
7b7c428ff8
fix: Add missing LINE SVG icons to CTA section buttons
...
- Fixed 14 CTA sections that were missing LINE SVG icon
- All LINE buttons now show 'แชท [LINE icon]'
2026-04-02 14:02:36 +07:00
Kunthawat
27a56af25c
fix: Add missing LINE SVG icons to all buttons
...
- Fixed 30 pages that had text without icon
- All LINE buttons now consistently show 'แชท [LINE icon]'
- Button order: text first, icon second
2026-04-02 13:41:05 +07:00
Kunthawat
97f066a9b3
fix: Remove text-white class from SVG elements
2026-04-02 13:12:30 +07:00
Kunthawat
93e2845b57
fix: Use inline SVG with text-white class for LINE icons
...
- Replaced img tags with inline SVG
- Use fill='currentColor' and class='text-white' for proper white color
- Icons now visible on both green and white button backgrounds
2026-04-02 13:08:36 +07:00
Kunthawat
70298a5ffb
fix: Fix LINE button order and icon color in CTA sections
...
- CTA buttons: swap to 'แชท [LINE icon]' order
- All LINE icons: add white filter for visibility on green buttons
- Hero section icons: add white filter to match text color
2026-04-02 12:54:08 +07:00
Kunthawat
033acab1ff
fix: Use CDN img for LINE icon instead of inline SVG
...
- Replaced problematic inline SVG with img tag from jsDelivr CDN
- More reliable rendering across browsers
- Added onerror fallback to hide if icon fails to load
- Fixed order: แชท [LINE icon]
2026-04-02 12:45:37 +07:00
Kunthawat
9541b42bbc
fix: Correct Line button order - 'แชท [Line icon]'
...
- Swapped icon and text position in all Line buttons
- Now displays: แชท [LINE icon] instead of [LINE icon] แชท
- Fixed across all product page CTA and hero buttons
2026-04-02 12:34:52 +07:00
Kunthawat
9c1104aa5e
fix: Standardize all Line buttons to 'แชท [Line icon]' pattern
...
- Updated CTA section buttons from 'Line: @dealplustech' to 'แชท [Line icon]'
- Updated hero section buttons from 'แชท Line' to 'แชท [Line icon]'
- 11 CTA buttons fixed across product pages
- 42 hero buttons fixed across 34 page files
- Added LINE SVG logo icon to all buttons
2026-04-02 11:55:49 +07:00
Kunthawat
82bae1ec17
Fix Line button - add proper SVG icon
2026-04-02 11:31:06 +07:00
Kunthawat
b1acd6aaef
Add products-raw folder for ball-jet and tevada images
2026-04-02 11:24:06 +07:00
Kunthawat
6ecbc30920
Add root-level product images to git
2026-04-02 11:19:59 +07:00
Kunthawat
23574b1038
Add essential product images to git for deployment
2026-04-02 11:15:34 +07:00
Kunthawat
43e376d99b
Add dealplustech-logo.png to git
2026-04-02 11:11:17 +07:00
Kunthawat
4424a30bee
Update Dockerfile port to 3000
2026-04-02 10:44:40 +07:00
Kunthawat
4bb73d8924
Fix Dockerfile - use Node.js 22 instead of 20 for Astro 6 compatibility
2026-04-02 10:27:32 +07:00
Kunthawat
e1aaddc9e9
Revert to Tailwind v3 with @astrojs/tailwind - use --legacy-peer-deps for compatibility
2026-04-02 10:22:53 +07:00
Kunthawat
a2cd58e434
Fix npm install - add --legacy-peer-deps for Astro 6 + tailwind compatibility
2026-04-02 10:01:18 +07:00
Kunthawat
e44f1b176d
Fix Dockerfile - use npm install instead of production to build native modules
2026-04-02 09:59:41 +07:00
Kunthawat
e1d170252b
Revert to SSR mode with Node adapter - keep consent logs backend
2026-04-02 09:54:07 +07:00
Kunthawat
df2b00a914
Auto-sync from website-creator
2026-04-02 09:40:03 +07:00
Kunthawat
82e8a5fda7
Auto-sync from website-creator
2026-04-02 09:14:46 +07:00
Kunthawat
ec03a10712
Update privacy policy and terms of service with PDPA-compliant templates
...
Privacy Policy:
- Full PDPA compliance section (13 sections)
- Data collection: contact, order, payment info
- Legal bases: consent, contract, legal obligation, legitimate interest
- Cookie policy with consent requirements
- 72-hour breach notification
- PDPC contact info
- Children/minor protection (under 20)
- Company address: 338 หมู่ 3 ตำบลดอนตะโก อำเภอเมืองราชบุรี
Terms of Service:
- Clear service description: จำหน่ายอุปกรณ์ก่อสร้างทุกชนิด
- Product listing: PPR, HDPE, UPVC pipes, fittings, valves
- Order/payment terms
- Delivery info
- 7-day return policy
- Intellectual property
- Limitation of liability
- Thai law jurisdiction
Updated: เมษายน 2569
2026-04-01 20:44:26 +07:00
Kunthawat
397bc5a29b
Fix refresh button styling - use bg-primary-500 instead of bg-primary
2026-04-01 17:47:36 +07:00
Kunthawat
88fcde1d62
Implement moreminimore-style consent backend with better-sqlite3
...
- Add @astrojs/node adapter for hybrid SSR mode
- Replace console logging with better-sqlite3 database storage
- Create data/ directory for consent.db persistence
- Full consent API: POST (log), GET (fetch), DELETE (remove)
- Admin dashboard at /admin/consent-logs.astro with:
- Password auth via sessionStorage
- Stats cards (total, analytics accepted, rejected, rate %)
- 100 latest logs table
- Export to CSV functionality
- Delete individual records
- New Dockerfile: node:20-alpine + sqlite-libs runtime
- Admin password: Coolm@n1234mo
Note: Static pages remain prerendered, only API/admin routes are SSR.
2026-04-01 15:41:46 +07:00
Kunthawat
a1c9930d49
Fix build: simplify consent API to static-compatible console logging
...
- Remove [sessionId].ts dynamic route (requires adapter in static mode)
- Simplify consent API to log to console only (no SQLite/better-sqlite3)
- Fix syntax error in consent-logs page (curly brace escaping)
- Consent logs page works for viewing instructions (password: Coolm@n1234mo)
Note: In static mode, API routes cannot actually handle POST requests.
For full runtime consent logging, would need hybrid/SSR deployment.
2026-04-01 15:23:54 +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
8cce63bba3
Create admin consent-logs page with password protection
...
Password: Coolm@n1234mo
Note: Consent logs are written to server console/Docker logs.
For full persistence, database integration needed.
2026-04-01 14:59:44 +07:00
Kunthawat
07cdc0dce3
Fix consent API: handle empty/invalid JSON body gracefully
2026-04-01 14:52:20 +07:00
Kunthawat
a5b882e212
Rename products: ท่อไซเลอร์ → ท่อ Syler, ท่อระบายน้ำ 3 ชั้น → ท่อ XYLENT
...
- Update product pages, category page, header menu, homepage
2026-04-01 14:35:02 +07:00
Kunthawat
aac2bea8d9
Fix: Product pages content and HTML issues
...
- ท่อไซเลอร์: Move images after specs with 1 column layout
- ท่อและข้อต่อpvc: Remove empty image section
- เครื่องเชื่อม-hdpe: Add full content with grooved coupling info
- เม็กกรู๊ฟ-คับปลิ้ง: Add full content with benefits list
- grilles: Remove duplicate/overflow code from hero section
2026-04-01 09:58:24 +07:00
Kunthawat
8db13220dd
Update ฉนวนหุ้มท่อ-pipe-insulation design to modern style
...
- Apply hero-gradient, card-glass, btn-white, cta-gradient
- Use section-title for consistent section headings
- Match product page design with category page style
2026-03-31 23:25:03 +07:00
Kunthawat
3935f373e9
Restore ฉนวนหุ้มท่อ-pipe-insulation content: product specs, price lists, applications
2026-03-31 23:19:06 +07:00
Kunthawat
6d41d59e53
Update Astro to latest version (5.18.1)
2026-03-31 22:56:11 +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
dbbd9e22a2
Update product pages: รั้วเทวดา, ระบบรั้วไวน์แมน, หัวจ่ายแอร์-ball-jet, ฉนวนหุ้มท่อ - add original images and content
2026-03-31 10:03:39 +07:00
Kunthawat
7ee311ab02
Add PDF price lists to 7 product pages with ราคาสินค้า sections
...
- Added 11 PDF price list files to public/documents/
- Updated 7 product pages with downloadable PDF sections:
- ฉนวนหุ้มท่อ-pipe-insulation (4 PDFs)
- เทอร์โมเบรค-thermobreak (1 PDF)
- ท่อhdpe (1 PDF)
- เม็กกรู๊ฟ-คับปลิ้ง (1 PDF)
- ท่อระบายน้ำ-3-ชั้น-ไซเลนท (2 PDFs)
- ท่อพีพีอาร์ตราช้าง (1 PDF)
- ท่อ-ppr-thai-ppr (1 PDF)
- Updated AGENTS.md files with PDF/document structure
2026-03-29 20:35:10 +07:00
Kunthawat
82ed104666
Add DUKELARRSEN page with Thai content and fix image layouts
2026-03-21 08:52:59 +07:00
Kunthawat
527170e037
Auto-sync from website-creator
2026-03-17 18:33:18 +07:00
Kunthawat
2f9969027c
fix: Increase strong font size
2026-03-17 10:42:20 +07:00
Kunthawat
76ff83cbd9
fix: Change text-base to text-lg for all pages
2026-03-17 10:24:57 +07:00
Kunthawat
a320f1f188
fix: Remove duplicate content div under product image in PPR page
2026-03-17 09:37:02 +07:00
Kunthawat
546dcd350f
fix: Add id=product-specs to specs section, merge content for PPR page
2026-03-17 09:30:33 +07:00
Kunthawat
6fa8b2f5d9
fix: Update valve page - add all valve types, valve_logo.jpg, add id to specs section
2026-03-17 09:15:25 +07:00