Files
buzz/app/(ui)/rubgram/rules.tsx
T
gunshiz 277cdf2301
Build and Push Image / docker (push) Successful in 2m27s
feat(rubgram): rule update
2026-04-19 00:46:46 +07:00

49 lines
1.8 KiB
TypeScript
Executable File

import type * as DialogPrimitive from "@radix-ui/react-dialog";
import Link from "next/link";
import { Button } from "@/components/ui/button";
import {
Dialog,
DialogClose,
DialogContent,
DialogFooter,
DialogHeader,
DialogTitle,
DialogTrigger,
} from "@/components/ui/dialog";
export function RulesDialog({
children,
...props
}: React.ComponentProps<typeof DialogPrimitive.Root> & {
children: React.ReactNode;
}) {
return (
<Dialog {...props}>
<DialogTrigger asChild>{children}</DialogTrigger>
<DialogContent className="sm:max-w-lg">
<DialogHeader>
<DialogTitle>กฏการลงคิว</DialogTitle>
</DialogHeader>
<p>
{" "}
1. กรณีจ่ายเงินแล้วเล่นแล้วไม่ผ่านจริงๆจะคืนเงินคืน
<br />
2. เมื่อถึงคิวแล้วจะมีการเรียกตัวผ่านช่อง ยมบาลตามตัว หลังจากโดนแท็กแล้วให้ทักหาบุสทันที
<br />
3. หากไม่ทักภายใน 10 นาทีจะข้ามคิวไปก่อน ถ้ามาแล้วสามารถทักได้เลย
<br />
4. การกดตกลงจะถือว่ายอมรับ{" "}
<u className="text-blue-500">
<Link href="https://sudloh.com/privacy">Privacy policy</Link>
</u>
</p>
<DialogFooter>
<DialogClose asChild>
<Button variant="outline">ตกลง</Button>
</DialogClose>
</DialogFooter>
</DialogContent>
</Dialog>
);
}