Files
dealplustech/src/app/cookie-policy/page.tsx
Kunthawat Greethong 64c421613a feat: Add cookie consent banner + cookie policy page
Using website-creator skill approach with minimal changes:

 Added CookieConsent component (client-side, localStorage)
 Added CookieConsent to layout.tsx
 Created /cookie-policy page (Thai, PDPA-compliant)
 Links to Privacy Policy and Terms & Conditions

Minimal changes:
- No CSS changes (uses existing Tailwind classes)
- No layout changes (component added to existing layout)
- Only necessary files added/modified

Build:  Success - /cookie-policy page added
2026-03-10 08:38:13 +07:00

41 lines
2.5 KiB
TypeScript

import { Metadata } from 'next';
export const metadata: Metadata = {
title: 'นโยบายคุกกี้',
description: 'นโยบายการใช้งานคุกกี้ของเว็บไซต์บริษัท ดีล พลัส เทค จำกัด',
};
export default function CookiePolicy() {
return (
<div className="container mx-auto px-4 py-12">
<article className="max-w-4xl mx-auto bg-white rounded-lg shadow-lg p-8 md:p-12">
<h1 className="text-4xl font-bold text-gray-900 mb-4"></h1>
<p className="text-gray-600 mb-8">Cookie Policy - ปรับปรุงล่าสุด: 10 2026</p>
<div className="prose prose-lg max-w-none text-gray-700">
<section className="mb-8">
<h2 className="text-2xl font-bold text-gray-900 mb-4">1. ?</h2>
<p className="mb-4">
(Cookie)
</p>
</section>
<section className="mb-8">
<h2 className="text-2xl font-bold text-gray-900 mb-4">2. </h2>
<p className="mb-4"></p>
</section>
<section className="mt-12 pt-8 border-t border-gray-200">
<p className="text-sm text-gray-600">
:{' '}
<a href="/privacy-policy" className="text-green-600 hover:underline"></a>{' | '}
<a href="/terms-and-conditions" className="text-green-600 hover:underline"></a>
</p>
</section>
</div>
</article>
</div>
);
}