diff --git a/src/app/community/page.tsx b/src/app/community/page.tsx new file mode 100644 index 0000000..670b1db --- /dev/null +++ b/src/app/community/page.tsx @@ -0,0 +1,169 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered'; +import FooterMedia from '@/components/sections/footer/FooterMedia'; +import { MessageCircle, Users, Globe } from 'lucide-react'; + +export default function CommunityPage() { + const communityChannels = [ + { + icon: MessageCircle, + title: "Discussion Forum", description: "Ask questions, share insights, and connect with other learners about financial topics.", link: "#", members: "5,234" + }, + { + icon: Users, + title: "Study Groups", description: "Join topic-specific study groups to learn together with peers on your level.", link: "#", members: "1,892" + }, + { + icon: Globe, + title: "Global Events", description: "Participate in live webinars, challenges, and networking events with the FinHub community.", link: "#", members: "8,456" + }, + ]; + + const leaderboardData = [ + { rank: 1, name: "Alex Chen", points: 2840, streak: "45 days" }, + { rank: 2, name: "Sarah Williams", points: 2720, streak: "38 days" }, + { rank: 3, name: "Marcus Johnson", points: 2590, streak: "32 days" }, + { rank: 4, name: "Emma Rodriguez", points: 2410, streak: "28 days" }, + { rank: 5, name: "James Park", points: 2280, streak: "24 days" }, + ]; + + return ( + + + +
+
+ {/* Header */} +
+

FinHub Community

+

+ Connect with thousands of learners, share experiences, and grow together in our supportive financial education community. +

+
+ + {/* Community Channels */} +
+ {communityChannels.map((channel, index) => { + const Icon = channel.icon; + return ( +
+ +

{channel.title}

+

{channel.description}

+
+ {channel.members} members + + Join → + +
+
+ ); + })} +
+ + {/* Leaderboard */} +
+

Top Learners Leaderboard

+
+ {leaderboardData.map((user) => ( +
+
+
+ {user.rank} +
+
+

{user.name}

+

Streak: {user.streak}

+
+
+

{user.points} pts

+
+ ))} +
+
+ + {/* Stats */} +
+
+

15K+

+

Active Members

+
+
+

500+

+

Daily Discussions

+
+
+

50+

+

Weekly Events

+
+
+
+
+ + +
+ ); +}