From 7c94d5e9e5edca4da4b0f55f3531a17fbd1acd40 Mon Sep 17 00:00:00 2001 From: Ricardo Castro Date: Sun, 30 Jun 2024 05:24:18 +0200 Subject: [PATCH] feat: add gift confirmation instructions --- .../src/app/confirm/[giftId]/page.tsx | 71 ++++++++++++++++--- 1 file changed, 63 insertions(+), 8 deletions(-) diff --git a/apps/gifting-concierge/src/app/confirm/[giftId]/page.tsx b/apps/gifting-concierge/src/app/confirm/[giftId]/page.tsx index fbcebf6b..9c1ef884 100644 --- a/apps/gifting-concierge/src/app/confirm/[giftId]/page.tsx +++ b/apps/gifting-concierge/src/app/confirm/[giftId]/page.tsx @@ -2,7 +2,12 @@ import Image from "next/image"; import Link from "next/link"; import { createClient } from "~/supabase/server"; import { ConfirmGift } from "./confirm-gift"; -import { ChevronRightIcon } from "lucide-react"; +import { + ChevronRightIcon, + HeartHandshakeIcon, + GiftIcon, + ZapIcon, +} from "lucide-react"; import ShippingForm from "./details/shipping-form"; import giftboxGIF from "~/assets/giftbox2.gif"; import { cn } from "@theliaison/ui"; @@ -76,15 +81,65 @@ export default async function Confirm({ +
+
+ } + title="Secure First" + description={ +

+ 1. Rest assured, your address will only be + used to deliver your gift and{" "} + will remain private. The sender will not know + your address. +

+ } + /> + } + title="Wait for the surprise" + description={ +

+ 2. The gift sender wanted to keep this gift a + surprise, so enjoy the anticipation. +

+ } + /> + } + title="Fast" + description={ +

+ 3. Fast and secure delivery. + Once you provide your address, we'll take care of the rest and + deliver your gift promptly. +

+ } + /> +
+
); } -/** - * Intructions: - * 1. Rest assured, your address will only be used to deliver your gift and will remain private. The sender will not know your address. - * 2. The gift sender wanted to keep this gift a surprise, so enjoy the anticipation. - * 3. Fast and Secure Delivery. Once you provide your address, we'll take care of the rest and deliver your gift promptly. - * CTA Button: Submit Address Securely - */ +function InstructionCard({ + description, + icon, + title, +}: { icon: JSX.Element; title: string; description: string | JSX.Element }) { + return ( +
+
+
+ {icon} +
+
{title}
+
+ +
+ {description} +
+
+ ); +}