Files
87dd2010-fdee-45f9-8985-f1d…/src/app/payment/page.tsx

74 lines
2.8 KiB
TypeScript

"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import PricingCardTwo from '@/components/sections/pricing/PricingCardTwo';
import FooterBase from '@/components/sections/footer/FooterBase';
export default function PaymentPage() {
const handlePayment = () => {
alert("Opening secure payment gateway for Visa / Mastercard...");
};
return (
<ThemeProvider
defaultButtonVariant="shift-hover"
defaultTextAnimation="background-highlight"
borderRadius="soft"
contentWidth="mediumSmall"
sizing="large"
background="grid"
cardStyle="layered-gradient"
primaryButtonStyle="radial-glow"
secondaryButtonStyle="layered"
headingFontWeight="semibold"
>
<ReactLenis root>
<div id="nav" data-section="nav">
<NavbarLayoutFloatingInline
navItems={[
{ name: "How it Works", id: "/#how-it-works" },
{ name: "Pricing", id: "/#pricing" },
{ name: "FAQ", id: "/#faq" },
]}
brandName="Place2Page"
button={{ text: "Get Started", href: "/payment" }}
/>
</div>
<div className="pt-32 pb-20">
<PricingCardTwo
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={false}
title="Choose Your Plan"
description="Select the perfect plan to get your local business online."
plans={[
{
id: "basic", badge: "Basic", price: "$0/mo", subtitle: "Essential tools for getting started.", buttons: [{ text: "Get Started", onClick: handlePayment }],
features: ["Basic listing page", "AI content generation", "Standard support"]
},
{
id: "core", badge: "Core", price: "$4.99/mo", subtitle: "Enhanced tools for growth.", buttons: [{ text: "Get Started", onClick: handlePayment }],
features: ["Everything in Basic", "Custom domain support", "Priority support"]
}
]}
/>
</div>
<div id="footer" data-section="footer">
<FooterBase
columns={[
{ title: "Product", items: [{ label: "Pricing", href: "/#pricing" }, { label: "FAQ", href: "/#faq" }] },
{ title: "Company", items: [{ label: "Contact", href: "/#contact" }] },
{ title: "Legal", items: [{ label: "Privacy Policy", href: "/#" }, { label: "Terms of Service", href: "/#" }] },
]}
logoText="Place2Page"
/>
</div>
</ReactLenis>
</ThemeProvider>
);
}