Skip to content

Commit f424238

Browse files
authored
Merge pull request #84 from apsinghdev/add/confirmation-page
add purchase confirmation page
2 parents 08cc213 + 9dc04cf commit f424238

File tree

2 files changed

+59
-0
lines changed

2 files changed

+59
-0
lines changed

apps/web/src/app/checkout/page.tsx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import CheckoutConfirmation from "@/components/checkout/checkout-confirmation";
2+
import Image from "next/image";
3+
4+
export default function Checkout() {
5+
return (
6+
<div className="flex flex-col h-screen w-full justify-center items-center relative">
7+
<Image
8+
src="/assets/bgmain.svg"
9+
alt="background"
10+
fill
11+
className="object-cover max-md:object-top w-full h-full absolute -z-10 opacity-90"
12+
priority
13+
/>
14+
<div className=" z-10">
15+
<CheckoutConfirmation></CheckoutConfirmation>
16+
</div>
17+
</div>
18+
);
19+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
import React from "react";
2+
import { Check } from "lucide-react";
3+
import { cn } from "@/lib/utils";
4+
5+
interface CheckoutConfirmationProps {
6+
className?: string;
7+
}
8+
9+
const CheckoutConfirmation: React.FC<CheckoutConfirmationProps> = ({
10+
className,
11+
}) => {
12+
return (
13+
<div className={cn("max-w-4xl mx-auto p-8 lg:p-16", className)}>
14+
<div className="relative bg-transparent border-2 border-white/20 rounded-[2rem] p-8 lg:p-16 backdrop-blur-sm">
15+
{/* Success Icon */}
16+
<div className="flex justify-center mb-8">
17+
<div className="w-20 h-20 lg:w-24 lg:h-24 rounded-full border-2 border-green-400/30 bg-green-500/20 flex items-center justify-center">
18+
<Check className="w-10 h-10 lg:w-12 lg:h-12 text-green-400 stroke-[3]" />
19+
</div>
20+
</div>
21+
22+
{/* Main Message */}
23+
<div className="text-center space-y-6">
24+
<p className="text-lg lg:text-xl text-white/90 leading-relaxed font-light max-w-3xl mx-auto">
25+
Hell yeah, you&apos;ve made it! Congratulations on becoming the
26+
premium member of Opensox AI. Very soon you&apos;ll receive an email
27+
with the next steps from our side.
28+
</p>
29+
30+
<p className="text-lg lg:text-xl text-white/90 leading-relaxed font-light max-w-3xl mx-auto">
31+
If you have any doubts, feel free to ping us here:{" "}
32+
<span className="text-[#A970FF]">hi@opensox.ai</span>
33+
</p>
34+
</div>
35+
</div>
36+
</div>
37+
);
38+
};
39+
40+
export default CheckoutConfirmation;

0 commit comments

Comments
 (0)