feat: Simplify cookie consent, remove blog

- CookieBanner: Accept/Reject only (no granular options)
- ConsentModal: Streamlined preferences
- Removed blog pages and content
- Removed blog from navigation

NOTE: Cookie consent logs to database on both Accept and Reject
This commit is contained in:
Kunthawat Greethong
2026-03-10 09:25:17 +07:00
parent 7e69fb317d
commit cde0d1a4e8
11 changed files with 127 additions and 1029 deletions

View File

@@ -8,7 +8,7 @@ interface Props {
description?: string;
}
const { title = 'moreminimore | รับทำเว็บไซต์ฟรี + จ่ายค่า Server รายปี', description = 'SMEs ไทยไม่ต้องง้องบทำเว็บหลักหมื่นอีกต่อไป' } = Astro.props;
const { title = 'มอร์มินิมอร์ | รับทำเว็บไซต์ฟรี + จ่ายค่า Server รายปี', description = 'SMEs ไทยไม่ต้องง้องบทำเว็บหลักหมื่นอีกต่อไป' } = Astro.props;
---
<!doctype html>
@@ -49,7 +49,6 @@ const { title = 'moreminimore | รับทำเว็บไซต์ฟรี
<a href="/services" class="font-medium hover:text-secondary transition">บริการ</a>
<a href="/process" class="font-medium hover:text-secondary transition">ขั้นตอน</a>
<a href="/about-us" class="font-medium hover:text-secondary transition">เกี่ยวกับเรา</a>
<a href="/blog" class="font-medium hover:text-secondary transition">เรื่องน่ารู้</a>
<a href="/contact-us" class="bg-secondary text-white px-6 py-2 rounded-full hover:bg-secondary-hover transition font-medium">ติดต่อเรา</a>
</nav>
<button class="lg:hidden text-black" id="mobile-menu-btn">
@@ -71,7 +70,6 @@ const { title = 'moreminimore | รับทำเว็บไซต์ฟรี
<a href="/services" class="font-medium hover:text-secondary transition">บริการ</a>
<a href="/process" class="font-medium hover:text-secondary transition">ขั้นตอน</a>
<a href="/about-us" class="font-medium hover:text-secondary transition">เกี่ยวกับเรา</a>
<a href="/blog" class="font-medium hover:text-secondary transition">เรื่องน่ารู้</a>
<a href="/contact-us" class="bg-secondary text-white px-6 py-2 rounded-full hover:bg-secondary-hover transition font-medium text-center">ติดต่อเรา</a>
</div>
</div>
@@ -124,7 +122,7 @@ const { title = 'moreminimore | รับทำเว็บไซต์ฟรี
<a href="/privacy-policy" class="hover:text-primary transition">นโยบายความเป็นส่วนตัว</a>
<button id="consent-preferences-btn" class="hover:text-primary transition">ตั้งค่าคุกกี้</button>
</div>
<p>&copy; {new Date().getFullYear()} moreminimore. สงวนลิขสิทธิ์</p>
<p>&copy; {new Date().getFullYear()} บริษัท มอร์มินิมอร์ จำกัด. สงวนลิขสิทธิ์</p>
</div>
</div>
</footer>