fix(armaflex): rename misspelled 'armflex' slug to 'armaflex' everywhere

- Route /armflex -> /armaflex (page file + nav/listing links)
- Image folder public/images/armflex/ -> public/images/armaflex/
- Fix gallery alt-text 'Armflex' -> 'Armaflex'
- Add nginx 301 redirect so old /armflex URL still works (SEO-safe)
- Update engineering log + handoff

Verified: npm run build (44 pages), tsc --noEmit, nginx -t,
live probe /armaflex/ 200, zero stale 'armflex' refs.
This commit is contained in:
Kunthawat Greethong
2026-09-08 17:52:12 +07:00
parent b86542114f
commit 52030b7d46
21 changed files with 82 additions and 27 deletions

View File

@@ -55,7 +55,7 @@ const productCategories = [
{
title: "ฉนวนและรั้ว",
items: [
{ label: "Armaflex", href: "/armflex" },
{ label: "Armaflex", href: "/armaflex" },
{ label: "Aeroflex", href: "/aeroflex" },
{ label: "Maxflex", href: "/maxflex" },
{ label: "Thermobreak", href: "/เทอร์โมเบรค-thermobreak" },

View File

@@ -136,9 +136,9 @@ const categories = [
},
{
name: 'ฉนวนหุ้มท่อ',
slug: '/armflex',
slug: '/armaflex',
subcategories: [
{ name: 'Armaflex', slug: '/armflex' },
{ name: 'Armaflex', slug: '/armaflex' },
{ name: 'Aeroflex', slug: '/aeroflex' },
{ name: 'Maxflex', slug: '/maxflex' },
{ name: 'CcooL ฉนวนซีคูล', slug: '/ฉนวนหุ้มท่อ-ccool' },

View File

@@ -10,7 +10,7 @@ const popularLinks = [
{ name: 'ปั๊มน้ำ', slug: '/water-pump' },
{ name: 'กริลแอร์', slug: '/grilles' },
{ name: 'ตู้ดับเพลิง', slug: '/ตู้ดับเพลิง' },
{ name: 'Armaflex', slug: '/armflex' },
{ name: 'Armaflex', slug: '/armaflex' },
];
---

View File

@@ -32,7 +32,7 @@ const products = [
{ name: "Realflex", href: "/realflex", image: "/images/products-cropped/realflex_000C.jpg", category: "อุปกรณ์ดับเพลิง" },
// ฉนวนหุ้มท่อ (4 items)
{ name: "Armaflex", href: "/armflex", image: "/images/armflex/armaflex-sheet-roll.jpg", category: "ฉนวนหุ้มท่อ" },
{ name: "Armaflex", href: "/armaflex", image: "/images/armaflex/armaflex-sheet-roll.jpg", category: "ฉนวนหุ้มท่อ" },
{ name: "Aeroflex", href: "/aeroflex", image: "/images/aeroflex/aerocel-d-al-real.jpg", category: "ฉนวนหุ้มท่อ" },
{ name: "Maxflex", href: "/maxflex", image: "/images/maxflex/maxflex-fsk-foil.jpg", category: "ฉนวนหุ้มท่อ" },
{ name: "CcooL ฉนวนซีคูล", href: "/ฉนวนหุ้มท่อ-ccool", image: "/images/ccool/ccool-application-hvac.jpg", category: "ฉนวนหุ้มท่อ" },

View File

@@ -5,7 +5,7 @@ import BaseLayout from '@/layouts/BaseLayout.astro';
<BaseLayout title="Armaflex Class Roll ฉนวนยางดำแบบม้วน | ดีล พลัส เทค" description="Armaflex Class 1 ฉนวนยางดำแบบม้วน (Sheet/Roll) สำหรับงานเครื่องเย็น ระบบปรับอากาศ อุณหภูมิใช้งาน -50°C ถึง 105°C มาตรฐาน FM Approved"
product={{
name: 'Armaflex Class Roll ฉนวนยางดำแบบม้วน | ดีล พลัส เทค',
image: '/images/armflex/armaflex-sheet-roll.jpg',
image: '/images/armaflex/armaflex-sheet-roll.jpg',
brand: 'Armacell',
}}> <main class="bg-white min-h-screen">
<!-- Hero Section -->
@@ -96,7 +96,7 @@ import BaseLayout from '@/layouts/BaseLayout.astro';
</div>
<div class="lg:sticky lg:top-24">
<div class="rounded-2xl overflow-hidden bg-white/10 p-2 max-w-md mx-auto lg:max-w-none">
<img src="/images/armflex/armaflex-sheet-roll.jpg" alt="Armaflex Class 1 ชนิดม้วน" class="w-full max-w-md mx-auto lg:max-w-none" loading="eager" />
<img src="/images/armaflex/armaflex-sheet-roll.jpg" alt="Armaflex Class 1 ชนิดม้วน" class="w-full max-w-md mx-auto lg:max-w-none" loading="eager" />
</div>
</div>
</div>
@@ -296,20 +296,20 @@ import BaseLayout from '@/layouts/BaseLayout.astro';
<p class="text-neutral-600">ภาพสินค้าจริงจากงานติดตั้ง — คลิกเพื่อดูภาพขนาดเต็ม</p>
</div>
<div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4">
<a href="/images/armflex/gallery-1.jpg" target="_blank" rel="noopener" data-umami-event="product-gallery-1" class="group block overflow-hidden rounded-xl shadow-md hover:shadow-xl transition-shadow">
<img src="/images/armflex/gallery-1.jpg" alt="Armflex ภาพที่ 1" class="w-full h-48 object-cover group-hover:scale-105 transition-transform duration-300" loading="lazy" />
<a href="/images/armaflex/gallery-1.jpg" target="_blank" rel="noopener" data-umami-event="product-gallery-1" class="group block overflow-hidden rounded-xl shadow-md hover:shadow-xl transition-shadow">
<img src="/images/armaflex/gallery-1.jpg" alt="Armaflex ภาพที่ 1" class="w-full h-48 object-cover group-hover:scale-105 transition-transform duration-300" loading="lazy" />
</a>
<a href="/images/armflex/gallery-2.jpg" target="_blank" rel="noopener" data-umami-event="product-gallery-2" class="group block overflow-hidden rounded-xl shadow-md hover:shadow-xl transition-shadow">
<img src="/images/armflex/gallery-2.jpg" alt="Armflex ภาพที่ 2" class="w-full h-48 object-cover group-hover:scale-105 transition-transform duration-300" loading="lazy" />
<a href="/images/armaflex/gallery-2.jpg" target="_blank" rel="noopener" data-umami-event="product-gallery-2" class="group block overflow-hidden rounded-xl shadow-md hover:shadow-xl transition-shadow">
<img src="/images/armaflex/gallery-2.jpg" alt="Armaflex ภาพที่ 2" class="w-full h-48 object-cover group-hover:scale-105 transition-transform duration-300" loading="lazy" />
</a>
<a href="/images/armflex/gallery-3.jpg" target="_blank" rel="noopener" data-umami-event="product-gallery-3" class="group block overflow-hidden rounded-xl shadow-md hover:shadow-xl transition-shadow">
<img src="/images/armflex/gallery-3.jpg" alt="Armflex ภาพที่ 3" class="w-full h-48 object-cover group-hover:scale-105 transition-transform duration-300" loading="lazy" />
<a href="/images/armaflex/gallery-3.jpg" target="_blank" rel="noopener" data-umami-event="product-gallery-3" class="group block overflow-hidden rounded-xl shadow-md hover:shadow-xl transition-shadow">
<img src="/images/armaflex/gallery-3.jpg" alt="Armaflex ภาพที่ 3" class="w-full h-48 object-cover group-hover:scale-105 transition-transform duration-300" loading="lazy" />
</a>
<a href="/images/armflex/gallery-4.jpg" target="_blank" rel="noopener" data-umami-event="product-gallery-4" class="group block overflow-hidden rounded-xl shadow-md hover:shadow-xl transition-shadow">
<img src="/images/armflex/gallery-4.jpg" alt="Armflex ภาพที่ 4" class="w-full h-48 object-cover group-hover:scale-105 transition-transform duration-300" loading="lazy" />
<a href="/images/armaflex/gallery-4.jpg" target="_blank" rel="noopener" data-umami-event="product-gallery-4" class="group block overflow-hidden rounded-xl shadow-md hover:shadow-xl transition-shadow">
<img src="/images/armaflex/gallery-4.jpg" alt="Armaflex ภาพที่ 4" class="w-full h-48 object-cover group-hover:scale-105 transition-transform duration-300" loading="lazy" />
</a>
<a href="/images/armflex/gallery-5.jpg" target="_blank" rel="noopener" data-umami-event="product-gallery-5" class="group block overflow-hidden rounded-xl shadow-md hover:shadow-xl transition-shadow">
<img src="/images/armflex/gallery-5.jpg" alt="Armflex ภาพที่ 5" class="w-full h-48 object-cover group-hover:scale-105 transition-transform duration-300" loading="lazy" />
<a href="/images/armaflex/gallery-5.jpg" target="_blank" rel="noopener" data-umami-event="product-gallery-5" class="group block overflow-hidden rounded-xl shadow-md hover:shadow-xl transition-shadow">
<img src="/images/armaflex/gallery-5.jpg" alt="Armaflex ภาพที่ 5" class="w-full h-48 object-cover group-hover:scale-105 transition-transform duration-300" loading="lazy" />
</a>
</div>
</div>