Add src/app/products/page.tsx

This commit is contained in:
2026-04-05 15:11:11 +00:00
parent 8eaed6f944
commit 2602db93d3

60
src/app/products/page.tsx Normal file
View File

@@ -0,0 +1,60 @@
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
export default function ProductListingPage() {
return (
<ThemeProvider
defaultButtonVariant="shift-hover"
defaultTextAnimation="background-highlight"
borderRadius="pill"
contentWidth="smallMedium"
sizing="large"
background="blurBottom"
cardStyle="solid"
primaryButtonStyle="double-inset"
secondaryButtonStyle="radial-glow"
headingFontWeight="extrabold"
>
<ReactLenis root>
<div id="nav" data-section="nav">
<NavbarStyleCentered
navItems={[
{ name: "Home", id: "/" },
{ name: "Products", id: "/products" },
]}
brandName="SwiftMarket"
/>
</div>
<div id="products" data-section="products" className="pt-24">
<ProductCardFour
animationType="slide-up"
textboxLayout="default"
gridVariant="four-items-2x2-equal-grid"
useInvertedBackground={false}
title="All Products"
description="Filter and sort your favorite tech gadgets."
products={[
{ id: "1", name: "Pro Wireless Headphones", price: "$199", variant: "Black", imageSrc: "http://img.b2bpic.net/free-photo/black-cup-tea-with-headphones-red-background_185193-163975.jpg" },
{ id: "2", name: "Modern Smartwatch", price: "$299", variant: "Silver", imageSrc: "http://img.b2bpic.net/free-photo/still-life-tech-device_23-2150722697.jpg" },
{ id: "3", name: "Mechanical Keyboard", price: "$149", variant: "RGB", imageSrc: "http://img.b2bpic.net/free-photo/pink-keyboard-mouse_23-2147982598.jpg" },
{ id: "4", name: "Flagship Smartphone", price: "$899", variant: "Space Gray", imageSrc: "http://img.b2bpic.net/free-photo/top-view-cyber-monday-tag-with-copy-space_23-2148657706.jpg" }
]}
/>
</div>
<div id="footer" data-section="footer">
<FooterBaseCard
logoText="SwiftMarket"
columns={[]}
/>
</div>
</ReactLenis>
</ThemeProvider>
);
}