Update src/app/cart/page.tsx

This commit is contained in:
2026-03-25 22:18:17 +00:00
parent bca7d06980
commit 12e1bbb9a3

View File

@@ -45,7 +45,8 @@ export default function CartPage() {
const emptyCartHeroProps = {
logoText: "Your Cart is Empty", description: "Looks like you haven't added anything yet. Start exploring our sun protection essentials to find your perfect match!", buttons: Array.from([{ text: "Shop Now", href: "/shop" }]),
background: { variant: "plain" },
mediaAnimation: "none", ariaLabel: "Empty cart message section"} as const;
mediaAnimation: "none", ariaLabel: "Empty cart message section"
} as const;
const recommendedProductsProps = {
title: "You Might Also Like", description: "Explore more of our sun protection essentials to complete your order.", products: Array.from([
@@ -58,7 +59,7 @@ export default function CartPage() {
{
id: "product-travel-kit", name: "Travel Swipes Kit", price: "$12.99", variant: "Mixed SPF", imageSrc: "http://img.b2bpic.net/free-photo/top-view-arrangement-with-cream-bottle-lemons_23-2148295646.jpg", imageAlt: "Sunscreen Swipes box and a single wipe being used"
}
],
]),
gridVariant: "three-columns-all-equal-width", animationType: "slide-up", textboxLayout: "default", useInvertedBackground: false,
ariaLabel: "Recommended products for your cart"
} as const;
@@ -77,7 +78,7 @@ export default function CartPage() {
{
id: "4", title: "Do you ship internationally?", content: "Currently, we only ship within the United States. We are working on expanding our shipping options soon!"
}
],
]),
faqsAnimation: "slide-up", textPosition: "left", useInvertedBackground: false,
ariaLabel: "FAQs about your cart and order"
} as const;
@@ -96,7 +97,7 @@ export default function CartPage() {
id: 6,
tag: "Convenient", title: "Free Shipping", subtitle: "Delivered right to your door.", description: "Enjoy complimentary shipping on all orders, making healthy skin protection even easier."
}
],
]),
textboxLayout: "default", useInvertedBackground: false,
ariaLabel: "Reasons to shop with Sunscreen Swipes"
} as const;