Add src/app/listings/page.tsx
This commit is contained in:
62
src/app/listings/page.tsx
Normal file
62
src/app/listings/page.tsx
Normal file
@@ -0,0 +1,62 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||
import FooterCard from '@/components/sections/footer/FooterCard';
|
||||
import ProductCardFour from '@/components/sections/product/ProductCardFour';
|
||||
|
||||
export default function ListingsPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="text-stagger"
|
||||
defaultTextAnimation="background-highlight"
|
||||
borderRadius="pill"
|
||||
contentWidth="medium"
|
||||
sizing="largeSizeMediumTitles"
|
||||
background="none"
|
||||
cardStyle="inset"
|
||||
primaryButtonStyle="radial-glow"
|
||||
secondaryButtonStyle="radial-glow"
|
||||
headingFontWeight="medium"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleCentered
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Explore", id: "/listings" },
|
||||
{ name: "How it Works", id: "/#features" },
|
||||
{ name: "Support", id: "/#faq" },
|
||||
]}
|
||||
brandName="RentShare"
|
||||
/>
|
||||
</div>
|
||||
<div className="pt-32 pb-20">
|
||||
<ProductCardFour
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{ id: "p1", name: "DSLR Camera", price: "$15/day", variant: "Electronics", imageSrc: "http://img.b2bpic.net/free-photo/elevated-view-dslr-camera-with-lens-extension-rings-marble-background_23-2148038876.jpg" },
|
||||
{ id: "p2", name: "Power Drill", price: "$8/day", variant: "Tools", imageSrc: "http://img.b2bpic.net/free-photo/set-yellow-tools_1303-20318.jpg" },
|
||||
{ id: "p3", name: "Stand Mixer", price: "$12/day", variant: "Kitchen", imageSrc: "http://img.b2bpic.net/free-photo/lovely-mature-woman-serving-breakfast-home_23-2148440100.jpg" },
|
||||
{ id: "p4", name: "Camping Tent", price: "$20/day", variant: "Outdoor", imageSrc: "http://img.b2bpic.net/free-photo/handsome-man-traveling-with-his-backpack_23-2149118702.jpg" },
|
||||
{ id: "p5", name: "Bluetooth Speaker", price: "$5/day", variant: "Electronics", imageSrc: "http://img.b2bpic.net/free-photo/reflection-musician-piano_23-2148673658.jpg" },
|
||||
{ id: "p6", name: "City Bicycle", price: "$10/day", variant: "Outdoor", imageSrc: "http://img.b2bpic.net/free-photo/metal-lock-bike-wheel_53876-15073.jpg" },
|
||||
]}
|
||||
title="All Rental Listings"
|
||||
description="Filter by category to find the gear you need today."
|
||||
/>
|
||||
</div>
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterCard
|
||||
logoText="RentShare"
|
||||
copyrightText="© 2025 RentShare Inc."
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user