feat: checkout page implemented

This commit is contained in:
Afra ‌ 2026-09-02 10:40:24 +03:30
parent f94ee531a3
commit 08e4a1a98a

View file

@ -94,7 +94,9 @@ export function CheckoutFulfillment({ group }: { group: CartGroup }) {
</section>
<div className="fixed inset-x-0 bottom-0 z-10 mx-auto flex w-full max-w-md flex-col items-center bg-white px-4 pt-4 pb-6 shadow-[0_-4px_15px_0_rgba(0,0,0,0.102)]">
<Link href="/checkout" className="w-full">
{/* Pickup has its own confirm+pay screen (no address needed); delivery still
goes to the general /checkout form until that flow's design is provided. */}
<Link href={pickup ? `/checkout/${group.store.uuid}/confirm` : "/checkout"} className="w-full">
<button
type="button"
className="w-full rounded-2xl bg-primary-action py-4 text-[15px] font-bold text-white"