From dfa2fb49d924ac459dcef9b0b583dd3bb44e63be Mon Sep 17 00:00:00 2001 From: bender Date: Mon, 2 Mar 2026 21:33:35 +0000 Subject: [PATCH] Add src/app/dashboard/page.tsx --- src/app/dashboard/page.tsx | 155 +++++++++++++++++++++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 src/app/dashboard/page.tsx diff --git a/src/app/dashboard/page.tsx b/src/app/dashboard/page.tsx new file mode 100644 index 0000000..57de005 --- /dev/null +++ b/src/app/dashboard/page.tsx @@ -0,0 +1,155 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered'; +import FooterMedia from '@/components/sections/footer/FooterMedia'; +import { BarChart3, Trophy, TrendingUp, Clock } from 'lucide-react'; + +export default function DashboardPage() { + const stats = [ + { icon: Clock, label: "Hours Learned", value: "24.5", color: "text-blue-500" }, + { icon: Trophy, label: "Badges Earned", value: "12", color: "text-yellow-500" }, + { icon: TrendingUp, label: "Courses Completed", value: "3", color: "text-green-500" }, + { icon: BarChart3, label: "Current Streak", value: "7 days", color: "text-purple-500" }, + ]; + + const recentCourses = [ + { title: "Beginner's Guide to Stocks", progress: 75, status: "In Progress" }, + { title: "Personal Budgeting", progress: 100, status: "Completed" }, + { title: "Crypto 101 Course", progress: 45, status: "In Progress" }, + ]; + + return ( + + + +
+
+ {/* Header */} +
+

Welcome Back, Learner!

+

Here's your learning progress and achievements

+
+ + {/* Stats Grid */} +
+ {stats.map((stat, index) => { + const Icon = stat.icon; + return ( +
+
+ +
+

{stat.label}

+

{stat.value}

+
+ ); + })} +
+ + {/* Recent Courses */} +
+

Your Learning Progress

+
+ {recentCourses.map((course, index) => ( +
+
+

{course.title}

+ + {course.status} + +
+
+
+
+

{course.progress}% Complete

+
+ ))} +
+
+ + {/* Call to Action */} +
+

Continue Your Learning Journey

+

+ You're making great progress! Check out new courses to expand your financial knowledge. +

+ + Browse More Courses + +
+
+
+ + + + ); +}