5 Commits

Author SHA1 Message Date
f502e83184 Update src/app/dashboard/page.tsx 2026-04-23 10:06:19 +00:00
2a1c6a330c Update src/app/page.tsx 2026-04-23 10:05:48 +00:00
f5af9c44ce Add src/app/dashboard/page.tsx 2026-04-23 10:05:48 +00:00
ed0c8a8090 Merge version_1 into main
Merge version_1 into main
2026-04-23 10:01:26 +00:00
d1ab8659b4 Merge version_1 into main
Merge version_1 into main
2026-04-23 10:00:57 +00:00
2 changed files with 89 additions and 2 deletions

View File

@@ -0,0 +1,86 @@
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import { Users, TrendingUp, Award, Settings, Bell, User, BarChart, Activity } from "lucide-react";
export default function DashboardPage() {
return (
<ThemeProvider
defaultButtonVariant="hover-magnetic"
defaultTextAnimation="background-highlight"
borderRadius="rounded"
contentWidth="mediumSmall"
sizing="mediumLarge"
background="fluid"
cardStyle="glass-elevated"
primaryButtonStyle="radial-glow"
secondaryButtonStyle="glass"
headingFontWeight="normal"
>
<ReactLenis root>
<div id="nav" data-section="nav">
<NavbarStyleCentered
navItems={[
{ name: "Dashboard", id: "/dashboard" },
{ name: "Reports", id: "#" },
{ name: "Settings", id: "#" },
{ name: "Profile", id: "#" }
]}
brandName="MentorEdge"
/>
</div>
<main className="pt-20 pb-20 px-6">
<div className="grid grid-cols-1 md:grid-cols-3 gap-6">
<div className="col-span-1 md:col-span-2">
<MetricCardThree
animationType="depth-3d"
textboxLayout="default"
useInvertedBackground={false}
metrics={[
{ id: "m1", title: "Total Active Mentees", value: "1,240", icon: Users },
{ id: "m2", title: "Monthly Growth", value: "12.5%", icon: TrendingUp },
{ id: "m3", title: "Engagement Score", value: "94", icon: Award }
]}
title="Performance Overview"
description="Real-time data visualization of your mentorship activity."
/>
</div>
<div className="bg-card p-6 rounded-lg shadow-lg border">
<h3 className="text-xl font-semibold mb-4 flex items-center gap-2"><Bell className="w-5 h-5" /> Notifications</h3>
<p className="text-muted-foreground">No pending alerts for your current mentorship sessions.</p>
</div>
</div>
<div className="mt-10 grid grid-cols-1 md:grid-cols-2 gap-6">
<div className="bg-card p-6 rounded-lg shadow-lg border">
<h3 className="text-xl font-semibold mb-4 flex items-center gap-2"><BarChart className="w-5 h-5" /> Session Analytics</h3>
<div className="h-48 flex items-center justify-center border-dashed border-2 rounded">
<Activity className="w-12 h-12 text-primary opacity-50 animate-pulse" />
</div>
</div>
<div className="bg-card p-6 rounded-lg shadow-lg border">
<h3 className="text-xl font-semibold mb-4 flex items-center gap-2"><User className="w-5 h-5" /> User Profile</h3>
<div className="flex items-center gap-4">
<div className="w-16 h-16 rounded-full bg-accent"></div>
<div>
<p className="font-bold">Senior Mentor</p>
<p className="text-sm">Lead Software Architect</p>
</div>
</div>
</div>
</div>
<div className="mt-10">
<button className="flex items-center gap-2 px-4 py-2 bg-primary text-primary-cta-text rounded">
<Settings className="w-4 h-4" /> Configure Dashboard Settings
</button>
</div>
</main>
</ReactLenis>
</ThemeProvider>
);
}

View File

@@ -36,7 +36,8 @@ export default function LandingPage() {
{ name: "Features", id: "#features" },
{ name: "Testimonials", id: "#testimonials" },
{ name: "FAQ", id: "#faq" },
{ name: "Contact", id: "#contact" }
{ name: "Contact", id: "#contact" },
{ name: "Dashboard", id: "/dashboard" }
]}
brandName="MentorEdge"
/>
@@ -206,4 +207,4 @@ export default function LandingPage() {
</ReactLenis>
</ThemeProvider>
);
}
}