import { IconArrowBackUp } from "@tabler/icons-react"; import { Link } from "react-router"; import { SiteShell } from "@/components/site/SiteShell"; import { footerIcon } from "@/components/site/footer-icons"; import { APP_TITLE } from "@/lib/app-config"; import { useContent } from "@/lib/content-context"; import { COLORS } from "@/lib/design-tokens"; import { useI18n } from "@/lib/i18n"; import { DEFAULT_LOCALE, MESSAGES } from "@/lib/i18n/messages"; const HEAD_MESSAGES = MESSAGES[DEFAULT_LOCALE]; export function meta() { return [ { title: `${HEAD_MESSAGES.about.title} — ${APP_TITLE}` }, { name: "description", content: HEAD_MESSAGES.about.lead }, ]; } /** * หน้า "เกี่ยวกับเรา" — เนื้อหามาจากหลังบ้าน (data/content) แยกตามภาษา * ภาษาภาพเดียวกับหน้าแรก/หน้ารายละเอียด: กรอบ 1440 + px-[108px], การ์ดขอบโทน #332B2B, * chip แดง, ตัวเลขในวงกลมไล่แสง (glowSoft) และไอคอนโซเชียลชุดเดียวกับ footer */ export default function AboutRoute() { const { messages, locale } = useI18n(); const { site, about } = useContent(); const content = about[locale]; return (
{messages.nav.home}

{content.title}

{content.lead}

{content.sections.map((section, index) => (

{section.heading}

{section.body}

))}

{content.contactHeading}

{content.contactNote}

{site.footer.length > 0 ? (
{site.footer.map((item) => { const Icon = footerIcon(item.icon_name); return ( ); })}
) : null}
); }