From e8886203ed4dc3638a0b76b78934dc496ce8142a Mon Sep 17 00:00:00 2001 From: Shanmuga Krishnan S M Date: Tue, 4 Aug 2026 13:40:59 +0530 Subject: [PATCH] feat(ui): add Under Development & Mock Data warning banners to Faculty Directory and Notes sections --- src/pages/Faculty/Faculty.tsx | 23 ++++++++++++++++++++++- src/pages/Notes/Notes.tsx | 24 +++++++++++++++++++++++- 2 files changed, 45 insertions(+), 2 deletions(-) diff --git a/src/pages/Faculty/Faculty.tsx b/src/pages/Faculty/Faculty.tsx index 889c8bc..549cb23 100644 --- a/src/pages/Faculty/Faculty.tsx +++ b/src/pages/Faculty/Faculty.tsx @@ -1,6 +1,6 @@ import { useState, useMemo } from 'react'; import { motion } from 'framer-motion'; -import { Search, Users, Filter, ArrowUpDown, BookOpen, ChevronRight } from 'lucide-react'; +import { Search, Users, Filter, ArrowUpDown, BookOpen, ChevronRight, AlertTriangle } from 'lucide-react'; import FacultyCard from '@/components/FacultyCard/FacultyCard'; import { StaggerContainer, StaggerItem } from '@/components/AnimatedContainer/AnimatedContainer'; import { FACULTY_DATA, DEPARTMENTS } from '@/constants'; @@ -64,6 +64,27 @@ export default function Faculty() {
+ {/* Under Development Banner */} + +
+
+ +
+
+
Under Development
+
+ Currently displaying sample mock faculty profiles. Official RIT faculty directory integration is in progress. +
+
+
+ + Mock Data Active + +
{/* Faculty Hero Section */}
diff --git a/src/pages/Notes/Notes.tsx b/src/pages/Notes/Notes.tsx index 35cb187..9e4c34e 100644 --- a/src/pages/Notes/Notes.tsx +++ b/src/pages/Notes/Notes.tsx @@ -1,7 +1,7 @@ import { useState, useRef, useEffect } from 'react'; import { useSearchParams } from 'react-router-dom'; import { motion } from 'framer-motion'; -import { Search, Download, Filter, BookOpen, FileText, ScrollText, BookMarked, ChevronRight, ArrowLeft, ExternalLink, Code, Globe, GitBranch, Cloud, Palette, Shield, DollarSign, BarChart3, Users, Megaphone, TrendingUp, UserCheck, ClipboardList, ShoppingCart, Cpu, Activity, LayoutGrid, Layers, Zap, Settings, Gauge, Radio, Wifi, Bot, Sun, Wrench, Binary, BatteryCharging, CircuitBoard, ShieldCheck, BrainCircuit, FlaskConical, Lock, Terminal, Dna, Microscope, Sparkles, Smartphone, Monitor, Server, CheckCircle2, Database, Briefcase } from 'lucide-react'; +import { Search, Download, Filter, BookOpen, FileText, ScrollText, BookMarked, ChevronRight, ArrowLeft, ExternalLink, Code, Globe, GitBranch, Cloud, Palette, Shield, DollarSign, BarChart3, Users, Megaphone, TrendingUp, UserCheck, ClipboardList, ShoppingCart, Cpu, Activity, LayoutGrid, Layers, Zap, Settings, Gauge, Radio, Wifi, Bot, Sun, Wrench, Binary, BatteryCharging, CircuitBoard, ShieldCheck, BrainCircuit, FlaskConical, Lock, Terminal, Dna, Microscope, Sparkles, Smartphone, Monitor, Server, CheckCircle2, Database, Briefcase, AlertTriangle } from 'lucide-react'; import SectionTitle from '@/components/SectionTitle/SectionTitle'; import { getBackendUrl } from '@/lib/utils'; import { StaggerContainer, StaggerItem } from '@/components/AnimatedContainer/AnimatedContainer'; @@ -1432,6 +1432,28 @@ export default function Notes() { )}
+ {/* Under Development Banner */} + +
+
+ +
+
+
Under Development
+
+ Currently displaying sample mock notes & syllabus data. Official semester notes repository integration is in progress. +
+
+
+ + Mock Data Active + +
+ {selectedToolkit ? ( (() => { const TOOLKIT_MAP: Record = {