Files
dealplustech/dealplustech-astro/dist/chunks/FloatingContact_CYVf7xCj.mjs
Kunthawat Greethong 3ed9f3f3ff ðŸŽĻ Fix CSS: Import global.css + plain CSS styles
CSS was not being imported! Fixed:

✅ Added 'import ../styles/global.css' to BaseLayout.astro
✅ Rewrote CSS with plain CSS (not @apply which wasn't working)
✅ Cookie banner has inline styles as backup
✅ Font size: 16px base
✅ Solid colors: green-600 (#16a34a), gray-900 (#111827)
✅ Footer has policy links

Build: 12 pages ✅
2026-03-10 08:21:30 +07:00

204 lines
22 KiB
JavaScript

import { c as createComponent, b as addAttribute, d as renderHead, e as renderSlot, a as renderTemplate, f as createAstro, m as maybeRenderHead } from './astro/server_BKaehDWP.mjs';
import 'kleur/colors';
import 'html-escaper';
import 'clsx';
/* empty css */
const $$Astro = createAstro();
const $$BaseLayout = createComponent(($$result, $$props, $$slots) => {
const Astro2 = $$result.createAstro($$Astro, $$props, $$slots);
Astro2.self = $$BaseLayout;
const { title, description } = Astro2.props;
const siteName = "\u0E14\u0E35\u0E25\u0E1E\u0E25\u0E31\u0E2A\u0E40\u0E17\u0E04";
const defaultDescription = "\u0E1C\u0E39\u0E49\u0E40\u0E0A\u0E35\u0E48\u0E22\u0E27\u0E0A\u0E32\u0E0D\u0E14\u0E49\u0E32\u0E19\u0E27\u0E31\u0E2A\u0E14\u0E38\u0E17\u0E48\u0E2D\u0E41\u0E25\u0E30\u0E2D\u0E38\u0E1B\u0E01\u0E23\u0E13\u0E4C\u0E23\u0E30\u0E1A\u0E1A\u0E17\u0E48\u0E2D \u0E08\u0E33\u0E2B\u0E19\u0E48\u0E32\u0E22\u0E17\u0E48\u0E2D PPR, \u0E17\u0E48\u0E2D HDPE, \u0E27\u0E32\u0E25\u0E4C\u0E27 \u0E41\u0E25\u0E30\u0E2D\u0E38\u0E1B\u0E01\u0E23\u0E13\u0E4C\u0E23\u0E30\u0E1A\u0E1A\u0E17\u0E48\u0E2D\u0E04\u0E23\u0E1A\u0E27\u0E07\u0E08\u0E23";
return renderTemplate`<html lang="th"> <head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><link rel="icon" type="image/svg+xml" href="/favicon.svg"><meta name="generator"${addAttribute(Astro2.generator, "content")}><title>${title} | ${siteName}</title><meta name="description"${addAttribute(description || defaultDescription, "content")}><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&display=swap" rel="stylesheet">${renderHead()}</head> <body class="font-kanit bg-secondary-50 text-secondary-900"> ${renderSlot($$result, $$slots["default"])} </body></html>`;
}, "/Users/kunthawatgreethong/Gitea/dealplustech/dealplustech-astro/src/layouts/BaseLayout.astro", void 0);
const siteConfig = {
name: "Deal Plus Tech",
nameTh: "āļ”āļĩāļĨāļžāļĨāļąāļŠāđ€āļ—āļ„",
phone: "090-555-1415",
email: "info@dealplustech.co.th",
lineId: "@dealplustech",
facebookUrl: "https://facebook.com/dealplustech",
address: "āļšāļĢāļīāļĐāļąāļ— āļ”āļĩāļĨ āļžāļĨāļąāļŠ āđ€āļ—āļ„ āļˆāļģāļāļąāļ” 9/70 āļ‹āļ­āļĒāļ™āļ„āļĢāļĨāļļāļ‡ 17 āđāļ‚āļ§āļ‡āļšāļēāļ‡āđ„āļœāđˆ āđ€āļ‚āļ•āļšāļēāļ‡āđāļ„ āļāļ—āļĄ. 10160"
};
const workHours = [
{ day: "āļˆāļąāļ™āļ—āļĢāđŒ - āļĻāļļāļāļĢāđŒ", hours: "08:30 - 17:30" },
{ day: "āđ€āļŠāļēāļĢāđŒ", hours: "08:30 - 12:00" },
{ day: "āļ­āļēāļ—āļīāļ•āļĒāđŒ", hours: "āļ›āļīāļ”āļ—āļģāļāļēāļĢ", isClosed: true }
];
const productCategories = [
{
id: "ppr-elephant",
name: "āļ—āđˆāļ­āļžāļĩāļžāļĩāļ­āļēāļĢāđŒāļ•āļĢāļēāļŠāđ‰āļēāļ‡",
nameEn: "PPR Elephant Pipe",
slug: "āļ—āđˆāļ­āļžāļĩāļžāļĩāļ­āļēāļĢāđŒ",
href: "/āļ—āđˆāļ­āļžāļĩāļžāļĩāļ­āļēāļĢāđŒāļ•āļĢāļēāļŠāđ‰āļēāļ‡/",
image: "/images/2021/03/ppr-pipe_000C.jpg",
description: "āļ—āđˆāļ­āļžāļĩāļžāļĩāļ­āļēāļĢāđŒāļ•āļĢāļēāļŠāđ‰āļēāļ‡ (SCG) āļ„āļļāļ“āļ āļēāļžāļĢāļ°āļ”āļąāļšāļŠāļēāļāļĨ āļ—āļ™āļ­āļļāļ“āļŦāļ āļđāļĄāļīāļŠāļđāļ‡ 95°C āļ—āļ™āļ„āļ§āļēāļĄāļ”āļąāļ™ 20 āļšāļēāļĢāđŒ āļ­āļēāļĒāļļāļāļēāļĢāđƒāļŠāđ‰āļ‡āļēāļ™ 50 āļ›āļĩ",
shortDescription: "āļ—āđˆāļ­āļžāļĩāļžāļĩāļ­āļēāļĢāđŒāļ•āļĢāļēāļŠāđ‰āļēāļ‡ SCG āļĄāļēāļ•āļĢāļāļēāļ™ DIN 8077/8078",
keywords: ["āļ—āđˆāļ­ PPR", "āļ—āđˆāļ­āļžāļĩāļžāļĩāļ­āļēāļĢāđŒ", "āļ—āđˆāļ­āļ™āđ‰āļģ PPR"],
specifications: [
{ label: "āļ§āļąāļŠāļ”āļļ", value: "PP-R (Polypropylene Random Copolymer)" },
{ label: "āļĄāļēāļ•āļĢāļāļēāļ™", value: "DIN 8077/8078, ISO 15874" },
{ label: "āđāļĢāļ‡āļ”āļąāļ™āļ—āļ™āļ—āļēāļ™", value: "PN10, PN16, PN20", unit: "bar" },
{ label: "āļ­āļļāļ“āļŦāļ āļđāļĄāļīāļ—āļ™āļ—āļēāļ™", value: "-20 āļ–āļķāļ‡ 95", unit: "°C" },
{ label: "āļ‚āļ™āļēāļ”āļ—āđˆāļ­", value: "20, 25, 32, 40, 50, 63, 75, 90, 110", unit: "mm" }
],
features: [
"āļ—āļ™āļ­āļļāļ“āļŦāļ āļđāļĄāļīāļŠāļđāļ‡āļŠāļļāļ” 95°C āđ€āļŦāļĄāļēāļ°āļāļąāļšāļ™āđ‰āļģāļĢāđ‰āļ­āļ™",
"āļ—āļ™āļ„āļ§āļēāļĄāļ”āļąāļ™ PN20 (20 āļšāļēāļĢāđŒ)",
"āđ„āļĄāđˆāđ€āļāļīāļ”āļŠāļ™āļīāļĄāđāļĨāļ°āļāļēāļĢāļāļąāļ”āļāļĢāđˆāļ­āļ™",
"āļ•āļīāļ”āļ•āļąāđ‰āļ‡āļ”āđ‰āļ§āļĒāļāļēāļĢāđ€āļŠāļ·āđˆāļ­āļĄāļ„āļ§āļēāļĄāļĢāđ‰āļ­āļ™"
]
},
{
id: "hdpe",
name: "āļ—āđˆāļ­ HDPE",
nameEn: "HDPE Pipe",
slug: "āļ—āđˆāļ­hdpe",
href: "/āļ—āđˆāļ­hdpe/",
image: "/images/2021/03/hdpe-pipe_000C.jpg",
description: "āļ—āđˆāļ­ HDPE āļ„āļļāļ“āļ āļēāļžāļŠāļđāļ‡ āļ—āļ™āļ—āļēāļ™āļ•āđˆāļ­āđāļĢāļ‡āļ”āļąāļ™āļŠāļđāļ‡ āđ€āļŦāļĄāļēāļ°āļŠāļģāļŦāļĢāļąāļšāļĢāļ°āļšāļšāļ›āļĢāļ°āļ›āļē āļĢāļ°āļšāļšāļ”āļąāļšāđ€āļžāļĨāļīāļ‡",
shortDescription: "āļ—āđˆāļ­ HDPE āļĄāļēāļ•āļĢāļāļēāļ™ āļĄāļ­āļ. āļ—āļ™āđāļĢāļ‡āļ”āļąāļ™āļŠāļđāļ‡",
keywords: ["āļ—āđˆāļ­ HDPE", "āļ—āđˆāļ­āļžāļĨāļēāļŠāļ•āļīāļ"],
features: [
"āļ—āļ™āļ—āļēāļ™āļ•āđˆāļ­āđāļĢāļ‡āļ”āļąāļ™āļŠāļđāļ‡",
"āļ—āļ™āļāļēāļĢāļāļąāļ”āļāļĢāđˆāļ­āļ™",
"āļ•āļīāļ”āļ•āļąāđ‰āļ‡āļ‡āđˆāļēāļĒ"
]
},
{
id: "upvc",
name: "āļ—āđˆāļ­ uPVC",
nameEn: "uPVC Pipe",
slug: "āļ—āđˆāļ­upvc",
href: "/āļ—āđˆāļ­upvc/",
image: "/images/2021/03/upvc-pipe.jpg",
description: "āļ—āđˆāļ­ uPVC āļĄāļēāļ•āļĢāļāļēāļ™ āļĄāļ­āļ. āđ€āļŦāļĄāļēāļ°āļŠāļģāļŦāļĢāļąāļšāļĢāļ°āļšāļšāļ›āļĢāļ°āļ›āļēāđāļĨāļ°āļĢāļ°āļšāļšāļĢāļ°āļšāļēāļĒāļ™āđ‰āļģ",
shortDescription: "āļ—āđˆāļ­ uPVC āļĄāļēāļ•āļĢāļāļēāļ™ āļĄāļ­āļ.",
keywords: ["āļ—āđˆāļ­ uPVC", "āļ—āđˆāļ­ PVC"],
features: [
"āļœāļīāļ§āđ€āļĢāļĩāļĒāļš āđ„āļĄāđˆāļŠāļ°āļŠāļĄāļ•āļ°āļāļĢāļąāļ™",
"āļ—āļ™āļ—āļēāļ™āļ•āđˆāļ­āđāļĢāļ‡āļ”āļąāļ™āļ™āđ‰āļģ",
"āļĢāļēāļ„āļēāļ›āļĢāļ°āļŦāļĒāļąāļ”"
]
},
{
id: "valve",
name: "āļ§āļēāļĨāđŒāļ§ Valve",
nameEn: "Valve",
slug: "āļ§āļēāļĨāđŒāļ§-valve",
href: "/āļ§āļēāļĨāđŒāļ§-valve/",
image: "/images/2021/03/valve.jpg",
description: "āļ§āļēāļĨāđŒāļ§āļ„āļļāļ“āļ āļēāļžāļŠāļđāļ‡ āļŦāļĨāļēāļāļŦāļĨāļēāļĒāļ›āļĢāļ°āđ€āļ āļ— āļŠāļģāļŦāļĢāļąāļšāļĢāļ°āļšāļšāļ—āđˆāļ­āļ—āļļāļāļ›āļĢāļ°āđ€āļ āļ—",
shortDescription: "āļ§āļēāļĨāđŒāļ§āļ„āļļāļ“āļ āļēāļžāļŠāļđāļ‡ āļŦāļĨāļēāļāļŦāļĨāļēāļĒāļ›āļĢāļ°āđ€āļ āļ—",
keywords: ["āļ§āļēāļĨāđŒāļ§", "āļ§āļēāļĨāđŒāļ§āļ™āđ‰āļģ", "Valve"],
features: [
"āļ„āļļāļ“āļ āļēāļžāļŠāļđāļ‡ āļĄāļēāļ•āļĢāļāļēāļ™",
"āļŦāļĨāļēāļāļŦāļĨāļēāļĒāļ›āļĢāļ°āđ€āļ āļ—",
"āļ—āļ™āļ—āļēāļ™ āđƒāļŠāđ‰āļ‡āļēāļ™āđ„āļ”āđ‰āļ™āļēāļ™"
]
},
{
id: "grilles",
name: "āļāļĢāļīāļĨāđāļ­āļĢāđŒāļžāļĨāļēāļŠāļ•āļīāļ",
nameEn: "Air Grilles",
slug: "āļŦāļąāļ§āļˆāđˆāļēāļĒāļĨāļĄ-āļāļĢāļīāļĨ",
href: "/āļŦāļąāļ§āļˆāđˆāļēāļĒāļĨāļĄ-āļāļĢāļīāļĨ/",
image: "/images/2021/03/grilles_000C.jpg",
description: "āļŦāļąāļ§āļˆāđˆāļēāļĒāļĨāļĄāļžāļĨāļēāļŠāļ•āļīāļ Ball Jet āļŠāļģāļŦāļĢāļąāļšāļĢāļ°āļšāļšāļ›āļĢāļąāļšāļ­āļēāļāļēāļĻ āļ—āļ™āļ—āļēāļ™ āļāļ°āļ—āļąāļ”āļĢāļąāļ” āļ•āļīāļ”āļ•āļąāđ‰āļ‡āļ‡āđˆāļēāļĒ",
shortDescription: "āļŦāļąāļ§āļˆāđˆāļēāļĒāļĨāļĄāļžāļĨāļēāļŠāļ•āļīāļ Ball Jet",
keywords: ["āļāļĢāļīāļĨāđāļ­āļĢāđŒ", "āļŦāļąāļ§āļˆāđˆāļēāļĒāļĨāļĄ"],
features: [
"āļ§āļąāļŠāļ”āļļāļžāļĨāļēāļŠāļ•āļīāļāļ„āļļāļ“āļ āļēāļžāļŠāļđāļ‡",
"āļ•āļīāļ”āļ•āļąāđ‰āļ‡āļ‡āđˆāļēāļĒ",
"āļ—āļ™āļ—āļēāļ™āļ•āđˆāļ­āļāļēāļĢāđƒāļŠāđ‰āļ‡āļēāļ™"
]
},
{
id: "thermobreak",
name: "āđ€āļ—āļ­āļĢāđŒāđ‚āļĄāđ€āļšāļĢāļ„",
nameEn: "Thermobreak",
slug: "āđ€āļ—āļ­āļĢāđŒāđ‚āļĄāđ€āļšāļĢāļ„-thermobreak",
href: "/āđ€āļ—āļ­āļĢāđŒāđ‚āļĄāđ€āļšāļĢāļ„-thermobreak/",
image: "/images/2025/01/thermobrek_cover_000C.jpg",
description: "āļ‰āļ™āļ§āļ™āļŦāļļāđ‰āļĄāļ—āđˆāļ­ Polyolefin Foam āļĄāļēāļ•āļĢāļāļēāļ™ FM/UL āļŠāļģāļŦāļĢāļąāļš HVAC āļ›āļĢāļ°āļŦāļĒāļąāļ”āļžāļĨāļąāļ‡āļ‡āļēāļ™",
shortDescription: "āļ‰āļ™āļ§āļ™āļŦāļļāđ‰āļĄāļ—āđˆāļ­ Polyolefin Foam",
keywords: ["āđ€āļ—āļ­āļĢāđŒāđ‚āļĄāđ€āļšāļĢāļ„", "āļ‰āļ™āļ§āļ™āļŦāļļāđ‰āļĄāļ—āđˆāļ­"],
features: [
"āļ›āļĢāļ°āļŠāļīāļ—āļ˜āļīāļ āļēāļžāļāļēāļĢāļāļąāļ™āļ„āļ§āļēāļĄāļĢāđ‰āļ­āļ™āļŠāļđāļ‡",
"āļĄāļēāļ•āļĢāļāļēāļ™ FM/UL",
"āļ›āļĢāļ°āļŦāļĒāļąāļ”āļžāļĨāļąāļ‡āļ‡āļēāļ™"
]
}
];
const portfolioProjects = [
{
id: "thai-water",
name: "āđ„āļ—āļĒāļ™āđ‰āļģāļ—āļīāļžāļĒāđŒ",
href: "/āđ„āļ—āļĒāļ™āđ‰āļģāļ—āļīāļžāļĒāđŒ/",
image: "/images/2021/02/āđ„āļ—āļĒāļ™āđ‰āļģāļ—āļīāļžāļĒāđŒ1-horz.jpg",
description: "āđ‚āļ„āļĢāļ‡āļāļēāļĢāļĢāļ°āļšāļšāļ—āđˆāļ­ āļšāļĢāļīāļĐāļąāļ— āđ„āļ—āļĒāļ™āđ‰āļģāļ—āļīāļžāļĒāđŒ āļˆāļģāļāļąāļ”"
},
{
id: "ethanol-factory",
name: "āđ‚āļĢāļ‡āļ‡āļēāļ™āđ€āļ­āļ˜āļēāļ™āļ­āļĨ",
href: "/āđ‚āļĢāļ‡āļ‡āļēāļ™āđ€āļ­āļ˜āļēāļ™āļ­āļĨ/",
image: "/images/2021/02/āļĨāļžāļšāļļāļĢāļĩ5.jpg",
description: "āđ‚āļ„āļĢāļ‡āļāļēāļĢāļĢāļ°āļšāļšāļ—āđˆāļ­ āđ‚āļĢāļ‡āļ‡āļēāļ™āđ€āļ­āļ˜āļēāļ™āļ­āļĨ āļˆāļąāļ‡āļŦāļ§āļąāļ”āļĨāļžāļšāļļāļĢāļĩ"
},
{
id: "cyber-world",
name: "Cyber World",
href: "/cyber-world/",
image: "/images/2021/02/IMG_3089.jpg",
description: "āđ‚āļ„āļĢāļ‡āļāļēāļĢāļĢāļ°āļšāļšāļ—āđˆāļ­ Cyber World"
},
{
id: "toyox",
name: "Toyox",
href: "/toyox/",
image: "/images/2021/02/IMG_2226.jpg",
description: "āđ‚āļ„āļĢāļ‡āļāļēāļĢāļĢāļ°āļšāļšāļ—āđˆāļ­ Toyox"
},
{
id: "seacon-bangkae",
name: "āļ‹āļĩāļ„āļ­āļ™āļšāļēāļ‡āđāļ„",
href: "/āļ‹āļĩāļ„āļ­āļ™āļšāļēāļ‡āđāļ„/",
image: "/images/2021/02/āļšāļēāļ‡āđāļ„1.jpg",
description: "āđ‚āļ„āļĢāļ‡āļāļēāļĢāļĢāļ°āļšāļšāļ—āđˆāļ­ āļ‹āļĩāļ„āļ­āļ™āļšāļēāļ‡āđāļ„"
},
{
id: "cp-ram-latkrabang",
name: "āļ‹āļĩāļžāļĩāđāļĢāļĄ āļĨāļēāļ”āļāļĢāļ°āļšāļąāļ‡",
href: "/āļ‹āļĩāļžāļĩāđāļĢāļĄ-āļĨāļēāļ”āļāļĢāļ°āļšāļąāļ‡/",
image: "/images/2021/02/āļĨāļēāļ”āļāļĢāļ°āļšāļąāļ‡1.jpg",
description: "āđ‚āļ„āļĢāļ‡āļāļēāļĢāļĢāļ°āļšāļšāļ—āđˆāļ­ āļ‹āļĩāļžāļĩāđāļĢāļĄ āļĨāļēāļ”āļāļĢāļ°āļšāļąāļ‡"
}
];
[
productCategories.find((p) => p.id === "ppr-elephant"),
productCategories.find((p) => p.id === "hdpe"),
productCategories.find((p) => p.id === "valve")
];
const $$Header = createComponent(($$result, $$props, $$slots) => {
return renderTemplate`${maybeRenderHead()}<header class="fixed top-0 left-0 right-0 z-50 bg-secondary-900 shadow-lg"> <div class="container mx-auto px-4"> <div class="flex items-center justify-between h-20"> <!-- Logo --> <a href="/" class="flex items-center gap-3"> <div class="w-12 h-12 bg-primary-600 rounded-lg flex items-center justify-center"> <span class="text-white font-bold text-xl">āļ”</span> </div> <span class="text-white font-bold text-xl">${siteConfig.nameTh}</span> </a> <!-- Desktop Navigation --> <nav class="hidden lg:flex items-center gap-8"> <a href="/" class="text-white hover:text-primary-400 transition-colors">āļŦāļ™āđ‰āļēāđāļĢāļ</a> <a href="/about-us/" class="text-white hover:text-primary-400 transition-colors">āđ€āļāļĩāđˆāļĒāļ§āļāļąāļšāđ€āļĢāļē</a> <a href="/services/" class="text-white hover:text-primary-400 transition-colors">āļšāļĢāļīāļāļēāļĢ</a> <a href="/product/" class="text-white hover:text-primary-400 transition-colors">āļŠāļīāļ™āļ„āđ‰āļē</a> <a href="/portfolio/" class="text-white hover:text-primary-400 transition-colors">āļœāļĨāļ‡āļēāļ™</a> <a href="/contact-us/" class="text-white hover:text-primary-400 transition-colors">āļ•āļīāļ”āļ•āđˆāļ­āđ€āļĢāļē</a> </nav> <!-- CTA Button --> <a href="/contact-us/" class="hidden lg:inline-block btn-primary">
āļ‚āļ­āđƒāļšāđ€āļŠāļ™āļ­āļĢāļēāļ„āļē
</a> <!-- Mobile Menu Button --> <button id="mobile-menu-btn" class="lg:hidden text-white p-2" aria-label="āđ€āļ›āļīāļ”āđ€āļĄāļ™āļđ"> <svg class="w-6 h-6" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round"${addAttribute(2, "stroke-width")} d="M4 6h16M4 12h16M4 18h16"></path> </svg> </button> </div> </div> <!-- Mobile Menu --> <div id="mobile-menu" class="hidden lg:hidden bg-secondary-800 border-t border-secondary-700"> <nav class="container mx-auto px-4 py-4 flex flex-col gap-4"> <a href="/" class="text-white hover:text-primary-400 transition-colors py-2">āļŦāļ™āđ‰āļēāđāļĢāļ</a> <a href="/about-us/" class="text-white hover:text-primary-400 transition-colors py-2">āđ€āļāļĩāđˆāļĒāļ§āļāļąāļšāđ€āļĢāļē</a> <a href="/services/" class="text-white hover:text-primary-400 transition-colors py-2">āļšāļĢāļīāļāļēāļĢ</a> <a href="/product/" class="text-white hover:text-primary-400 transition-colors py-2">āļŠāļīāļ™āļ„āđ‰āļē</a> <a href="/portfolio/" class="text-white hover:text-primary-400 transition-colors py-2">āļœāļĨāļ‡āļēāļ™</a> <a href="/contact-us/" class="text-white hover:text-primary-400 transition-colors py-2">āļ•āļīāļ”āļ•āđˆāļ­āđ€āļĢāļē</a> <a href="/contact-us/" class="btn-primary text-center mt-2">āļ‚āļ­āđƒāļšāđ€āļŠāļ™āļ­āļĢāļēāļ„āļē</a> </nav> </div> </header> `;
}, "/Users/kunthawatgreethong/Gitea/dealplustech/dealplustech-astro/src/components/Header.astro", void 0);
const $$Footer = createComponent(($$result, $$props, $$slots) => {
return renderTemplate`${maybeRenderHead()}<footer class="bg-secondary-900 text-white pt-16 pb-8"> <div class="container mx-auto px-4"> <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8 mb-12"> <!-- Company Info --> <div> <div class="flex items-center gap-3 mb-4"> <div class="w-12 h-12 bg-primary-600 rounded-lg flex items-center justify-center"> <span class="text-white font-bold text-xl">āļ”</span> </div> <span class="text-white font-bold text-xl">${siteConfig.nameTh}</span> </div> <p class="text-secondary-300 mb-4">
āļœāļđāđ‰āđ€āļŠāļĩāđˆāļĒāļ§āļŠāļēāļāļ”āđ‰āļēāļ™āļ§āļąāļŠāļ”āļļāļ—āđˆāļ­āđāļĨāļ°āļ­āļļāļ›āļāļĢāļ“āđŒāļĢāļ°āļšāļšāļ—āđˆāļ­āļ„āļĢāļšāļ§āļ‡āļˆāļĢ
</p> <div class="flex gap-4"> <a${addAttribute(`https://facebook.com/${siteConfig.facebookUrl}`, "href")} target="_blank" rel="noopener" class="text-secondary-300 hover:text-primary-400 transition-colors"> <svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24"> <path d="M18.77,7.46H14.5v-1.9c0-.9.6-1.1,1-1.1h3V.5h-4.33C10.24.5,9.5,3.44,9.5,5.32v2.15h-3v4h3v12h5v-12h3.85l.42-4Z"></path> </svg> </a> <a${addAttribute(`https://line.me/ti/p/${siteConfig.lineId}`, "href")} target="_blank" rel="noopener" class="text-secondary-300 hover:text-primary-400 transition-colors"> <svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24"> <path d="M19.365 9.863c.349 0 .63.285.63.631 0 .345-.281.63-.63.63H17.61v1.125h1.755c.349 0 .63.283.63.63 0 .344-.281.629-.63.629h-2.386c-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63h2.386c.346 0 .627.285.627.63 0 .349-.281.63-.63.63H17.61v1.125h1.755zm-3.855 3.016c0 .27-.174.51-.432.596-.064.021-.133.031-.199.031-.211 0-.391-.09-.51-.25l-2.443-3.317v2.94c0 .344-.279.629-.631.629-.346 0-.626-.285-.626-.629V8.108c0-.27.173-.51.43-.595.06-.023.136-.033.194-.033.195 0 .375.104.495.254l2.462 3.33V8.108c0-.345.282-.63.63-.63.345 0 .63.285.63.63v4.771zm-5.741 0c0 .344-.282.629-.631.629-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63.346 0 .628.285.628.63v4.771zm-2.466.629H4.917c-.345 0-.63-.285-.63-.629V8.108c0-.345.285-.63.63-.63.348 0 .63.285.63.63v4.141h1.756c.348 0 .629.283.629.63 0 .344-.282.629-.629.629M24 10.314C24 4.943 18.615.572 12 .572S0 4.10.314c943 0 0 4.811 4.27 8.842 10.035 9.608.391.082.923.258 1.058.59.12.301.079.766.038 1.08l-.164 1.02c-.045.301-.24 1.186 1.049.645 1.291-.539 6.916-4.078 9.436-6.975C23.176 14.393 24 12.458 24 10.314"></path> </svg> </a> </div> </div> <!-- Quick Links --> <div> <h3 class="text-lg font-bold mb-4">āļĨāļīāļ‡āļāđŒāļ”āđˆāļ§āļ™</h3> <ul class="space-y-2"> <li><a href="/about-us/" class="text-secondary-300 hover:text-primary-400 transition-colors">āđ€āļāļĩāđˆāļĒāļ§āļāļąāļšāđ€āļĢāļē</a></li> <li><a href="/services/" class="text-secondary-300 hover:text-primary-400 transition-colors">āļšāļĢāļīāļāļēāļĢ</a></li> <li><a href="/product/" class="text-secondary-300 hover:text-primary-400 transition-colors">āļŠāļīāļ™āļ„āđ‰āļē</a></li> <li><a href="/portfolio/" class="text-secondary-300 hover:text-primary-400 transition-colors">āļœāļĨāļ‡āļēāļ™</a></li> <li><a href="/contact-us/" class="text-secondary-300 hover:text-primary-400 transition-colors">āļ•āļīāļ”āļ•āđˆāļ­āđ€āļĢāļē</a></li> </ul> </div> <!-- Products --> <div> <h3 class="text-lg font-bold mb-4">āļŠāļīāļ™āļ„āđ‰āļē</h3> <ul class="space-y-2"> <li><a href="/āļ—āđˆāļ­āļžāļĩāļžāļĩāļ­āļēāļĢāđŒāļ•āļĢāļēāļŠāđ‰āļēāļ‡/" class="text-secondary-300 hover:text-primary-400 transition-colors">āļ—āđˆāļ­āļžāļĩāļžāļĩāļ­āļēāļĢāđŒāļ•āļĢāļēāļŠāđ‰āļēāļ‡</a></li> <li><a href="/āļ—āđˆāļ­hdpe/" class="text-secondary-300 hover:text-primary-400 transition-colors">āļ—āđˆāļ­ HDPE</a></li> <li><a href="/āļ—āđˆāļ­upvc/" class="text-secondary-300 hover:text-primary-400 transition-colors">āļ—āđˆāļ­ uPVC</a></li> <li><a href="/āļ§āļēāļĨāđŒāļ§-valve/" class="text-secondary-300 hover:text-primary-400 transition-colors">āļ§āļēāļĨāđŒāļ§</a></li> <li><a href="/āļŦāļąāļ§āļˆāđˆāļēāļĒāļĨāļĄ-āļāļĢāļīāļĨ/" class="text-secondary-300 hover:text-primary-400 transition-colors">āļāļĢāļīāļĨāđāļ­āļĢāđŒ</a></li> </ul> </div> <!-- Contact --> <div> <h3 class="text-lg font-bold mb-4">āļ•āļīāļ”āļ•āđˆāļ­āđ€āļĢāļē</h3> <ul class="space-y-3"> <li class="flex items-start gap-3"> <svg class="w-5 h-5 text-primary-400 mt-0.5 flex-shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round"${addAttribute(2, "stroke-width")} d="M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"></path> <path stroke-linecap="round" stroke-linejoin="round"${addAttribute(2, "stroke-width")} d="M15 11a3 3 0 11-6 0 3 3 0 016 0z"></path> </svg> <span class="text-secondary-300">${siteConfig.address}</span> </li> <li class="flex items-center gap-3"> <svg class="w-5 h-5 text-primary-400 flex-shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round"${addAttribute(2, "stroke-width")} d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"></path> </svg> <a${addAttribute(`tel:${siteConfig.phone}`, "href")} class="text-secondary-300 hover:text-primary-400 transition-colors">${siteConfig.phone}</a> </li> <li class="flex items-center gap-3"> <svg class="w-5 h-5 text-primary-400 flex-shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round"${addAttribute(2, "stroke-width")} d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"></path> </svg> <a${addAttribute(`mailto:${siteConfig.email}`, "href")} class="text-secondary-300 hover:text-primary-400 transition-colors">${siteConfig.email}</a> </li> <li class="flex items-center gap-3"> <svg class="w-5 h-5 text-primary-400 flex-shrink-0" fill="currentColor" viewBox="0 0 24 24"> <path d="M19.365 9.863c.349 0 .63.285.63.631 0 .345-.281.63-.63.63H17.61v1.125h1.755c.349 0 .63.283.63.63 0 .344-.281.629-.63.629h-2.386c-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63h2.386c.346 0 .627.285.627.63 0 .349-.281.63-.63.63H17.61v1.125h1.755z"></path> </svg> <span class="text-secondary-300">${siteConfig.lineId}</span> </li> </ul> </div> </div> <!-- Work Hours --> <div class="border-t border-secondary-800 pt-8 mb-8"> <h4 class="font-bold mb-3">āđ€āļ§āļĨāļēāļ—āļģāļāļēāļĢ</h4> <div class="grid grid-cols-1 md:grid-cols-3 gap-4 text-secondary-300"> ${workHours.map((item) => renderTemplate`<div class="flex justify-between"> <span>${item.day}</span> <span${addAttribute(item.isClosed ? "text-red-400" : "", "class")}>${item.hours}</span> </div>`)} </div> </div> <!-- Copyright --> <div class="border-t border-secondary-800 pt-8 text-center text-secondary-400"> <p>&copy; ${(/* @__PURE__ */ new Date()).getFullYear()} ${siteConfig.nameTh} āļŠāļ‡āļ§āļ™āļĨāļīāļ‚āļŠāļīāļ—āļ˜āļīāđŒ</p> </div> </div> </footer>`;
}, "/Users/kunthawatgreethong/Gitea/dealplustech/dealplustech-astro/src/components/Footer.astro", void 0);
const $$FloatingContact = createComponent(($$result, $$props, $$slots) => {
return renderTemplate`${maybeRenderHead()}<div class="fixed bottom-6 right-6 z-50 flex flex-col gap-3"> <!-- LINE --> <a${addAttribute(`https://line.me/ti/p/${siteConfig.lineId}`, "href")} target="_blank" rel="noopener" class="w-14 h-14 bg-[#00B900] rounded-full flex items-center justify-center shadow-lg hover:scale-110 transition-transform" aria-label="āļ•āļīāļ”āļ•āđˆāļ­ LINE"> <svg class="w-7 h-7 text-white" fill="currentColor" viewBox="0 0 24 24"> <path d="M19.365 9.863c.349 0 .63.285.63.631 0 .345-.281.63-.63.63H17.61v1.125h1.755c.349 0 .63.283.63.63 0 .344-.281.629-.63.629h-2.386c-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63h2.386c.346 0 .627.285.627.63 0 .349-.281.63-.63.63H17.61v1.125h1.755zm-3.855 3.016c0 .27-.174.51-.432.596-.064.021-.133.031-.199.031-.211 0-.391-.09-.51-.25l-2.443-3.317v2.94c0 .344-.279.629-.631.629-.346 0-.626-.285-.626-.629V8.108c0-.27.173-.51.43-.595.06-.023.136-.033.194-.033.195 0 .375.104.495.254l2.462 3.33V8.108c0-.345.282-.63.63-.63.345 0 .63.285.63.63v4.771zm-5.741 0c0 .344-.282.629-.631.629-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63.346 0 .628.285.628.63v4.771zm-2.466.629H4.917c-.345 0-.63-.285-.63-.629V8.108c0-.345.285-.63.63-.63.348 0 .63.285.63.63v4.141h1.756c.348 0 .629.283.629.63 0 .344-.282.629-.629.629M24 10.314C24 4.943 18.615.572 12 .572S0 4.943 0 10.314c0 4.811 4.27 8.842 10.035 9.608.391.082.923.258 1.058.59.12.301.079.766.038 1.08l-.164 1.02c-.045.301-.24 1.186 1.049.645 1.291-.539 6.916-4.078 9.436-6.975C23.176 14.393 24 12.458 24 10.314"></path> </svg> </a> <!-- Phone --> <a${addAttribute(`tel:${siteConfig.phone}`, "href")} class="w-14 h-14 bg-primary-600 rounded-full flex items-center justify-center shadow-lg hover:scale-110 transition-transform" aria-label="āđ‚āļ—āļĢāļŦāļēāđ€āļĢāļē"> <svg class="w-7 h-7 text-white" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round"${addAttribute(2, "stroke-width")} d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"></path> </svg> </a> </div>`;
}, "/Users/kunthawatgreethong/Gitea/dealplustech/dealplustech-astro/src/components/FloatingContact.astro", void 0);
export { $$BaseLayout as $, $$Header as a, $$Footer as b, $$FloatingContact as c, productCategories as d, portfolioProjects as p, siteConfig as s, workHours as w };