feat : also update
This commit is contained in:
@@ -14,7 +14,7 @@ async function CommissionContent() {
|
||||
await connection();
|
||||
const session = await getCustomerSession();
|
||||
if (!session) return <div className="flex flex-col gap-4 rounded-xl border p-6">
|
||||
<p>เข้าสู่ระบบหรือสมัครสมาชิกก่อนเริ่มคำขอคอมมิชชัน</p>
|
||||
<p>เข้าสู่ระบบหรือสมัครสมาชิกก่อนเริ่มคำขอ</p>
|
||||
<div className="flex flex-wrap gap-2">
|
||||
<Button nativeButton={false} render={<Link href="/login?next=%2Fcommission" />}>เข้าสู่ระบบ</Button>
|
||||
<Button variant="outline" nativeButton={false} render={<Link href="/register?next=%2Fcommission" />}>สมัครสมาชิก</Button>
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
import { MobileSlipForm } from "@/components/commission/mobile-slip-form";
|
||||
import { SiteHeader } from "@/components/public/site-header";
|
||||
|
||||
export default function UploadSlipPage() {
|
||||
return <div className="min-h-svh"><SiteHeader /><main className="mx-auto flex max-w-md flex-col gap-6 p-4 py-10">
|
||||
<h1 className="font-heading text-3xl font-semibold">อัปโหลดสลิป</h1>
|
||||
<MobileSlipForm />
|
||||
</main></div>;
|
||||
}
|
||||
Reference in New Issue
Block a user