Merge version_1 into main #2

Merged
bender merged 1 commits from version_1 into main 2026-03-25 14:35:14 +00:00

View File

@@ -4,7 +4,7 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FaqBase from '@/components/sections/faq/FaqBase';
import FooterBase from '@/components/sections/footer/FooterBase';
import HeroBillboardDashboard from '@/components/sections/hero/HeroBillboardDashboard';
import HeroSplitDualMedia from '@/components/sections/hero/HeroSplitDualMedia';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import { AlertTriangle, BarChart, Gauge, Globe, Home, Package, Settings, ShoppingCart, Smile, TrendingUp, UserPlus, Users } from "lucide-react";
@@ -28,156 +28,45 @@ export default function LandingPage() {
<NavbarLayoutFloatingInline
navItems={[
{
name: "Home",
id: "home",
href: "/",
},
name: "Home", id: "/"},
{
name: "Products",
id: "products",
href: "/products",
},
name: "Products", id: "/products"},
{
name: "Cart",
id: "cart",
href: "/cart",
},
name: "Cart", id: "/cart"},
{
name: "Orders",
id: "orders",
href: "/orders",
},
name: "Orders", id: "/orders"},
{
name: "Admin",
id: "admin",
href: "/admin",
},
name: "Admin", id: "/admin"},
]}
brandName="ShopFusion"
button={{
text: "Login / Register",
href: "/login",
}}
text: "Login / Register", href: "/login"}}
animateOnLoad={true}
/>
</div>
<div id="hero" data-section="hero">
<HeroBillboardDashboard
<HeroSplitDualMedia
background={{
variant: "animated-grid",
}}
variant: "animated-grid"}}
title="Admin Dashboard"
description="Welcome, Administrator. Manage your e-commerce operations efficiently and gain insights into ShopFusion's performance."
tag="ShopFusion Admin"
tagIcon={Gauge}
dashboard={{
title: "Overview",
stats: [
{
value: "1.2K",
label: "Total Orders",
},
{
value: "$85K",
label: "Revenue This Month",
},
{
value: "24",
label: "New Users Today",
},
],
logoIcon: "ShoppingBag",
sidebarItems: [
{
label: "Dashboard",
icon: Home,
href: "/admin",
},
{
label: "Products",
icon: Package,
href: "/admin/products",
},
{
label: "Orders",
icon: ListOrdered,
href: "/admin/orders",
},
{
label: "Customers",
icon: Users,
href: "/admin/customers",
},
{
label: "Analytics",
icon: BarChart,
href: "/admin/analytics",
},
{
label: "Settings",
icon: Settings,
href: "/admin/settings",
},
],
buttons: [
{
text: "Create New Product",
href: "/admin/products/new",
},
],
listItems: [
{
id: "1",
label: "New order #SF2024001",
detail: "$150.00",
icon: ShoppingCart,
},
{
id: "2",
label: "Customer registration",
detail: "John Doe",
icon: UserPlus,
},
{
id: "3",
label: "Product 'Sneakers' low stock",
detail: "3 remaining",
icon: AlertTriangle,
},
],
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-family-spending-time-home_23-2150231687.jpg?_wi=7",
imageAlt: "Admin dashboard screenshot with charts and data",
searchPlaceholder: "Search dashboard...",
chartTitle: "Sales Trend",
chartData: [
{
label: "Jan",
value: 30,
},
{
label: "Feb",
value: 45,
},
{
label: "Mar",
value: 60,
},
{
label: "Apr",
value: 40,
},
{
label: "May",
value: 75,
},
{
label: "Jun",
value: 90,
},
],
listTitle: "Recent Activities",
}}
buttons={[
{
text: "Create New Product", href: "/admin/products/new"},
]}
buttonAnimation="slide-up"
mediaItems={[
{
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-family-spending-time-home_23-2150231687.jpg?_wi=7", imageAlt: "Admin dashboard screenshot with charts and data"},
{
imageSrc: "http://img.b2bpic.net/free-vector/payment-methods-with-shopping-basket_23-2147672989.jpg?_wi=1", imageAlt: "Digital dashboard interface with charts"},
]}
mediaAnimation="slide-up"
rating={5}
ratingText="Trusted by thousands of admins"
/>
</div>
@@ -189,25 +78,13 @@ export default function LandingPage() {
useInvertedBackground={false}
metrics={[
{
id: "1",
value: "98%",
title: "Customer Satisfaction",
description: "Based on recent customer feedback and reviews.",
icon: Smile,
id: "1", value: "98%", title: "Customer Satisfaction", description: "Based on recent customer feedback and reviews.", icon: Smile,
},
{
id: "2",
value: "12%",
title: "Conversion Rate",
description: "Increase in sales from website visitors last month.",
icon: TrendingUp,
id: "2", value: "12%", title: "Conversion Rate", description: "Increase in sales from website visitors last month.", icon: TrendingUp,
},
{
id: "3",
value: "3.5M",
title: "Website Traffic",
description: "Unique visitors to ShopFusion this quarter.",
icon: Globe,
id: "3", value: "3.5M", title: "Website Traffic", description: "Unique visitors to ShopFusion this quarter.", icon: Globe,
},
]}
title="Key Performance Indicators"
@@ -221,20 +98,11 @@ export default function LandingPage() {
useInvertedBackground={false}
faqs={[
{
id: "1",
title: "How do I add a new product?",
content: "Navigate to the 'Products' section in the sidebar and click the 'Add New Product' button. Fill in all required product details.",
},
id: "1", title: "How do I add a new product?", content: "Navigate to the 'Products' section in the sidebar and click the 'Add New Product' button. Fill in all required product details."},
{
id: "2",
title: "Where can I view sales reports?",
content: "Sales reports and other analytics can be found under the 'Analytics' section. You can filter by date range and category.",
},
id: "2", title: "Where can I view sales reports?", content: "Sales reports and other analytics can be found under the 'Analytics' section. You can filter by date range and category."},
{
id: "3",
title: "How do I manage user accounts?",
content: "The 'Customers' section allows you to view, edit, and manage all customer accounts, including resetting passwords or checking order history.",
},
id: "3", title: "How do I manage user accounts?", content: "The 'Customers' section allows you to view, edit, and manage all customer accounts, including resetting passwords or checking order history."},
]}
title="Admin Portal FAQs"
description="Quick answers to common questions about using the ShopFusion Admin Dashboard."
@@ -246,54 +114,33 @@ export default function LandingPage() {
<FooterBase
columns={[
{
title: "ShopFusion",
items: [
title: "ShopFusion", items: [
{
label: "About Us",
href: "/about",
},
label: "About Us", href: "/about"},
{
label: "Careers",
href: "/careers",
},
label: "Careers", href: "/careers"},
{
label: "Blog",
href: "/blog",
},
label: "Blog", href: "/blog"},
],
},
{
title: "Customer Service",
items: [
title: "Customer Service", items: [
{
label: "Contact Us",
href: "/contact",
},
label: "Contact Us", href: "/contact"},
{
label: "Returns",
href: "/returns",
},
label: "Returns", href: "/returns"},
{
label: "Shipping",
href: "/shipping",
},
label: "Shipping", href: "/shipping"},
{
label: "FAQ",
href: "/faq",
},
label: "FAQ", href: "/faq"},
],
},
{
title: "Legal",
items: [
title: "Legal", items: [
{
label: "Privacy Policy",
href: "/privacy",
},
label: "Privacy Policy", href: "/privacy"},
{
label: "Terms of Service",
href: "/terms",
},
label: "Terms of Service", href: "/terms"},
],
},
]}