Files
erika/app/privacy/page.tsx
T

122 lines
6.5 KiB
TypeScript

import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
import { Separator } from "@/components/ui/separator";
import { config } from "@/lib/config";
import Link from "next/link";
import { Button } from "@/components/ui/button";
import { ArrowLeft } from "lucide-react";
import type { Metadata } from "next";
export const metadata: Metadata = {
title: "นโยบายความเป็นส่วนตัว",
description: "นโยบายความเป็นส่วนตัวของเว็บไซต์ Erika!",
};
export default function PrivacyPolicyPage() {
return (
<main className="min-h-screen flex flex-col items-center p-4 md:p-8">
<div className="w-full max-w-2xl space-y-6">
<div className="flex items-center gap-2">
<Link href="/">
<Button variant="ghost" size="icon">
<ArrowLeft className="w-4 h-4" />
</Button>
</Link>
<h1 className="text-2xl font-bold tracking-tight">นโยบายความเป็นส่วนตัว</h1>
</div>
<Card>
<CardHeader>
<CardTitle className="text-lg">1. ข้อมูลที่เราเก็บรวบรวม</CardTitle>
</CardHeader>
<CardContent className="text-sm text-muted-foreground leading-relaxed space-y-2">
<p>เมื่อคุณใช้งานเว็บไซต์ Erika! เราอาจเก็บรวบรวมข้อมูลดังต่อไปนี้:</p>
<ul className="list-disc list-inside space-y-1 pl-2">
<li>ข้อมูลบัญชี Discord (ชื่อผู้ใช้, Discord ID) เมื่อคุณเข้าสู่ระบบ</li>
<li>ข้อมูลที่คุณส่งผ่านฟอร์มบนเว็บไซต์</li>
<li>ข้อมูล IP Address เพื่อนับจำนวนผู้เข้าชม</li>
</ul>
</CardContent>
</Card>
<Card>
<CardHeader>
<CardTitle className="text-lg">2. วัตถุประสงค์ในการใช้ข้อมูล</CardTitle>
</CardHeader>
<CardContent className="text-sm text-muted-foreground leading-relaxed space-y-2">
<p>เราใช้ข้อมูลที่เก็บรวบรวมเพื่อ:</p>
<ul className="list-disc list-inside space-y-1 pl-2">
<li>ยืนยันตัวตนผู้ใช้งานผ่าน Discord</li>
<li>ประมวลผลข้อมูลที่ส่งผ่านฟอร์ม</li>
<li>ปรับปรุงและพัฒนาเว็บไซต์</li>
<li>นับสถิติผู้เข้าชมเว็บไซต์</li>
</ul>
</CardContent>
</Card>
<Card>
<CardHeader>
<CardTitle className="text-lg">3. การแบ่งปันข้อมูล</CardTitle>
</CardHeader>
<CardContent className="text-sm text-muted-foreground leading-relaxed">
เราจะไม่ขาย แลกเปลี่ยน หรือเปิดเผยข้อมูลส่วนบุคคลของคุณให้แก่บุคคลภายนอก
ยกเว้นกรณีที่กฎหมายกำหนด
</CardContent>
</Card>
<Card>
<CardHeader>
<CardTitle className="text-lg">4. การเก็บรักษาข้อมูล</CardTitle>
</CardHeader>
<CardContent className="text-sm text-muted-foreground leading-relaxed">
ข้อมูลของคุณจะถูกเก็บรักษาไว้ตราบเท่าที่จำเป็นต่อการให้บริการ
คุณสามารถขอลบข้อมูลของคุณได้โดยติดต่อผู้ดูแลผ่านทาง Discord server
</CardContent>
</Card>
<Card>
<CardHeader>
<CardTitle className="text-lg">5. ความปลอดภัยของข้อมูล</CardTitle>
</CardHeader>
<CardContent className="text-sm text-muted-foreground leading-relaxed">
เราใช้มาตรการรักษาความปลอดภัยที่เหมาะสมเพื่อปกป้องข้อมูลของคุณ
อย่างไรก็ตาม ไม่มีวิธีการส่งข้อมูลผ่านอินเทอร์เน็ตที่ปลอดภัย 100%
</CardContent>
</Card>
<Card>
<CardHeader>
<CardTitle className="text-lg">6. การเปลี่ยนแปลงนโยบาย</CardTitle>
</CardHeader>
<CardContent className="text-sm text-muted-foreground leading-relaxed">
เราอาจปรับปรุงนโยบายความเป็นส่วนตัวนี้เป็นครั้งคราว
การเปลี่ยนแปลงจะมีผลทันทีเมื่อเผยแพร่บนเว็บไซต์
</CardContent>
</Card>
<Card>
<CardHeader>
<CardTitle className="text-lg">7. ติดต่อเรา</CardTitle>
</CardHeader>
<CardContent className="text-sm text-muted-foreground leading-relaxed">
หากมีคำถามเกี่ยวกับนโยบายความเป็นส่วนตัว สามารถติดต่อได้ผ่านทาง{" "}
<a
href={config.site.discordInviteUrl}
target="_blank"
rel="noopener noreferrer"
className="underline text-foreground hover:text-primary"
>
Discord server
</a>
</CardContent>
</Card>
<Separator />
<p className="text-xs text-muted-foreground text-center pb-4">
อัปเดตล่าสุด: 30 มิถุนายน 2569
</p>
</div>
</main>
);
}