Commit Graph

21 Commits

Author SHA1 Message Date
Kunthawat Greethong
7a0b593f04 fix: Add .docker/Dockerfile as explicit override for Easypanel
- Create .docker/Dockerfile
- This is a standard location that Easypanel recognizes
- Overrides nixpacks auto-generation
- Simple Astro build without Next.js caching
2026-03-02 12:56:23 +07:00
Kunthawat Greethong
482e0efa70 fix: Remove content.config.ts - use Astro's default content behavior
- Delete src/content.config.ts file
- Astro uses built-in content collection defaults
- Fixes build errors from explicit schema configuration
- First deploy worked without this file
- Subsequent deploys failed because of this file
2026-03-02 12:52:08 +07:00
Kunthawat Greethong
5a2fb71c40 fix: Add nixpacks configuration for Astro deployment 2026-03-02 12:35:14 +07:00
Kunthawat Greethong
ede8e32591 feat: Fix product tables and responsive fonts
- Add product detail page ([slug].astro) with table rendering
- Display productTables from site-config.ts on product pages
- Add responsive font scaling for large screens (1280px+)
- Base font scales from 16px to 24px on 4K displays
- All text elements use responsive sizing (md/lg/xl breakpoints)
- Tables styled with green headers and alternating rows
- Add comprehensive documentation (FIXES_SUMMARY.md)

Fixes:
- Product specification tables now visible on product pages
- Font too small on large screens - now responsive
2026-03-02 12:22:13 +07:00
Kunthawat Greethong
6b453a8b86 feat: Add product specification tables for Syler, XYLENT, Realflex, and POLOPLAST
- Add 12 new specification tables to product-tables.ts
- Syler: 2 tables (pipe specs + sizes)
- XYLENT: 3 tables (specs + sizes + accessories)
- Realflex: 3 tables (specs + sizes + installation)
- POLOPLAST: 4 tables (PP-R SDR 11, SDR 6, FIBER ML5, comparison)
- Link tables to product categories in site-config.ts
- Tables extracted from dealplustech.co.th product pages
- Build verified: 69 pages generated successfully
2026-03-01 12:13:04 +07:00
Kunthawat Greethong
13436b42e5 Add SEO improvements: sitemap, robots.txt, LocalBusiness schema, GA4, llm.txt
- Add dynamic sitemap.xml generation for all pages
- Add robots.txt for search engine crawl directives
- Add LocalBusiness JSON-LD schema for local SEO
- Add BreadcrumbList schema for navigation breadcrumbs
- Add canonical URLs to all product pages
- Add Twitter Cards metadata
- Add Google Analytics 4 integration component
- Create llm.txt with all product data for AI optimization
- Create reusable UI components (Button, Card, Badge)
- Update company address to full Thai address
- Update .env.example with GA4 placeholder
2026-02-28 18:10:09 +07:00
Kunthawat Greethong
3908ddc765 Add complete SEO content for all 36 product pages
- Add keywords, seoContent, specifications, features, FAQ, and Schema.org data
- Extend types for ProductSpecification and FAQItem
- Update product page to render SEO sections with structured data
- All content in Thai for Thai market SEO optimization
2026-02-28 14:49:18 +07:00
Kunthawat Greethong
1d43a583cd Fix thermobreak image in highlight products section 2026-02-27 21:49:35 +07:00
Kunthawat Greethong
861afce086 Redesign Services page and fix featured products images on homepage 2026-02-27 21:30:29 +07:00
Kunthawat Greethong
5a31fd9723 Restore Features and Featured Products sections on homepage 2026-02-27 17:45:44 +07:00
Kunthawat Greethong
0c22cac03c Fix dev server 500 error - conditionally apply standalone output for production only 2026-02-27 13:45:22 +07:00
Kunthawat Greethong
a9e3c81fce Update hero section and add highlight products (PPR, Grilles, Thermobreak) 2026-02-27 09:20:37 +07:00
Kunthawat Greethong
dccfce8186 Fix blog tables (remark-gfm), update portfolio images, fix dropdown hover issues, remove contact form 2026-02-26 21:44:02 +07:00
Kunthawat Greethong
f54c020097 Fix Header.tsx syntax error, add all products to navigation menu
- Fixed truncated Header.tsx with missing closing tags
- Updated navigation to include all 38 products in 7 categories
- Added 2-column dropdown grid layout for desktop
- Added nested sub-categories for mobile menu
2026-02-26 10:31:41 +07:00
Kunthawat Greethong
e7adbd8e98 Change Header and Footer to white background
- Header: white background with dark text for navigation
- Footer: light gray background with dark text
- All text colors updated for readability
- No white text on white background issues
2026-02-26 09:29:26 +07:00
Kunthawat Greethong
88d06a4edd Add additional pages for complete site migration
- Added /pipe/ category page listing all pipe products
- Added /join-us/ job listings page with benefits
- Added /sales-engineer/ job detail page
- Added /all-projects/ page listing all portfolio projects
- Total 68 static pages generated
2026-02-26 07:48:36 +07:00
Kunthawat Greethong
1ecd405eca Fix Thai URL decoding in catch-all route
- Added decodeURIComponent to handle URL-encoded Thai characters
- All product and portfolio pages now work correctly
- 64 static pages generated successfully
2026-02-26 07:37:12 +07:00
Kunthawat Greethong
90917b85d0 Add portfolio projects to catch-all route
- Updated [...slug] to handle both product categories and portfolio projects
- Added 15 portfolio project pages
- Added PortfolioProject type to types/index.ts
- Build now generates 64 static pages (38 products + 15 portfolio + 3 blog + 8 main)
2026-02-26 07:18:18 +07:00
Kunthawat Greethong
b4b344e6ae Update site-config.ts with original URL structure from dealplustech.co.th
- Changed product URLs to match original site (e.g., /ท่อพีพีอาร์ตราช้าง/)
- Added 15 portfolio projects with original URLs
- Updated mainNavigation to match original menu structure
- Build passes with 38 product paths generated
2026-02-26 06:57:14 +07:00
Kunthawat Greethong
8983aebe95 Add product pages, real logo, and update phone number 2026-02-25 22:27:55 +07:00
Kunthawat Greethong
ed1150ceaf Initial commit: New industrial design with green theme 2026-02-25 22:04:30 +07:00