Update src/app/checkout/page.tsx

This commit is contained in:
2026-03-25 14:41:38 +00:00
parent 2f8ea883e0
commit d32b9a7b1e

View File

@@ -26,35 +26,24 @@ export default function LandingPage() {
<NavbarLayoutFloatingInline
navItems={[
{
name: "Home",
id: "home",
href: "/",
name: "Home", id: "/"
},
{
name: "Products",
id: "products",
href: "/products",
name: "Products", id: "/products"
},
{
name: "Cart",
id: "cart",
href: "/cart",
name: "Cart", id: "/cart"
},
{
name: "Orders",
id: "orders",
href: "/orders",
name: "Orders", id: "/orders"
},
{
name: "Admin",
id: "admin",
href: "/admin",
},
name: "Admin", id: "/admin"
}
]}
brandName="ShopFusion"
button={{
text: "Login / Register",
href: "/login",
text: "Login / Register", href: "/login"
}}
animateOnLoad={true}
/>
@@ -67,46 +56,25 @@ export default function LandingPage() {
description="Enter your shipping and payment details to finalize your ShopFusion order. Secure and fast checkout process."
inputs={[
{
name: "fullName",
type: "text",
placeholder: "Full Name",
required: true,
name: "fullName", type: "text", placeholder: "Full Name", required: true,
},
{
name: "address",
type: "text",
placeholder: "Shipping Address",
required: true,
name: "address", type: "text", placeholder: "Shipping Address", required: true,
},
{
name: "city",
type: "text",
placeholder: "City",
required: true,
name: "city", type: "text", placeholder: "City", required: true,
},
{
name: "zipCode",
type: "text",
placeholder: "Zip Code",
required: true,
name: "zipCode", type: "text", placeholder: "Zip Code", required: true,
},
{
name: "cardNumber",
type: "text",
placeholder: "Card Number",
required: true,
name: "cardNumber", type: "text", placeholder: "Card Number", required: true,
},
{
name: "expiryDate",
type: "text",
placeholder: "MM/YY",
required: true,
name: "expiryDate", type: "text", placeholder: "MM/YY", required: true,
},
{
name: "cvv",
type: "text",
placeholder: "CVV",
required: true,
name: "cvv", type: "text", placeholder: "CVV", required: true,
},
]}
imageSrc="http://img.b2bpic.net/free-vector/cyber-security-web-template_23-2148904885.jpg?_wi=2"
@@ -123,20 +91,14 @@ export default function LandingPage() {
useInvertedBackground={false}
faqs={[
{
id: "1",
title: "Is my payment information secure?",
content: "Yes, ShopFusion uses industry-standard encryption and security protocols to protect your payment details. Your data is safe with us.",
id: "1", title: "Is my payment information secure?", content: "Yes, ShopFusion uses industry-standard encryption and security protocols to protect your payment details. Your data is safe with us."
},
{
id: "2",
title: "What payment methods do you accept?",
content: "We accept major credit cards (Visa, Mastercard, Amex), PayPal, and other digital payment options. You can see the full list at checkout.",
id: "2", title: "What payment methods do you accept?", content: "We accept major credit cards (Visa, Mastercard, Amex), PayPal, and other digital payment options. You can see the full list at checkout."
},
{
id: "3",
title: "Can I change my shipping address after placing an order?",
content: "Changes to shipping addresses are possible only if your order has not yet been processed. Please contact customer support immediately for assistance.",
},
id: "3", title: "Can I change my shipping address after placing an order?", content: "Changes to shipping addresses are possible only if your order has not yet been processed. Please contact customer support immediately for assistance."
}
]}
title="Checkout & Payment Help"
description="Quick answers to common questions about the checkout process and payment options."
@@ -148,56 +110,44 @@ export default function LandingPage() {
<FooterBase
columns={[
{
title: "ShopFusion",
items: [
title: "ShopFusion", items: [
{
label: "About Us",
href: "/about",
label: "About Us", href: "/about"
},
{
label: "Careers",
href: "/careers",
label: "Careers", href: "/careers"
},
{
label: "Blog",
href: "/blog",
},
],
label: "Blog", href: "/blog"
}
]
},
{
title: "Customer Service",
items: [
title: "Customer Service", items: [
{
label: "Contact Us",
href: "/contact",
label: "Contact Us", href: "/contact"
},
{
label: "Returns",
href: "/returns",
label: "Returns", href: "/returns"
},
{
label: "Shipping",
href: "/shipping",
label: "Shipping", href: "/shipping"
},
{
label: "FAQ",
href: "/faq",
},
],
label: "FAQ", href: "/faq"
}
]
},
{
title: "Legal",
items: [
title: "Legal", items: [
{
label: "Privacy Policy",
href: "/privacy",
label: "Privacy Policy", href: "/privacy"
},
{
label: "Terms of Service",
href: "/terms",
},
],
},
label: "Terms of Service", href: "/terms"
}
]
}
]}
copyrightText="© 2024 ShopFusion. All rights reserved."
/>