diff --git a/src/app/seller/dashboard/page.tsx b/src/app/seller/dashboard/page.tsx new file mode 100644 index 0000000..eba6831 --- /dev/null +++ b/src/app/seller/dashboard/page.tsx @@ -0,0 +1,111 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import ReactLenis from "lenis/react"; +import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline'; +import ButtonTextUnderline from '@/components/button/ButtonTextUnderline'; + +export default function SellerDashboardPage() { + const navItems = [ + { name: "Home", id: "/" }, + { name: "Products", id: "#products" }, + { name: "Features", id: "#features" }, + { name: "Testimonials", id: "#testimonials" }, + { name: "Pricing", id: "#pricing" }, + { name: "FAQ", id: "#faq" }, + { name: "Contact", id: "#contact" }, + { name: "Login", id: "/login" }, + { name: "Register", id: "/register" }, + { name: "Customer", id: "/customer/dashboard" }, + { name: "Seller", id: "/seller/dashboard" } + ]; + + const uploadedDesigns = [ + { id: "d1", name: "Modern Social Media Pack", status: "Active", sales: 15 }, + { id: "d2", name: "Ultimate Instagram Kit", status: "Active", sales: 10 }, + { id: "d3", name: "Professional Business Card", status: "Pending Review", sales: 0 } + ]; + + const handleUploadDesign = () => { + alert("Upload Design functionality coming soon!"); + }; + + const handleManageDesign = (designId: string) => { + alert(`Manage design ${designId} functionality coming soon!`); + }; + + return ( + + + + +
+
+

Seller Dashboard

+ +
+

Your Designs

+ +
+ +
+ {uploadedDesigns.length === 0 ? ( +

You haven't uploaded any designs yet. Click "Upload New Design" to get started!

+ ) : ( +
+ + + + + + + + + + + {uploadedDesigns.map((design) => ( + + + + + + + ))} + +
Design NameStatusSalesActions
{design.name}{design.status}{design.sales} + handleManageDesign(design.id)} + className="text-primary-cta hover:underline" + /> +
+
+ )} +
+
+
+
+
+ ); +} \ No newline at end of file