Merge version_7 into main #8
@@ -177,11 +177,6 @@ export default function LandingPage() {
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground="noInvert"
|
||||
cartButton={{
|
||||
icon: ShoppingCart,
|
||||
onClick: () => setShowCart(!showCart),
|
||||
badge: totalItems > 0 ? totalItems : undefined
|
||||
}}
|
||||
/>
|
||||
|
||||
{/* Add to Cart buttons for products - inline UI as workaround */}
|
||||
@@ -205,6 +200,21 @@ export default function LandingPage() {
|
||||
Add Trousers to Cart
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{/* Cart Button */}
|
||||
<div className="fixed top-4 right-4 z-40">
|
||||
<button
|
||||
onClick={() => setShowCart(!showCart)}
|
||||
className="bg-purple-600 hover:bg-purple-700 text-white p-3 rounded-full shadow-lg transition-colors flex items-center gap-2"
|
||||
>
|
||||
<ShoppingCart size={24} />
|
||||
{totalItems > 0 && (
|
||||
<span className="bg-red-500 text-white text-xs rounded-full w-5 h-5 flex items-center justify-center">
|
||||
{totalItems}
|
||||
</span>
|
||||
)}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="about" data-section="about">
|
||||
|
||||
Reference in New Issue
Block a user