Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f4c9cd73f3 | |||
| 3101f4b859 | |||
| e0df9ecdfe | |||
| 67918cca41 | |||
| 7f9c14449b | |||
| 8d0fc58158 | |||
| f0144ff093 | |||
| 096561a037 |
58
src/app/admin/dashboard/page.tsx
Normal file
58
src/app/admin/dashboard/page.tsx
Normal file
@@ -0,0 +1,58 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
|
||||
import ContactCTA from '@/components/sections/contact/ContactCTA';
|
||||
import FooterBase from '@/components/sections/footer/FooterBase';
|
||||
|
||||
export default function AdminDashboardPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="shift-hover"
|
||||
defaultTextAnimation="reveal-blur"
|
||||
borderRadius="rounded"
|
||||
contentWidth="mediumLarge"
|
||||
sizing="mediumLargeSizeLargeTitles"
|
||||
background="floatingGradient"
|
||||
cardStyle="layered-gradient"
|
||||
primaryButtonStyle="radial-glow"
|
||||
secondaryButtonStyle="glass"
|
||||
headingFontWeight="bold"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleApple
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Dashboard", id: "/admin/dashboard" }
|
||||
]}
|
||||
brandName="RoseSouk Admin"
|
||||
/>
|
||||
</div>
|
||||
<div className="min-h-[60vh] flex flex-col items-center justify-center p-12">
|
||||
<h1 className="text-4xl font-bold mb-6">Admin Dashboard</h1>
|
||||
<p className="text-lg text-muted-foreground">Welcome to the site-wide management console.</p>
|
||||
</div>
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactCTA
|
||||
useInvertedBackground={false}
|
||||
background={{ variant: "plain" }}
|
||||
tag="Support"
|
||||
title="Need Help?"
|
||||
description="Contact the development team for any technical issues regarding the admin interface."
|
||||
buttons={[{ text: "System Support", href: "#" }]}
|
||||
/>
|
||||
</div>
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBase
|
||||
columns={[
|
||||
{ title: "Navigation", items: [{ label: "Home", href: "/" }] }
|
||||
]}
|
||||
logoText="RoseSouk"
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
@@ -33,6 +33,7 @@ export default function LandingPage() {
|
||||
{ name: "Products", id: "products" },
|
||||
{ name: "About", id: "about" },
|
||||
{ name: "Contact", id: "contact" },
|
||||
{ name: "Admin", id: "/admin/dashboard" },
|
||||
]}
|
||||
brandName="RoseSouk"
|
||||
/>
|
||||
@@ -62,12 +63,12 @@ export default function LandingPage() {
|
||||
gridVariant="uniform-all-items-equal"
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{ id: "p1", brand: "Souk", name: "Berber Rug", price: "$150", rating: 5, reviewCount: "24", imageSrc: "http://img.b2bpic.net/free-photo/luxury-vintage-broadcast-radio-receiver-flowers_23-2148695306.jpg" },
|
||||
{ id: "p2", brand: "Souk", name: "Ceramic Tagine", price: "$45", rating: 4, reviewCount: "18", imageSrc: "http://img.b2bpic.net/free-photo/view-essentials-pottery-studio_23-2150164937.jpg" },
|
||||
{ id: "p3", brand: "Souk", name: "Brass Lantern", price: "$85", rating: 5, reviewCount: "42", imageSrc: "http://img.b2bpic.net/free-photo/old-metal-lamp-candlestick-hangs-flea-market_169016-10818.jpg" },
|
||||
{ id: "p4", brand: "Souk", name: "Leather Babouche", price: "$30", rating: 4, reviewCount: "31", imageSrc: "http://img.b2bpic.net/free-photo/concentrated-shoemaker-workshop-making-shoes_171337-12254.jpg" },
|
||||
{ id: "p5", brand: "Souk", name: "Organic Argan Oil", price: "$25", rating: 5, reviewCount: "55", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-still-life-with-herbal-medicine_23-2149292038.jpg" },
|
||||
{ id: "p6", brand: "Souk", name: "Raffia Tote", price: "$40", rating: 4, reviewCount: "12", imageSrc: "http://img.b2bpic.net/free-photo/mediterranean-aesthetics-bag-still-life_23-2151141477.jpg" },
|
||||
{ id: "p1", brand: "Souk | Marrakesh, Morocco", name: "Berber Rug", price: "$150", rating: 5, reviewCount: "24", imageSrc: "http://img.b2bpic.net/free-photo/luxury-vintage-broadcast-radio-receiver-flowers_23-2148695306.jpg" },
|
||||
{ id: "p2", brand: "Souk | Fez, Morocco", name: "Ceramic Tagine", price: "$45", rating: 4, reviewCount: "18", imageSrc: "http://img.b2bpic.net/free-photo/view-essentials-pottery-studio_23-2150164937.jpg" },
|
||||
{ id: "p3", brand: "Souk | Casablanca, Morocco", name: "Brass Lantern", price: "$85", rating: 5, reviewCount: "42", imageSrc: "http://img.b2bpic.net/free-photo/old-metal-lamp-candlestick-hangs-flea-market_169016-10818.jpg" },
|
||||
{ id: "p4", brand: "Souk | Marrakesh, Morocco", name: "Leather Babouche", price: "$30", rating: 4, reviewCount: "31", imageSrc: "http://img.b2bpic.net/free-photo/concentrated-shoemaker-workshop-making-shoes_171337-12254.jpg" },
|
||||
{ id: "p5", brand: "Souk | Agadir, Morocco", name: "Organic Argan Oil", price: "$25", rating: 5, reviewCount: "55", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-still-life-with-herbal-medicine_23-2149292038.jpg" },
|
||||
{ id: "p6", brand: "Souk | Essaouira, Morocco", name: "Raffia Tote", price: "$40", rating: 4, reviewCount: "12", imageSrc: "http://img.b2bpic.net/free-photo/mediterranean-aesthetics-bag-still-life_23-2151141477.jpg" },
|
||||
]}
|
||||
title="Marketplace"
|
||||
description="Our handpicked collection of traditional crafts."
|
||||
@@ -155,4 +156,4 @@ export default function LandingPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user