Files
dealplustech/.next/server/app/page.js
Kunthawat Greethong 45961b8d76 refactor: Move Astro project to root directory
- Move all Astro files from dealplustech-astro/ to root
- Archive Next.js code in _nextjs-backup/
- Update .gitignore for Astro project
- Simplify project structure

This completes the migration from Next.js to Astro.
The Astro project is now at the root level.
2026-03-03 10:21:42 +07:00

1 line
16 KiB
JavaScript

(()=>{var e={};e.id=931,e.ids=[931],e.modules={7849:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external")},2934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},5403:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external")},4580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},4749:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external")},5869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},6986:(e,s,t)=>{"use strict";t.r(s),t.d(s,{GlobalError:()=>i.a,__next_app__:()=>m,originalPathname:()=>x,pages:()=>d,routeModule:()=>h,tree:()=>c}),t(5480),t(6670),t(2523);var r=t(3191),a=t(8716),n=t(7922),i=t.n(n),l=t(5231),o={};for(let e in l)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(o[e]=()=>l[e]);t.d(s,o);let c=["",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(t.bind(t,5480)),"/Users/kunthawatgreethong/Gitea/dealplustech/src/app/page.tsx"]}]},{layout:[()=>Promise.resolve().then(t.bind(t,6670)),"/Users/kunthawatgreethong/Gitea/dealplustech/src/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(t.bind(t,2523)),"/Users/kunthawatgreethong/Gitea/dealplustech/src/app/not-found.tsx"]}],d=["/Users/kunthawatgreethong/Gitea/dealplustech/src/app/page.tsx"],x="/page",m={require:t,loadChunk:()=>Promise.resolve()},h=new r.AppPageRouteModule({definition:{kind:a.x.APP_PAGE,page:"/page",pathname:"/",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:c}})},9611:(e,s,t)=>{Promise.resolve().then(t.t.bind(t,2481,23)),Promise.resolve().then(t.t.bind(t,9404,23))},5480:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>l});var r=t(9510),a=t(7710),n=t(7371),i=t(4927);function l(){let e=[i.ZH.find(e=>"ppr-elephant"===e.id),i.ZH.find(e=>"hdpe"===e.id),i.ZH.find(e=>"valve"===e.id),i.ZH.find(e=>"grilles"===e.id),i.ZH.find(e=>"thermobreak"===e.id),i.ZH.find(e=>"upvc"===e.id)];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("section",{className:"relative h-[70vh] min-h-[500px] bg-secondary-900",children:[r.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-secondary-900 via-secondary-900/90 to-secondary-900/60 z-10"}),r.jsx(a.default,{src:"/images/2021/03/ppr-pipe_000C.jpg",alt:"ท่อพีพีอาร์คุณภาพสูง",fill:!0,className:"object-cover opacity-50",priority:!0}),r.jsx("div",{className:"relative z-20 container mx-auto px-4 h-full flex items-center",children:(0,r.jsxs)("div",{className:"max-w-2xl",children:[r.jsx("span",{className:"inline-block px-4 py-2 bg-primary-600 text-white font-semibold mb-4 rounded",children:"ผู้เชี่ยวชาญด้านระบบท่อและ HVAC"}),(0,r.jsxs)("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-white mb-6 leading-tight",children:["วัสดุท่อ อุปกรณ์ HVAC",r.jsx("span",{className:"text-primary-400 block",children:"และฉนวนหุ้มท่อ"})]}),r.jsx("p",{className:"text-lg md:text-xl text-secondary-200 mb-8",children:"จำหน่ายและติดตั้งท่อ PPR, ท่อ HDPE, กริลแอร์, เทอร์โมเบรค และอุปกรณ์ระบบท่อครบวงจร พร้อมบริการให้คำปรึกษาจากทีมมืออาชีพ"}),(0,r.jsxs)("div",{className:"flex flex-wrap gap-4",children:[r.jsx(n.default,{href:"/product",className:"btn-primary",children:"ดูสินค้าทั้งหมด"}),r.jsx(n.default,{href:"/contact-us",className:"btn-outline border-white text-white hover:bg-white hover:text-secondary-900",children:"ขอใบเสนอราคา"})]})]})})]}),r.jsx("section",{className:"py-16 bg-secondary-800",children:r.jsx("div",{className:"container mx-auto px-4",children:(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:[(0,r.jsxs)("div",{className:"text-center p-6",children:[r.jsx("div",{className:"w-16 h-16 bg-primary-600 rounded-lg flex items-center justify-center mx-auto mb-4",children:r.jsx("svg",{className:"w-8 h-8 text-white",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:r.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z"})})}),r.jsx("h3",{className:"text-xl font-bold text-white mb-2",children:"สินค้าคุณภาพ"}),r.jsx("p",{className:"text-secondary-300",children:"สินค้าทุกชิ้นผ่านมาตรฐานคุณภาพ พร้อมรับประกัน"})]}),(0,r.jsxs)("div",{className:"text-center p-6",children:[r.jsx("div",{className:"w-16 h-16 bg-primary-600 rounded-lg flex items-center justify-center mx-auto mb-4",children:r.jsx("svg",{className:"w-8 h-8 text-white",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:r.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 10V3L4 14h7v7l9-11h-7z"})})}),r.jsx("h3",{className:"text-xl font-bold text-white mb-2",children:"จัดส่งรวดเร็ว"}),r.jsx("p",{className:"text-secondary-300",children:"จัดส่งสินค้าทั่วประเทศ รวดเร็วและปลอดภัย"})]}),(0,r.jsxs)("div",{className:"text-center p-6",children:[r.jsx("div",{className:"w-16 h-16 bg-primary-600 rounded-lg flex items-center justify-center mx-auto mb-4",children:r.jsx("svg",{className:"w-8 h-8 text-white",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:r.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M18.364 5.636l-3.536 3.536m0 5.656l3.536 3.536M9.172 9.172L5.636 5.636m3.536 9.192l-3.536 3.536M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-5 0a4 4 0 11-8 0 4 4 0 018 0z"})})}),r.jsx("h3",{className:"text-xl font-bold text-white mb-2",children:"บริการหลังการขาย"}),r.jsx("p",{className:"text-secondary-300",children:"ทีมงานพร้อมให้คำปรึกษาและดูแลอย่างต่อเนื่อง"})]})]})})}),r.jsx("section",{className:"py-16 bg-secondary-50",children:(0,r.jsxs)("div",{className:"container mx-auto px-4",children:[(0,r.jsxs)("div",{className:"text-center mb-12",children:[(0,r.jsxs)("h2",{className:"text-3xl md:text-4xl font-bold text-secondary-900 mb-4",children:["สินค้า",r.jsx("span",{className:"text-primary-600",children:"เด่น"})]}),r.jsx("p",{className:"text-secondary-600 text-lg",children:"ผลิตภัณฑ์คุณภาพสูงที่ได้รับความนิยม"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:[(0,r.jsxs)(n.default,{href:"/ท่อพีพีอาร์ตราช้าง",className:"group relative overflow-hidden rounded-2xl aspect-[4/5] bg-secondary-900",children:[r.jsx(a.default,{src:"/images/2021/03/ppr-pipe_000C.jpg",alt:"ท่อ PPR ตราช้าง",fill:!0,className:"object-cover group-hover:scale-110 transition-transform duration-500"}),r.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-secondary-900 via-secondary-900/40 to-transparent"}),(0,r.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 p-6",children:[r.jsx("span",{className:"inline-block px-3 py-1 bg-primary-600 text-white text-sm font-semibold rounded mb-3",children:"ท่อ | Pipe"}),r.jsx("h3",{className:"text-2xl font-bold text-white mb-2",children:"ท่อ PPR ตราช้าง"}),r.jsx("p",{className:"text-secondary-200 text-sm mb-4",children:"ท่อพีพีอาร์คุณภาพสูง SCG มาตรฐาน DIN 8077/8078 ทนแรงดัน 20 บาร์ อายุการใช้งาน 50+ ปี"}),(0,r.jsxs)("span",{className:"inline-flex items-center gap-2 text-primary-400 font-semibold group-hover:text-primary-300 transition-colors",children:["ดูรายละเอียด",r.jsx("svg",{className:"w-4 h-4 group-hover:translate-x-2 transition-transform",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:r.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 8l4 4m0 0l-4 4m4-4H3"})})]})]})]}),(0,r.jsxs)(n.default,{href:"/หัวจ่ายลม-กริล",className:"group relative overflow-hidden rounded-2xl aspect-[4/5] bg-secondary-900",children:[r.jsx(a.default,{src:"/images/2021/03/grilles_000C.jpg",alt:"กริลแอร์พลาสติก",fill:!0,className:"object-cover group-hover:scale-110 transition-transform duration-500"}),r.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-secondary-900 via-secondary-900/40 to-transparent"}),(0,r.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 p-6",children:[r.jsx("span",{className:"inline-block px-3 py-1 bg-primary-600 text-white text-sm font-semibold rounded mb-3",children:"อุปกรณ์ปรับอากาศ"}),r.jsx("h3",{className:"text-2xl font-bold text-white mb-2",children:"กริลแอร์พลาสติก"}),r.jsx("p",{className:"text-secondary-200 text-sm mb-4",children:"หัวจ่ายลมพลาสติก Ball Jet สำหรับระบบปรับอากาศ ทนทาน กะทัดรัด ติดตั้งง่าย"}),(0,r.jsxs)("span",{className:"inline-flex items-center gap-2 text-primary-400 font-semibold group-hover:text-primary-300 transition-colors",children:["ดูรายละเอียด",r.jsx("svg",{className:"w-4 h-4 group-hover:translate-x-2 transition-transform",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:r.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 8l4 4m0 0l-4 4m4-4H3"})})]})]})]}),(0,r.jsxs)(n.default,{href:"/เทอร์โมเบรค-thermobreak",className:"group relative overflow-hidden rounded-2xl aspect-[4/5] bg-secondary-900",children:[r.jsx(a.default,{src:"/images/2025/01/thermobrek_cover_000C.jpg",alt:"เทอร์โมเบรค Thermobreak",fill:!0,className:"object-cover group-hover:scale-110 transition-transform duration-500"}),r.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-secondary-900 via-secondary-900/40 to-transparent"}),(0,r.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 p-6",children:[r.jsx("span",{className:"inline-block px-3 py-1 bg-primary-600 text-white text-sm font-semibold rounded mb-3",children:"ฉนวนหุ้มท่อ"}),r.jsx("h3",{className:"text-2xl font-bold text-white mb-2",children:"เทอร์โมเบรค"}),r.jsx("p",{className:"text-secondary-200 text-sm mb-4",children:"ฉนวนหุ้มท่อ Polyolefin Foam มาตรฐาน FM/UL สำหรับ HVAC ประหยัดพลังงาน"}),(0,r.jsxs)("span",{className:"inline-flex items-center gap-2 text-primary-400 font-semibold group-hover:text-primary-300 transition-colors",children:["ดูรายละเอียด",r.jsx("svg",{className:"w-4 h-4 group-hover:translate-x-2 transition-transform",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:r.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 8l4 4m0 0l-4 4m4-4H3"})})]})]})]})]})]})}),r.jsx("section",{className:"py-16",children:(0,r.jsxs)("div",{className:"container mx-auto px-4",children:[(0,r.jsxs)("div",{className:"text-center mb-12",children:[(0,r.jsxs)("h2",{className:"section-title",children:["สินค้า",r.jsx("span",{className:"text-primary-600",children:"แนะนำ"})]}),r.jsx("p",{className:"section-subtitle",children:"ผลิตภัณฑ์คุณภาพสูงที่ได้รับความนิยมจากลูกค้า"})]}),r.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:e.map(e=>(0,r.jsxs)(n.default,{href:e.href,className:"card group",children:[(0,r.jsxs)("div",{className:"relative aspect-video bg-secondary-100",children:[r.jsx(a.default,{src:e.image,alt:e.name,fill:!0,className:"object-cover group-hover:scale-105 transition-transform duration-300"}),r.jsx("div",{className:"absolute top-4 left-4",children:r.jsx("span",{className:"industrial-badge",children:e.nameEn})})]}),(0,r.jsxs)("div",{className:"p-6",children:[r.jsx("h3",{className:"text-xl font-bold text-secondary-900 mb-2 group-hover:text-primary-600 transition-colors",children:e.name}),r.jsx("p",{className:"text-secondary-600 text-sm mb-4",children:e.shortDescription||e.description.slice(0,100)+"..."}),(0,r.jsxs)("span",{className:"text-primary-600 font-semibold flex items-center gap-2",children:["ดูรายละเอียด",r.jsx("svg",{className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:r.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]})]})]},e.id))}),r.jsx("div",{className:"text-center mt-12",children:r.jsx(n.default,{href:"/product",className:"btn-secondary",children:"ดูสินค้าทั้งหมด"})})]})}),r.jsx("section",{className:"py-16 bg-primary-600",children:(0,r.jsxs)("div",{className:"container mx-auto px-4 text-center",children:[r.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-white mb-4",children:"พร้อมเริ่มโครงการของคุณ?"}),r.jsx("p",{className:"text-primary-100 text-lg mb-8 max-w-2xl mx-auto",children:"ติดต่อเราวันนี้เพื่อรับคำปรึกษาและใบเสนอราคาฟรี"}),(0,r.jsxs)("div",{className:"flex flex-wrap justify-center gap-4",children:[(0,r.jsxs)("a",{href:`tel:${i.JA.phone}`,className:"btn-secondary bg-white text-primary-600 hover:bg-primary-50",children:["โทรหาเรา: ",i.JA.phone]}),r.jsx(n.default,{href:"/contact-us",className:"btn-outline border-white text-white hover:bg-white hover:text-primary-600",children:"ส่งข้อความ"})]})]})}),r.jsx("section",{className:"py-16",children:r.jsx("div",{className:"container mx-auto px-4",children:(0,r.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)("h2",{className:"section-title mb-6",children:["เกี่ยวกับ",r.jsx("span",{className:"text-primary-600",children:i.JA.name})]}),(0,r.jsxs)("p",{className:"text-secondary-600 mb-4",children:[i.JA.nameTh," เป็นผู้เชี่ยวชาญด้านวัสดุท่อและอุปกรณ์ระบบท่อครบวงจร ด้วยประสบการณ์มากกว่า 10 ปี เรามุ่งมั่นให้บริการสินค้าคุณภาพสูง พร้อมคำแนะนำจากทีมงานมืออาชีพ"]}),r.jsx("p",{className:"text-secondary-600 mb-6",children:"เราจำหน่ายท่อพีพีอาร์ ท่อ HDPE ท่อ PVC วาล์ว และอุปกรณ์ต่อท่อหลากหลายประเภท รวมถึงอุปกรณ์แขวนท่อและอุปกรณ์ปรับอากาศ"}),r.jsx(n.default,{href:"/about-us",className:"btn-primary",children:"เรียนรู้เพิ่มเติม"})]}),r.jsx("div",{className:"relative aspect-video bg-secondary-100 rounded-xl overflow-hidden",children:r.jsx(a.default,{src:"/images/2021/03/hdpe-pipe_000C.jpg",alt:"เกี่ยวกับดีลพลัสเทค",fill:!0,className:"object-cover"})})]})})})]})}}};var s=require("../webpack-runtime.js");s.C(e);var t=e=>s(s.s=e),r=s.X(0,[948,12,904],()=>t(6986));module.exports=r})();