138 lines
3.7 KiB
TypeScript
138 lines
3.7 KiB
TypeScript
"use client";
|
|
|
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
|
import ReactLenis from "lenis/react";
|
|
import BlogCardOne from '@/components/sections/blog/BlogCardOne';
|
|
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
|
|
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
|
|
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
|
import { MousePointer, ShoppingBag, TrendingUp } from "lucide-react";
|
|
|
|
export default function LandingPage() {
|
|
return (
|
|
<ThemeProvider
|
|
defaultButtonVariant="text-stagger"
|
|
defaultTextAnimation="reveal-blur"
|
|
borderRadius="soft"
|
|
>
|
|
<ReactLenis root>
|
|
<div id="nav" data-section="nav">
|
|
<NavbarStyleCentered
|
|
navItems={[
|
|
{
|
|
name: "Home",
|
|
id: "/",
|
|
},
|
|
{
|
|
name: "Analytics",
|
|
id: "/analytics",
|
|
},
|
|
]}
|
|
brandName="UrbanThreads"
|
|
/>
|
|
</div>
|
|
|
|
<div id="analytics-stats" data-section="analytics-stats">
|
|
<MetricCardOne
|
|
animationType="slide-up"
|
|
textboxLayout="split"
|
|
gridVariant="bento-grid"
|
|
useInvertedBackground={false}
|
|
metrics={[
|
|
{
|
|
id: "m1",
|
|
value: "$12,400",
|
|
title: "Total Revenue",
|
|
description: "Last 30 days",
|
|
icon: TrendingUp,
|
|
},
|
|
{
|
|
id: "m2",
|
|
value: "1,204",
|
|
title: "Units Sold",
|
|
description: "T-shirt inventory",
|
|
icon: ShoppingBag,
|
|
},
|
|
{
|
|
id: "m3",
|
|
value: "14.2%",
|
|
title: "Conversion Rate",
|
|
description: "Visitor to buyer",
|
|
icon: MousePointer,
|
|
},
|
|
]}
|
|
title="Creator Analytics"
|
|
description="Real-time sales performance and revenue metrics."
|
|
/>
|
|
</div>
|
|
|
|
<div id="blog" data-section="blog">
|
|
<BlogCardOne
|
|
animationType="slide-up"
|
|
textboxLayout="default"
|
|
useInvertedBackground={false}
|
|
title="Analytics Insights"
|
|
description="Latest trends in fashion retail data."
|
|
blogs={[
|
|
{
|
|
id: "b1",
|
|
category: "Insights",
|
|
title: "Summer Drops Analysis",
|
|
excerpt: "Deep dive into Q2 sales performance.",
|
|
imageSrc: "http://img.b2bpic.net/free-photo/computer-dark-room-with-graphs-screen_169016-57872.jpg?_wi=1",
|
|
authorName: "Jane Doe",
|
|
authorAvatar: "http://img.b2bpic.net/free-photo/fashion-photo-young-magnificent-woman-blue-shirt_158595-1023.jpg",
|
|
date: "Oct 12",
|
|
},
|
|
{
|
|
id: "b2",
|
|
category: "Reports",
|
|
title: "2025 Forecasting",
|
|
excerpt: "Predicting the next wave of urban style.",
|
|
imageSrc: "http://img.b2bpic.net/free-photo/computer-dark-room-with-graphs-screen_169016-57872.jpg?_wi=2",
|
|
authorName: "John Smith",
|
|
authorAvatar: "http://img.b2bpic.net/free-photo/young-beautiful-brunette-girl-posing-standing-white-wall_176420-8515.jpg",
|
|
date: "Nov 01",
|
|
},
|
|
]}
|
|
/>
|
|
</div>
|
|
|
|
<div id="footer" data-section="footer">
|
|
<FooterBaseCard
|
|
logoText="UrbanThreads"
|
|
columns={[
|
|
{
|
|
title: "Company",
|
|
items: [
|
|
{
|
|
label: "About",
|
|
href: "/about",
|
|
},
|
|
{
|
|
label: "Careers",
|
|
href: "#",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: "Support",
|
|
items: [
|
|
{
|
|
label: "FAQ",
|
|
href: "#",
|
|
},
|
|
{
|
|
label: "Contact",
|
|
href: "#",
|
|
},
|
|
],
|
|
},
|
|
]}
|
|
/>
|
|
</div>
|
|
</ReactLenis>
|
|
</ThemeProvider>
|
|
);
|
|
}
|