Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 87fb8e00bf | |||
| 238dc7e9f4 | |||
| 0b538e22a8 | |||
| cecb08ca25 | |||
| e458db4387 | |||
| 62e533e177 | |||
| 1e438a0e62 | |||
| c5c70946e9 | |||
| e9832cbac6 | |||
| b685ee0c65 | |||
| 1eb7ef10e6 | |||
| 51a7d0c46d | |||
| 15dc6e0e57 | |||
| 06886871db | |||
| b79197ad6d | |||
| 17d92f8842 |
@@ -12,6 +12,7 @@ import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaA
|
||||
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
|
||||
import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen';
|
||||
import MetricCardSeven from '@/components/sections/metrics/MetricCardSeven';
|
||||
|
||||
export default function LandingPage() {
|
||||
return (
|
||||
@@ -35,10 +36,12 @@ export default function LandingPage() {
|
||||
{ name: "About", id: "about" },
|
||||
{ name: "Products", id: "products" },
|
||||
{ name: "Features", id: "features" },
|
||||
{ name: "Management", id: "management" },
|
||||
{ name: "Metrics", id: "metrics" },
|
||||
{ name: "Testimonials", id: "testimonials" },
|
||||
{ name: "FAQ", id: "faq" },
|
||||
{ name: "Contact", id: "contact" },
|
||||
{ name: "Seller Upload", id: "/seller-upload" },
|
||||
]}
|
||||
brandName="Mart"
|
||||
/>
|
||||
@@ -91,15 +94,16 @@ export default function LandingPage() {
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{ id: "p1", brand: "Mart", name: "Tech Cube", price: "$129", rating: 5, reviewCount: "120", imageSrc: "http://img.b2bpic.net/free-photo/top-view-autumn-journey-elements-composition-with-laptop_23-2148634126.jpg" },
|
||||
{ id: "p2", brand: "Mart", name: "Flow Device", price: "$89", rating: 4, reviewCount: "85", imageSrc: "http://img.b2bpic.net/free-photo/sustainability-concept-with-blank-geometric-forms-growing-plant_23-2148994247.jpg" },
|
||||
{ id: "p3", brand: "Mart", name: "Sync Pods", price: "$159", rating: 5, reviewCount: "210", imageSrc: "http://img.b2bpic.net/free-photo/top-view-hard-drive-blue-light_23-2149417056.jpg" },
|
||||
{ id: "p4", brand: "Mart", name: "Apex Hub", price: "$249", rating: 5, reviewCount: "45", imageSrc: "http://img.b2bpic.net/free-photo/3d-view-blooming-flower_23-2150472254.jpg" },
|
||||
{ id: "p5", brand: "Mart", name: "Orbit Light", price: "$69", rating: 4, reviewCount: "92", imageSrc: "http://img.b2bpic.net/free-photo/perfectly-ordered-compositions-high-angle_23-2149872088.jpg" },
|
||||
{ id: "p6", brand: "Mart", name: "Nexus Core", price: "$299", rating: 5, reviewCount: "300", imageSrc: "http://img.b2bpic.net/free-photo/blue-model-career-kit-arrangement_23-2150084001.jpg" },
|
||||
{ id: "p1", brand: "Mart (Seller: TechSupplies | 555-0100)", name: "Tech Cube", price: "$129", rating: 5, reviewCount: "120", imageSrc: "http://img.b2bpic.net/free-photo/top-view-autumn-journey-elements-composition-with-laptop_23-2148634126.jpg" },
|
||||
{ id: "p2", brand: "Mart (Seller: GadgetHub | 555-0200)", name: "Flow Device", price: "$89", rating: 4, reviewCount: "85", imageSrc: "http://img.b2bpic.net/free-photo/sustainability-concept-with-blank-geometric-forms-growing-plant_23-2148994247.jpg" },
|
||||
{ id: "p3", brand: "Mart (Seller: SyncLab | 555-0300)", name: "Sync Pods", price: "$159", rating: 5, reviewCount: "210", imageSrc: "http://img.b2bpic.net/free-photo/top-view-hard-drive-blue-light_23-2149417056.jpg" },
|
||||
{ id: "p4", brand: "Mart (Seller: ApexPro | 555-0400)", name: "Apex Hub", price: "$249", rating: 5, reviewCount: "45", imageSrc: "http://img.b2bpic.net/free-photo/3d-view-blooming-flower_23-2150472254.jpg" },
|
||||
{ id: "p5", brand: "Mart (Seller: OrbitTech | 555-0500)", name: "Orbit Light", price: "$69", rating: 4, reviewCount: "92", imageSrc: "http://img.b2bpic.net/free-photo/perfectly-ordered-compositions-high-angle_23-2149872088.jpg" },
|
||||
{ id: "p6", brand: "Mart (Seller: NexusOps | 555-0600)", name: "Nexus Core", price: "$299", rating: 5, reviewCount: "300", imageSrc: "http://img.b2bpic.net/free-photo/blue-model-career-kit-arrangement_23-2150084001.jpg" },
|
||||
]}
|
||||
title="Explore Collections"
|
||||
description="Hand-picked high-tech accessories for the modern lifestyle."
|
||||
description="Hand-picked high-tech accessories. Seller info is displayed with each product. Interested in selling? Visit our Upload Page."
|
||||
buttons={[{ text: "Go to Seller Upload", href: "/seller-upload" }]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -117,6 +121,21 @@ export default function LandingPage() {
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="management" data-section="management">
|
||||
<MetricCardSeven
|
||||
title="Order & Seller Management"
|
||||
description="Integrated processing and full visibility into your sales pipeline."
|
||||
tag="Sellers"
|
||||
animationType="slide-up"
|
||||
useInvertedBackground={true}
|
||||
textboxLayout="default"
|
||||
metrics={[
|
||||
{ id: "m1", value: "Auto", title: "Payment Processing", items: ["Secure integration with stripe", "Automated payouts", "Tax calculation"] },
|
||||
{ id: "m2", value: "Live", title: "Order Tracking", items: ["Status updates", "Inventory sync", "Shipping labels"] },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="metrics" data-section="metrics">
|
||||
<MetricCardFourteen
|
||||
useInvertedBackground={true}
|
||||
|
||||
78
src/app/seller-dashboard/page.tsx
Normal file
78
src/app/seller-dashboard/page.tsx
Normal file
@@ -0,0 +1,78 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
|
||||
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
|
||||
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
|
||||
|
||||
export default function SellerDashboardPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="text-stagger"
|
||||
defaultTextAnimation="entrance-slide"
|
||||
borderRadius="rounded"
|
||||
contentWidth="medium"
|
||||
sizing="medium"
|
||||
background="circleGradient"
|
||||
cardStyle="glass-elevated"
|
||||
primaryButtonStyle="gradient"
|
||||
secondaryButtonStyle="glass"
|
||||
headingFontWeight="normal"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleCentered
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Seller Dashboard", id: "/seller-dashboard" },
|
||||
{ name: "Stores", id: "/stores/1" },
|
||||
]}
|
||||
brandName="Mart"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="profile" data-section="profile">
|
||||
<MetricSplitMediaAbout
|
||||
title="Seller Profile"
|
||||
description="Manage your public seller profile, contact info, and business details here."
|
||||
metrics={[]}
|
||||
useInvertedBackground={false}
|
||||
mediaAnimation="slide-up"
|
||||
metricsAnimation="slide-up"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="products" data-section="products">
|
||||
<ProductCardTwo
|
||||
title="Product Management"
|
||||
description="View and manage your active inventory and stock listings."
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
animationType="slide-up"
|
||||
textboxLayout="split"
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{ id: "p1", brand: "BrandA", name: "Tech Cube", price: "$129", rating: 4.5, reviewCount: "120", imageSrc: "http://img.b2bpic.net/free-photo/top-view-autumn-journey-elements-composition-with-laptop_23-2148634126.jpg" },
|
||||
{ id: "p2", brand: "BrandB", name: "Flow Device", price: "$89", rating: 4.8, reviewCount: "85", imageSrc: "http://img.b2bpic.net/free-photo/sustainability-concept-with-blank-geometric-forms-growing-plant_23-2148994247.jpg" },
|
||||
{ id: "p3", brand: "BrandC", name: "Smart Hub", price: "$199", rating: 4.2, reviewCount: "200", imageSrc: "http://img.b2bpic.net/free-photo/modern-office-space-with-laptop-stationery-plant_23-2148464303.jpg" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="metrics" data-section="metrics">
|
||||
<MetricCardFourteen
|
||||
title="Sales Analytics"
|
||||
tag="Performance"
|
||||
useInvertedBackground={false}
|
||||
metrics={[
|
||||
{ id: "m1", description: "Total Revenue", value: "$12,450" },
|
||||
{ id: "m2", description: "Orders", value: "482" },
|
||||
{ id: "m3", description: "New Customers", value: "128" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
72
src/app/seller-upload/page.tsx
Normal file
72
src/app/seller-upload/page.tsx
Normal file
@@ -0,0 +1,72 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
||||
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
|
||||
|
||||
export default function SellerUploadPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="text-shift"
|
||||
defaultTextAnimation="entrance-slide"
|
||||
borderRadius="pill"
|
||||
contentWidth="medium"
|
||||
sizing="medium"
|
||||
background="circleGradient"
|
||||
cardStyle="glass-elevated"
|
||||
primaryButtonStyle="gradient"
|
||||
secondaryButtonStyle="glass"
|
||||
headingFontWeight="normal"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleCentered
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "About", id: "/#about" },
|
||||
{ name: "Products", id: "/#products" },
|
||||
{ name: "Features", id: "/#features" },
|
||||
{ name: "Management", id: "/#management" },
|
||||
{ name: "Metrics", id: "/#metrics" },
|
||||
{ name: "Testimonials", id: "/#testimonials" },
|
||||
{ name: "FAQ", id: "/#faq" },
|
||||
{ name: "Contact", id: "/#contact" },
|
||||
{ name: "Sell", id: "/seller-upload" },
|
||||
]}
|
||||
brandName="Mart"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="upload" data-section="upload">
|
||||
<ContactSplitForm
|
||||
title="Product Upload"
|
||||
description="Provide details for your product to get it listed on our marketplace."
|
||||
inputs={[
|
||||
{ name: "name", type: "text", placeholder: "Product Name", required: true },
|
||||
{ name: "price", type: "number", placeholder: "Price", required: true },
|
||||
{ name: "category", type: "text", placeholder: "Category", required: true },
|
||||
{ name: "phone", type: "tel", placeholder: "Contact Number", required: true }
|
||||
]}
|
||||
textarea={{ name: "description", placeholder: "Product Description", rows: 4, required: true }}
|
||||
useInvertedBackground={false}
|
||||
buttonText="Upload Product"
|
||||
onSubmit={(data) => console.log("Form submitted:", data)}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterLogoEmphasis
|
||||
columns={[
|
||||
{ items: [{ label: "Shop", href: "/#products" }, { label: "About", href: "/#about" }] },
|
||||
{ items: [{ label: "Support", href: "/#faq" }, { label: "Contact", href: "/#contact" }] },
|
||||
{ items: [{ label: "Terms", href: "#" }, { label: "Privacy", href: "#" }] },
|
||||
]}
|
||||
logoText="Mart"
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
36
src/app/stores/[id]/page.tsx
Normal file
36
src/app/stores/[id]/page.tsx
Normal file
@@ -0,0 +1,36 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||
|
||||
export default function StorePage({ params }: { params: { id: string } }) {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="text-stagger"
|
||||
defaultTextAnimation="entrance-slide"
|
||||
borderRadius="rounded"
|
||||
contentWidth="medium"
|
||||
sizing="medium"
|
||||
background="circleGradient"
|
||||
cardStyle="glass-elevated"
|
||||
primaryButtonStyle="gradient"
|
||||
secondaryButtonStyle="glass"
|
||||
headingFontWeight="normal"
|
||||
>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleCentered
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Seller Dashboard", id: "/seller-dashboard" },
|
||||
{ name: "Stores", id: "/stores/1" },
|
||||
{ name: "Seller Upload", id: "/seller-upload" },
|
||||
]}
|
||||
brandName="Mart"
|
||||
/>
|
||||
</div>
|
||||
<main className="p-8">
|
||||
<h1 className="text-4xl">Store {params.id}</h1>
|
||||
</main>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user