Update src/app/products/page.tsx

This commit is contained in:
2026-03-09 09:36:26 +00:00
parent 3e31b67ef4
commit 6eba730fd3

View File

@@ -1,16 +1,50 @@
"use client";
import { ThemeProvider } from "@/components/theme/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import ProductCardOne from "@/components/sections/product/ProductCardOne";
import ContactCTA from "@/components/sections/contact/ContactCTA";
import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import ProductCardTwo from "@/components/sections/product/ProductCardTwo";
import FooterBase from "@/components/sections/footer/FooterBase";
import { ShoppingCart } from "lucide-react";
const products = [
{
id: "1", brand: "Automotive LED", name: "Volvo S60R LED Panel", price: "$59.99", rating: 5,
reviewCount: "128", imageSrc: "/volvo-s60r-led.jpg", imageAlt: "Volvo S60R LED Panel - Premium automotive lighting solution"},
{
id: "2", brand: "Automotive LED", name: "Mercedes-Benz SEL LED Panel", price: "$59.99", rating: 5,
reviewCount: "156", imageSrc: "/mercedes-sel-led.jpg", imageAlt: "Mercedes-Benz SEL LED Panel - Professional grade LED lighting"},
{
id: "3", brand: "Automotive LED", name: "BMW E30 LED Panel", price: "$59.99", rating: 5,
reviewCount: "142", imageSrc: "/bmw-e30-led.jpg", imageAlt: "BMW E30 LED Panel - Classic car lighting upgrade"},
];
const footerColumns = [
{
title: "Product", items: [
{ label: "Shop", href: "/" },
{ label: "Features", href: "#features" },
{ label: "Pricing", href: "#pricing" },
],
},
{
title: "Company", items: [
{ label: "About", href: "#about" },
{ label: "Contact", href: "#contact" },
{ label: "Support", href: "#support" },
],
},
{
title: "Legal", items: [
{ label: "Privacy", href: "#privacy" },
{ label: "Terms", href: "#terms" },
],
},
];
export default function ProductsPage() {
return (
<ThemeProvider
defaultButtonVariant="icon-arrow"
defaultButtonVariant="hover-magnetic"
defaultTextAnimation="entrance-slide"
borderRadius="rounded"
contentWidth="mediumLarge"
@@ -18,79 +52,45 @@ export default function ProductsPage() {
background="none"
cardStyle="solid"
primaryButtonStyle="gradient"
secondaryButtonStyle="glass"
secondaryButtonStyle="solid"
headingFontWeight="bold"
>
<NavbarLayoutFloatingInline
<NavbarLayoutFloatingOverlay
navItems={[
{ name: "Home", id: "/" },
{ name: "Products", id: "/products" },
{ name: "Shop", id: "/products" },
{ name: "About", id: "#about" },
{ name: "Contact", id: "#contact" },
]}
brandName="CarLed"
button={{
text: "Shop Now", href: "/products"}}
animateOnLoad={true}
brandName="AutoLED"
button={{ text: "Shop Now", href: "/products" }}
/>
<div className="pt-[--padding-hero-page-padding]">
<div className="py-[--padding-hero-page-padding]">
<h1 className="text-6xl font-bold mb-4 text-foreground">Our Products</h1>
<p className="text-xl text-foreground/80 mb-12">
Premium LED panels for premium vehicles. Each panel is carefully crafted
for perfect fit and exceptional performance.
</p>
</div>
<div id="all-products" data-section="all-products" className="py-[--padding-hero-page-padding]">
<ProductCardOne
products={[
{
id: "1", name: "Volvo S60R Led Panel", price: "$59.99", imageSrc: "/images/volvo-s60r-led.jpg", imageAlt: "Volvo S60R LED Panel", onProductClick: () => {
window.location.href = "/product/volvo-s60r-led-panel";
},
},
{
id: "2", name: "Mercedes Sel Led Panel", price: "$59.99", imageSrc: "/images/mercedes-sel-led.jpg", imageAlt: "Mercedes Sel LED Panel", onProductClick: () => {
window.location.href = "/product/mercedes-sel-led-panel";
},
},
{
id: "3", name: "BMW e30 Led Panel", price: "$59.99", imageSrc: "/images/bmw-e30-led.jpg", imageAlt: "BMW e30 LED Panel", onProductClick: () => {
window.location.href = "/product/bmw-e30-led-panel";
},
},
]}
title="All Products"
description="Browse our complete collection of premium LED panels"
textboxLayout="default"
animationType="slide-up"
gridVariant="three-columns-all-equal-width"
useInvertedBackground={false}
/>
</div>
</div>
<div id="cta" data-section="cta" className="py-[--padding-hero-page-padding]">
<ContactCTA
tag="Questions?"
title="Need Help Choosing the Right Panel?"
description="Our expert team is here to help you find the perfect LED panel for your vehicle. Contact us for personalized recommendations."
buttons={[
{ text: "Contact Support", href: "mailto:support@carled.com" },
{ text: "Back to Home", href: "/" },
]}
background={{ variant: "plain" }}
<div id="products" data-section="products" className="pt-32">
<ProductCardTwo
products={products}
title="All LED Panels"
description="Browse our complete collection of premium car-themed LED lighting panels. Each panel is designed for durability, brightness, and perfect vehicle integration."
textboxLayout="default"
useInvertedBackground={false}
animationType="slide-up"
gridVariant="three-columns-all-equal-width"
tag="All Products"
tagIcon={ShoppingCart}
buttons={[
{ text: "View Details", href: "/" },
{ text: "Contact Sales", href: "#contact" },
]}
/>
</div>
<FooterLogoReveal
logoText="CarLed"
leftLink={{ text: "Privacy Policy", href: "/privacy" }}
rightLink={{ text: "Terms of Service", href: "/terms" }}
/>
<div id="footer" data-section="footer">
<FooterBase
columns={footerColumns}
logoText="AutoLED"
copyrightText="© 2025 AutoLED. All rights reserved."
/>
</div>
</ThemeProvider>
);
}