feat: Implement payment success confirmation page and testimonials form with new icons.

This commit is contained in:
pradeepkumar
2026-02-12 06:21:11 +05:30
parent 6be8a314e9
commit cb76eb6488
13 changed files with 455 additions and 30 deletions

View File

@@ -2,6 +2,7 @@
import { useState } from 'react';
import Image from 'next/image';
import { useRouter } from 'next/navigation';
interface CheckoutFeature {
label: string;
@@ -15,11 +16,13 @@ const CHECKOUT_FEATURES: CheckoutFeature[] = [
export function PaymentCheckoutForm() {
const [isProcessing, setIsProcessing] = useState(false);
const router = useRouter();
const handlePayNow = async () => {
setIsProcessing(true);
// TODO: Integrate with payment gateway
setTimeout(() => setIsProcessing(false), 2000);
// For now, navigate to confirmation page
router.push('/agent/settings/billings/confirmation');
};
return (