Merge remote-tracking branch 'github/main'

This commit is contained in:
Shanmuga Krishnan S M
2026-08-24 12:22:38 +05:30
5 changed files with 1193 additions and 482 deletions

View File

@@ -102,8 +102,19 @@ function App() {
path="/leetcode" path="/leetcode"
element={ element={
<ProtectedRoute <ProtectedRoute
title="RIT LeetCode Leaderboard" title="RIT Student Leaderboard"
description="Track campus competitive programming rankings and see top RIT coders." description="Track campus competitive programming rankings (LeetCode & SkillRack) and verified skill certifications."
>
<LeetcodeLeaderboard />
</ProtectedRoute>
}
/>
<Route
path="/student-leaderboard"
element={
<ProtectedRoute
title="RIT Student Leaderboard"
description="Track campus competitive programming rankings (LeetCode & SkillRack) and verified skill certifications."
> >
<LeetcodeLeaderboard /> <LeetcodeLeaderboard />
</ProtectedRoute> </ProtectedRoute>

View File

@@ -10,7 +10,7 @@ const exploreLinks = [
{ label: 'Student Toolkit', path: '/toolkit', icon: Wrench }, { label: 'Student Toolkit', path: '/toolkit', icon: Wrench },
{ label: 'RIT Chatbot', path: '/ai-assistant', icon: Bot }, { label: 'RIT Chatbot', path: '/ai-assistant', icon: Bot },
{ label: 'Faculty Directory', path: '/faculty', icon: UserCheck }, { label: 'Faculty Directory', path: '/faculty', icon: UserCheck },
{ label: 'LeetCode Arena', path: '/leetcode', icon: Trophy }, { label: 'Student Leaderboard', path: '/student-leaderboard', icon: Trophy },
]; ];
const campusLinks = [ const campusLinks = [

View File

@@ -49,7 +49,7 @@ const MORE_LINKS: NavItem[] = [
{ label: 'Campus Map', path: '/campus', icon: Map }, { label: 'Campus Map', path: '/campus', icon: Map },
{ label: 'Clubs & Centers', path: '/events', icon: Users }, { label: 'Clubs & Centers', path: '/events', icon: Users },
{ label: 'Dev Collab', path: '/collab', icon: Code2 }, { label: 'Dev Collab', path: '/collab', icon: Code2 },
{ label: 'LeetCode', path: '/leetcode', icon: Trophy }, { label: 'Student Leaderboard', path: '/student-leaderboard', icon: Trophy },
{ label: 'Student Gate Pass', path: '/notes?portal=gatepass', icon: Ticket }, { label: 'Student Gate Pass', path: '/notes?portal=gatepass', icon: Ticket },
{ label: 'Student Proficiency', path: '/notes?portal=proficiency', icon: Award }, { label: 'Student Proficiency', path: '/notes?portal=proficiency', icon: Award },
]; ];

View File

@@ -12,7 +12,7 @@ export const NAV_LINKS = [
{ label: 'Clubs & Centers', path: '/events' }, { label: 'Clubs & Centers', path: '/events' },
{ label: 'Community', path: '/community' }, { label: 'Community', path: '/community' },
{ label: 'Dev Collab', path: '/collab' }, { label: 'Dev Collab', path: '/collab' },
{ label: 'LeetCode', path: '/leetcode' }, { label: 'Student Leaderboard', path: '/student-leaderboard' },
]; ];
// ─── Stats ──────────────────────────────────────────────────────────────────── // ─── Stats ────────────────────────────────────────────────────────────────────
@@ -110,9 +110,9 @@ export const FEATURES: Feature[] = [
{ {
id: 'leetcode', id: 'leetcode',
icon: 'Trophy', icon: 'Trophy',
title: 'LeetCode Arena', title: 'Student Leaderboard',
description: 'Track campus competitive programming rankings and see top RIT coders.', description: 'Track campus competitive programming rankings (LeetCode & SkillRack) and verified skill certifications.',
path: '/leetcode', path: '/student-leaderboard',
color: '#F59E0B', color: '#F59E0B',
bgColor: '#FFFBEB', bgColor: '#FFFBEB',
}, },

File diff suppressed because it is too large Load Diff