From c1fcc83840ad62e7aa290da16eb34db5b5c9e6fe Mon Sep 17 00:00:00 2001 From: Shanmuga Krishnan S M Date: Tue, 4 Aug 2026 13:54:38 +0530 Subject: [PATCH] fix(ui): improve hero text contrast to crisp white with drop-shadows, remove false badges and non-working footer links --- src/components/Footer/Footer.tsx | 81 ++++++++------------------------ src/pages/Home/Home.tsx | 45 +++--------------- 2 files changed, 26 insertions(+), 100 deletions(-) diff --git a/src/components/Footer/Footer.tsx b/src/components/Footer/Footer.tsx index a34a171..317d57f 100644 --- a/src/components/Footer/Footer.tsx +++ b/src/components/Footer/Footer.tsx @@ -1,25 +1,16 @@ import { Link } from 'react-router-dom'; -import { GraduationCap, MapPin, Phone, Mail, Camera, Send, Globe, Play, ArrowRight } from 'lucide-react'; +import { GraduationCap, MapPin, Phone, Mail, ArrowRight } from 'lucide-react'; const quickLinks = [ { label: 'Home', path: '/' }, { label: 'Notes & PYQs', path: '/notes' }, - { label: 'Chatbot', path: '/ai-assistant' }, - { label: 'Campus Map', path: '/campus' }, + { label: 'RIT Chatbot', path: '/ai-assistant' }, + { label: '3D Campus Map', path: '/campus' }, { label: 'Bus Routes', path: '/bus-routes' }, { label: 'Faculty Directory', path: '/faculty' }, { label: 'Events', path: '/events' }, { label: 'Community', path: '/community' }, - { label: 'Dev Collab', path: '/collab' }, -]; - -const resources = [ - { label: 'Student Handbook', path: '#' }, - { label: 'Academic Calendar', path: '#' }, - { label: 'ERP Portal', path: '#' }, - { label: 'Library Portal', path: '#' }, - { label: 'Exam Results', path: '#' }, - { label: 'Fee Payment', path: '#' }, + { label: 'Dev Hub', path: '/collab' }, ]; export default function Footer() { @@ -49,7 +40,7 @@ export default function Footer() { {/* Main Footer */}
-
+
{/* Brand */}
@@ -65,68 +56,34 @@ export default function Footer() {

- Your all-in-one guide to campus life at RIT. Notes, chatbot, events, faculty, and more — made for freshers. + Your all-in-one guide to campus life at RIT. Notes, chatbot, bus routes, 3D campus map, and developer hub — built for students.

-
- {[Camera, Send, Globe, Play].map((Icon, i) => ( - - - - ))} -
{/* Quick Links */}

- Quick Links + Quick Navigation

-
    +
    {quickLinks.map((link) => ( -
  • - - - {link.label} - -
  • + + + {link.label} + ))} -
-
- - {/* Resources */} -
-

- Resources -

- +
{/* Contact */}

- Contact + Campus Location & Contact

  • diff --git a/src/pages/Home/Home.tsx b/src/pages/Home/Home.tsx index b235091..0da46d0 100644 --- a/src/pages/Home/Home.tsx +++ b/src/pages/Home/Home.tsx @@ -27,25 +27,13 @@ export default function Home() { className="container-custom relative z-20 flex flex-col items-center text-center px-4" style={{ opacity: heroOpacity, y: heroY }} > - {/* Badge */} - - - OFFICIAL STUDENT PORTAL - - {/* Heading */} Welcome to @@ -54,8 +42,8 @@ export default function Home() { initial={{ opacity: 0, y: 20 }} animate={{ opacity: 1, y: 0 }} transition={{ duration: 0.7, delay: 0.2 }} - className="text-5xl md:text-7xl font-black leading-tight mb-6 bg-gradient-to-r from-[#F97316] via-[#FB923C] to-[#F97316] bg-clip-text text-transparent" - style={{ fontFamily: 'Playfair Display, serif', filter: 'drop-shadow(0 4px 12px rgba(249, 115, 22, 0.45))' }} + className="text-5xl md:text-7xl font-black leading-tight mb-6 text-white" + style={{ fontFamily: 'Playfair Display, serif', textShadow: '0 4px 20px rgba(0,0,0,0.95), 0 0 30px rgba(249, 115, 22, 0.5)' }} > RIT Freshers Hub @@ -64,7 +52,7 @@ export default function Home() { initial={{ opacity: 0, y: 15 }} animate={{ opacity: 1, y: 0 }} transition={{ duration: 0.7, delay: 0.3 }} - className="max-w-2xl text-slate-200 text-base md:text-lg leading-relaxed mb-8" + className="max-w-2xl text-slate-100 text-base md:text-lg font-medium leading-relaxed mb-8 drop-shadow-md" style={{ fontFamily: 'Inter, sans-serif' }} > Your centralized gateway to campus life at Rajalakshmi Institute of Technology — academic notes, AI assistant, bus routes, faculty directory, and campus navigation. @@ -75,7 +63,7 @@ export default function Home() { initial={{ opacity: 0, y: 15 }} animate={{ opacity: 1, y: 0 }} transition={{ duration: 0.7, delay: 0.4 }} - className="flex flex-wrap justify-center gap-4 mb-10" + className="flex flex-wrap justify-center gap-4" > @@ -105,25 +93,6 @@ export default function Home() { - - {/* Trust Badges */} - - {[ - { icon: CheckCircle, text: 'Official Portal' }, - { icon: Zap, text: 'Instant AI Support' }, - { icon: Shield, text: 'Student Verified' }, - ].map((badge, i) => ( -
    - - {badge.text} -
    - ))} -