ui enhancement,topdown menu
Some checks failed
Deploy RIT Freshers Hub to VPS / Deploy to Live VPS (push) Has been cancelled
Some checks failed
Deploy RIT Freshers Hub to VPS / Deploy to Live VPS (push) Has been cancelled
This commit is contained in:
@@ -20,9 +20,9 @@ interface LocationSpot {
|
||||
|
||||
const BLUEPRINT_LEGEND = [
|
||||
{ id: 'all', label: 'All Locations', color: '#F97316', bg: 'bg-orange-50/80', text: 'text-orange-950', border: 'border-orange-300' },
|
||||
{ id: 'a-block', label: 'A Block', color: '#1E1B4B', bg: 'bg-slate-900/80', text: 'text-violet-300', border: 'border-slate-800' },
|
||||
{ id: 'b-block', label: 'B Block', color: '#2E1065', bg: 'bg-slate-900/60', text: 'text-violet-300', border: 'border-slate-800' },
|
||||
{ id: 'c-block', label: 'C Block', color: '#3B0764', bg: 'bg-slate-900/40', text: 'text-violet-300', border: 'border-slate-800' },
|
||||
{ id: 'a-block', label: 'A Block', color: '#C25E17', bg: 'bg-orange-50/80', text: 'text-orange-950', border: 'border-orange-300' },
|
||||
{ id: 'b-block', label: 'B Block', color: '#EA580C', bg: 'bg-orange-50/60', text: 'text-orange-950', border: 'border-orange-300' },
|
||||
{ id: 'c-block', label: 'C Block', color: '#F97316', bg: 'bg-orange-50/40', text: 'text-orange-950', border: 'border-orange-300' },
|
||||
{ id: 'admin', label: 'Admin / Facility', color: '#FDBA74', bg: 'bg-orange-50/80', text: 'text-orange-950', border: 'border-orange-200' },
|
||||
{ id: 'hostel', label: 'Hostel / Mess', color: '#C084FC', bg: 'bg-purple-50/80', text: 'text-purple-950', border: 'border-purple-200' },
|
||||
{ id: 'lab', label: 'Lab / Academic', color: '#FDE047', bg: 'bg-yellow-50/80', text: 'text-yellow-950', border: 'border-yellow-200' },
|
||||
|
||||
@@ -534,7 +534,7 @@ export default function Community() {
|
||||
<div className="flex items-center gap-1.5 mb-0.5 flex-wrap">
|
||||
<span className="text-[11.5px] font-bold text-[#1E293B]" style={{ fontFamily: 'Poppins, sans-serif' }}>{ans.author}</span>
|
||||
{/* Verified check icon for senior helpers */}
|
||||
<span className="inline-flex text-violet-400" title="Verified Senior Helper">
|
||||
<span className="inline-flex text-orange-500" title="Verified Senior Helper">
|
||||
<svg className="w-3.5 h-3.5 fill-current" viewBox="0 0 24 24">
|
||||
<path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" />
|
||||
</svg>
|
||||
|
||||
@@ -433,18 +433,18 @@ export default function DevCollab() {
|
||||
<div className="bg-white border-b border-[#E5E7EB] py-10">
|
||||
<div className="container-custom">
|
||||
<div className="flex items-center gap-2 text-xs text-[#94A3B8] mb-3">
|
||||
<Link to="/" className="hover:text-violet-400">Home</Link>
|
||||
<Link to="/" className="hover:text-orange-500">Home</Link>
|
||||
<ChevronRight className="w-3 h-3" />
|
||||
<span className="text-violet-400">Developer Collab Hub</span>
|
||||
<span className="text-orange-500 font-medium">Developer Collab Hub</span>
|
||||
</div>
|
||||
<div className="flex flex-col md:flex-row md:items-center justify-between gap-6">
|
||||
<div>
|
||||
<div className="inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-slate-900 border border-slate-700 text-violet-300 text-xs font-semibold mb-3">
|
||||
<Code2 className="w-4 h-4 text-violet-300" /> RIT Developers Environment
|
||||
<div className="inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-slate-900 border border-orange-500/40 text-orange-300 text-xs font-semibold mb-3">
|
||||
<Code2 className="w-4 h-4 text-orange-400" /> RIT Developers Environment
|
||||
</div>
|
||||
<h1 className="text-3xl md:text-4xl font-bold text-[#1E293B] mb-2" style={{ fontFamily: 'Playfair Display, serif' }}>
|
||||
Find Project{' '}
|
||||
<span style={{ background: 'linear-gradient(135deg, #0F172A, #1E1B4B, #2E1065)', WebkitBackgroundClip: 'text', WebkitTextFillColor: 'transparent', backgroundClip: 'text' }}>
|
||||
<span style={{ background: 'linear-gradient(135deg, #C25E17, #EA580C, #F97316)', WebkitBackgroundClip: 'text', WebkitTextFillColor: 'transparent', backgroundClip: 'text' }}>
|
||||
Collaborators
|
||||
</span>
|
||||
</h1>
|
||||
@@ -457,10 +457,10 @@ export default function DevCollab() {
|
||||
whileHover={{ scale: 1.03 }}
|
||||
whileTap={{ scale: 0.97 }}
|
||||
onClick={() => requireVerifiedStudent(() => setShowPostModal(true))}
|
||||
className="flex items-center gap-2.5 px-6 py-3.5 rounded-2xl text-white font-semibold text-sm shadow-lg shadow-slate-900/25 shrink-0 cursor-pointer border border-violet-800/40"
|
||||
style={{ background: 'linear-gradient(135deg, #0F172A, #1E1B4B, #2E1065)', fontFamily: 'Poppins, sans-serif' }}
|
||||
className="flex items-center gap-2.5 px-6 py-3.5 rounded-2xl text-white font-semibold text-sm shadow-lg shadow-orange-500/20 shrink-0 cursor-pointer border border-white/20"
|
||||
style={{ background: 'linear-gradient(135deg, #C25E17, #EA580C)', fontFamily: 'Poppins, sans-serif' }}
|
||||
>
|
||||
{isVerifiedStudent && <ShieldCheck className="w-4 h-4" />}
|
||||
{isVerifiedStudent && <ShieldCheck className="w-4 h-4 text-amber-200" />}
|
||||
<Plus className="w-4.5 h-4.5" />
|
||||
Post Collaboration Request
|
||||
</motion.button>
|
||||
|
||||
@@ -217,23 +217,23 @@ export default function Events() {
|
||||
<AnimatedContainer className="mb-14">
|
||||
<div
|
||||
className="rounded-3xl p-6 md:p-8 text-white relative overflow-hidden border border-slate-800 flex flex-col md:flex-row items-center justify-between gap-6"
|
||||
style={{ background: 'linear-gradient(135deg, #0F172A, #1E1B4B, #2E1065)' }}
|
||||
style={{ background: 'linear-gradient(135deg, #C25E17, #EA580C)' }}
|
||||
>
|
||||
{/* Background Glow */}
|
||||
<div
|
||||
className="absolute top-0 right-0 w-80 h-80 rounded-full opacity-20 pointer-events-none"
|
||||
style={{ background: 'radial-gradient(circle, #2E1065, transparent)' }}
|
||||
style={{ background: 'radial-gradient(circle, #EA580C, transparent)' }}
|
||||
/>
|
||||
|
||||
<div className="relative z-10 max-w-xl">
|
||||
<div className="inline-flex items-center gap-2 px-3 py-1 rounded-full bg-slate-900/80 text-violet-300 text-xs font-semibold mb-3 border border-violet-900/40">
|
||||
<div className="inline-flex items-center gap-2 px-3 py-1 rounded-full bg-slate-900/80 text-orange-300 text-xs font-semibold mb-3 border border-orange-500/40">
|
||||
<Target className="w-3.5 h-3.5" />
|
||||
<span>Interactive Club Matcher</span>
|
||||
</div>
|
||||
<h2 className="text-2xl md:text-3xl font-bold text-white mb-2" style={{ fontFamily: 'Playfair Display, serif' }}>
|
||||
Not sure which club to join?
|
||||
</h2>
|
||||
<p className="text-slate-300 text-sm leading-relaxed" style={{ fontFamily: 'Inter, sans-serif' }}>
|
||||
<p className="text-orange-50 text-sm leading-relaxed" style={{ fontFamily: 'Inter, sans-serif' }}>
|
||||
Take our 3-step Club Matcher quiz to get instant recommendations tailored to your interests, skills, and goals!
|
||||
</p>
|
||||
</div>
|
||||
@@ -242,10 +242,10 @@ export default function Events() {
|
||||
whileHover={{ scale: 1.05 }}
|
||||
whileTap={{ scale: 0.98 }}
|
||||
onClick={() => { resetQuiz(); setIsQuizOpen(true); }}
|
||||
className="relative z-10 px-6 py-3.5 rounded-2xl text-white font-semibold text-sm flex items-center gap-2.5 shadow-lg shrink-0 cursor-pointer border border-violet-800/40"
|
||||
style={{ background: 'linear-gradient(135deg, #0F172A, #1E1B4B, #2E1065)', fontFamily: 'Poppins, sans-serif' }}
|
||||
className="relative z-10 px-6 py-3.5 rounded-2xl text-white font-semibold text-sm flex items-center gap-2.5 shadow-lg shrink-0 cursor-pointer border border-white/20"
|
||||
style={{ background: 'linear-gradient(135deg, #EA580C, #F97316)', fontFamily: 'Poppins, sans-serif' }}
|
||||
>
|
||||
<Sparkles className="w-4 h-4 text-violet-200" />
|
||||
<Sparkles className="w-4 h-4 text-amber-200" />
|
||||
<span>Find My Ideal Club</span>
|
||||
<ArrowRight className="w-4 h-4" />
|
||||
</motion.button>
|
||||
@@ -262,61 +262,58 @@ export default function Events() {
|
||||
|
||||
const renderClubCard = (club: Club) => {
|
||||
const IconComponent = (club.icon && CLUB_ICON_MAP[club.icon]) || Atom;
|
||||
const categoryColor = CLUB_CATEGORY_COLORS[club.category] || '#1E1B4B';
|
||||
const categoryColor = CLUB_CATEGORY_COLORS[club.category] || '#C25E17';
|
||||
const isLiked = likedClubs.has(club.id);
|
||||
const likesCount = likesMap[club.id] || 0;
|
||||
|
||||
return (
|
||||
<motion.div
|
||||
whileHover={{ y: -4 }}
|
||||
layout
|
||||
whileHover={{ y: -6 }}
|
||||
onClick={() => setSelectedClub(club)}
|
||||
className="bg-white rounded-2xl border border-[#E5E7EB] p-5 cursor-pointer hover:border-slate-800 transition-all flex flex-col justify-between h-full group"
|
||||
style={{ boxShadow: '0 2px 15px -3px rgba(0,0,0,0.07)' }}
|
||||
className="bg-white rounded-3xl border border-[#E5E7EB] p-6 shadow-xs hover:shadow-xl transition-all duration-300 flex flex-col justify-between cursor-pointer group"
|
||||
>
|
||||
<div>
|
||||
{/* Top Row: Tech Icon / Club Logo & Interactive Heart Like Button */}
|
||||
<div className="flex items-center justify-between mb-3">
|
||||
{/* Top Row: Club Icon & Like Button */}
|
||||
<div className="flex items-start justify-between mb-4">
|
||||
{club.logoUrl ? (
|
||||
<div className="w-12 h-12 rounded-full border border-slate-100 p-0.5 shadow-sm bg-white overflow-hidden shrink-0 transition-transform group-hover:scale-105">
|
||||
<div className="w-14 h-14 rounded-full border-2 border-slate-100 p-1 shadow-sm bg-white overflow-hidden shrink-0 group-hover:scale-105 transition-transform">
|
||||
<img src={club.logoUrl} alt={club.name} className="w-full h-full object-cover rounded-full" />
|
||||
</div>
|
||||
) : (
|
||||
<div
|
||||
className="w-11 h-11 rounded-full flex items-center justify-center text-white shadow-sm transition-transform group-hover:scale-105"
|
||||
style={{
|
||||
background: `linear-gradient(135deg, ${categoryColor}, ${categoryColor}DD)`,
|
||||
}}
|
||||
className="w-13 h-13 rounded-2xl flex items-center justify-center text-white shadow-md shrink-0 group-hover:scale-105 transition-transform"
|
||||
style={{ background: `linear-gradient(135deg, ${categoryColor}, ${categoryColor}DD)` }}
|
||||
>
|
||||
<IconComponent className="w-5 h-5 text-white" />
|
||||
<IconComponent className="w-6 h-6 text-white" />
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Like Button */}
|
||||
<div className="flex items-center gap-2">
|
||||
<motion.button
|
||||
whileHover={{ scale: 1.08 }}
|
||||
whileTap={{ scale: 0.85 }}
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
toggleLike(club.id);
|
||||
}}
|
||||
className={`flex items-center gap-1 px-2.5 py-1 rounded-full text-xs font-semibold transition-all cursor-pointer border ${
|
||||
isLiked
|
||||
? 'bg-rose-50 border-rose-200 text-rose-600 shadow-2xs'
|
||||
: 'bg-slate-50 border-slate-200 text-slate-500 hover:border-rose-300 hover:text-rose-500'
|
||||
}`}
|
||||
>
|
||||
<Heart className={`w-3.5 h-3.5 ${isLiked ? 'fill-rose-500 text-rose-500' : ''}`} />
|
||||
<span>{likesCount}</span>
|
||||
</motion.button>
|
||||
</div>
|
||||
<motion.button
|
||||
whileHover={{ scale: 1.1 }}
|
||||
whileTap={{ scale: 0.9 }}
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
toggleLike(club.id);
|
||||
}}
|
||||
className={`flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-semibold transition-all border cursor-pointer ${
|
||||
isLiked
|
||||
? 'bg-rose-500 text-white border-rose-600 shadow-sm'
|
||||
: 'bg-slate-50 text-slate-600 border-slate-200 hover:bg-rose-50 hover:text-rose-600 hover:border-rose-200'
|
||||
}`}
|
||||
>
|
||||
<Heart className={`w-3.5 h-3.5 ${isLiked ? 'fill-white' : ''}`} />
|
||||
<span>{likesCount}</span>
|
||||
</motion.button>
|
||||
</div>
|
||||
|
||||
{/* Club Title & Description */}
|
||||
<h3 className="font-semibold text-[#1E293B] mb-1 group-hover:text-slate-900 transition-colors" style={{ fontFamily: 'Poppins, sans-serif' }}>
|
||||
{/* Club Title & Tagline */}
|
||||
<h3 className="text-xl font-bold text-[#1E293B] mb-1.5 group-hover:text-orange-600 transition-colors" style={{ fontFamily: 'Playfair Display, serif' }}>
|
||||
{club.name}
|
||||
</h3>
|
||||
<p className="text-xs text-[#64748B] mb-3 line-clamp-2" style={{ fontFamily: 'Inter, sans-serif' }}>{club.description}</p>
|
||||
<p className="text-xs text-[#64748B] line-clamp-2 leading-relaxed mb-4" style={{ fontFamily: 'Inter, sans-serif' }}>
|
||||
{club.description}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{/* Bottom Row: Category Tag & View Details Button */}
|
||||
@@ -327,7 +324,7 @@ export default function Events() {
|
||||
</span>
|
||||
<motion.button
|
||||
whileHover={{ scale: 1.04 }}
|
||||
className="px-3.5 py-1.5 rounded-lg text-xs font-semibold text-white flex items-center gap-1 cursor-pointer bg-[#1E1B4B] hover:bg-[#2E1065] transition-colors"
|
||||
className="px-3.5 py-1.5 rounded-lg text-xs font-semibold text-white flex items-center gap-1 cursor-pointer bg-[#C25E17] hover:bg-[#EA580C] transition-colors"
|
||||
style={{ fontFamily: 'Poppins, sans-serif' }}
|
||||
>
|
||||
View Details
|
||||
@@ -390,13 +387,13 @@ export default function Events() {
|
||||
</div>
|
||||
<div className="w-full h-1.5 bg-slate-100 rounded-full mb-6 overflow-hidden">
|
||||
<div
|
||||
className="h-full bg-[#1E1B4B] transition-all duration-300 rounded-full"
|
||||
className="h-full bg-[#C25E17] transition-all duration-300 rounded-full"
|
||||
style={{ width: `${((quizStep + 1) / QUIZ_QUESTIONS.length) * 100}%` }}
|
||||
/>
|
||||
</div>
|
||||
|
||||
{/* Question Header */}
|
||||
<div className="flex items-center gap-2 mb-2 text-[#1E1B4B]">
|
||||
<div className="flex items-center gap-2 mb-2 text-[#C25E17]">
|
||||
<Compass className="w-5 h-5" />
|
||||
<span className="text-xs font-bold uppercase tracking-wider">Club Matcher Quiz</span>
|
||||
</div>
|
||||
@@ -410,10 +407,10 @@ export default function Events() {
|
||||
<button
|
||||
key={idx}
|
||||
onClick={() => handleSelectOption(idx)}
|
||||
className="w-full text-left p-4 rounded-2xl border border-slate-200 hover:border-slate-800 hover:bg-slate-50 transition-all flex items-center justify-between text-sm font-medium text-slate-700 cursor-pointer group"
|
||||
className="w-full text-left p-4 rounded-2xl border border-slate-200 hover:border-orange-500 hover:bg-orange-50/50 transition-all flex items-center justify-between text-sm font-medium text-slate-700 cursor-pointer group"
|
||||
>
|
||||
<span>{opt.label}</span>
|
||||
<ArrowRight className="w-4 h-4 text-slate-300 group-hover:text-[#1E1B4B] group-hover:translate-x-1 transition-all" />
|
||||
<ArrowRight className="w-4 h-4 text-slate-300 group-hover:text-[#C25E17] group-hover:translate-x-1 transition-all" />
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
@@ -431,7 +428,7 @@ export default function Events() {
|
||||
/* Results Screen */
|
||||
<div>
|
||||
<div className="text-center mb-6">
|
||||
<div className="w-14 h-14 rounded-2xl bg-slate-900 text-violet-300 flex items-center justify-center mx-auto mb-3">
|
||||
<div className="w-14 h-14 rounded-2xl bg-orange-50 text-orange-600 border border-orange-200 flex items-center justify-center mx-auto mb-3">
|
||||
<CheckCircle2 className="w-8 h-8" />
|
||||
</div>
|
||||
<h3 className="text-2xl font-bold text-[#1E293B]" style={{ fontFamily: 'Playfair Display, serif' }}>
|
||||
@@ -444,7 +441,7 @@ export default function Events() {
|
||||
<div className="space-y-3 mb-6">
|
||||
{quizResults.map((item, i) => {
|
||||
const IconComponent = (item.club.icon && CLUB_ICON_MAP[item.club.icon]) || Atom;
|
||||
const catColor = CLUB_CATEGORY_COLORS[item.club.category] || '#1E1B4B';
|
||||
const catColor = CLUB_CATEGORY_COLORS[item.club.category] || '#C25E17';
|
||||
const matchPercent = i === 0 ? '98%' : i === 1 ? '91%' : '84%';
|
||||
|
||||
return (
|
||||
@@ -454,7 +451,7 @@ export default function Events() {
|
||||
setIsQuizOpen(false);
|
||||
setSelectedClub(item.club);
|
||||
}}
|
||||
className="p-4 rounded-2xl border border-slate-200 hover:border-slate-800 bg-slate-50 hover:bg-white cursor-pointer transition-all flex items-center justify-between"
|
||||
className="p-4 rounded-2xl border border-slate-200 hover:border-orange-500 bg-slate-50 hover:bg-white cursor-pointer transition-all flex items-center justify-between"
|
||||
>
|
||||
<div className="flex items-center gap-3">
|
||||
{item.club.logoUrl ? (
|
||||
@@ -495,7 +492,7 @@ export default function Events() {
|
||||
</button>
|
||||
<button
|
||||
onClick={() => setIsQuizOpen(false)}
|
||||
className="flex-1 py-3 rounded-xl text-white font-semibold text-xs bg-[#1E1B4B] hover:bg-[#2E1065] transition-all cursor-pointer"
|
||||
className="flex-1 py-3 rounded-xl text-white font-semibold text-xs bg-[#C25E17] hover:bg-[#EA580C] transition-all cursor-pointer"
|
||||
>
|
||||
Explore All Clubs
|
||||
</button>
|
||||
@@ -529,7 +526,7 @@ export default function Events() {
|
||||
{/* Modal Header */}
|
||||
{(() => {
|
||||
const IconComponent = (selectedClub.icon && CLUB_ICON_MAP[selectedClub.icon]) || Atom;
|
||||
const categoryColor = CLUB_CATEGORY_COLORS[selectedClub.category] || '#1E1B4B';
|
||||
const categoryColor = CLUB_CATEGORY_COLORS[selectedClub.category] || '#C25E17';
|
||||
const isLiked = likedClubs.has(selectedClub.id);
|
||||
const likesCount = likesMap[selectedClub.id] || 0;
|
||||
|
||||
@@ -580,9 +577,9 @@ export default function Events() {
|
||||
})()}
|
||||
|
||||
{/* Club Detailed Description */}
|
||||
<div className="mb-5 bg-slate-900/40 border border-slate-800 rounded-2xl p-4.5">
|
||||
<div className="flex items-center gap-2 text-xs font-bold text-violet-300 uppercase tracking-wider mb-2">
|
||||
<Info className="w-4 h-4 text-violet-300" />
|
||||
<div className="mb-5 bg-orange-50/60 border border-orange-200/60 rounded-2xl p-4.5">
|
||||
<div className="flex items-center gap-2 text-xs font-bold text-orange-600 uppercase tracking-wider mb-2">
|
||||
<Info className="w-4 h-4 text-orange-600" />
|
||||
<span>About the Club</span>
|
||||
</div>
|
||||
<p className="text-slate-700 text-sm leading-relaxed" style={{ fontFamily: 'Inter, sans-serif' }}>
|
||||
@@ -593,22 +590,22 @@ export default function Events() {
|
||||
{/* Leadership & Contact Information */}
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 gap-3.5 mb-6">
|
||||
<div className="bg-slate-900/60 border border-slate-800 hover:border-slate-700 transition-colors rounded-2xl p-3.5 flex items-center gap-3">
|
||||
<div className="w-10 h-10 rounded-xl bg-gradient-to-br from-[#1E1B4B] to-[#2E1065] text-white flex items-center justify-center shadow-xs shrink-0">
|
||||
<div className="w-10 h-10 rounded-xl bg-gradient-to-br from-[#C25E17] to-[#EA580C] text-white flex items-center justify-center shadow-xs shrink-0">
|
||||
<UserCheck className="w-5 h-5 text-white" />
|
||||
</div>
|
||||
<div>
|
||||
<span className="text-[11px] text-violet-300 font-semibold block">President / Student Lead</span>
|
||||
<span className="text-[11px] text-orange-300 font-semibold block">President / Student Lead</span>
|
||||
<span className="text-sm font-bold text-white">{selectedClub.presidentName || 'Student President'}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{selectedClub.vicePresidentName && (
|
||||
<div className="bg-slate-900/60 border border-slate-800 hover:border-slate-700 transition-colors rounded-2xl p-3.5 flex items-center gap-3">
|
||||
<div className="w-10 h-10 rounded-xl bg-gradient-to-br from-[#2E1065] to-[#3B0764] text-white flex items-center justify-center shadow-xs shrink-0">
|
||||
<div className="w-10 h-10 rounded-xl bg-gradient-to-br from-[#EA580C] to-[#F97316] text-white flex items-center justify-center shadow-xs shrink-0">
|
||||
<Users className="w-5 h-5 text-white" />
|
||||
</div>
|
||||
<div>
|
||||
<span className="text-[11px] text-violet-300 font-semibold block">Vice President</span>
|
||||
<span className="text-[11px] text-orange-300 font-semibold block">Vice President</span>
|
||||
<span className="text-sm font-bold text-white">{selectedClub.vicePresidentName}</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -618,7 +615,7 @@ export default function Events() {
|
||||
{/* Community & Social Links */}
|
||||
<div className="mb-6 bg-slate-900/40 border border-slate-800 rounded-2xl p-4">
|
||||
<div className="flex items-center justify-between mb-3">
|
||||
<div className="flex items-center gap-2 text-xs font-bold text-violet-300 uppercase tracking-wider">
|
||||
<div className="flex items-center gap-2 text-xs font-bold text-orange-400 uppercase tracking-wider">
|
||||
<ExternalLink className="w-3.5 h-3.5" />
|
||||
<span>Community & Social Links</span>
|
||||
</div>
|
||||
|
||||
@@ -102,7 +102,7 @@ export default function Home() {
|
||||
to={item.path}
|
||||
className="flex flex-col items-center justify-center p-2 sm:p-3.5 rounded-xl sm:rounded-2xl bg-slate-950/50 hover:bg-slate-900/80 border border-white/20 hover:border-white/40 backdrop-blur-md text-white transition-all duration-200 cursor-pointer hover:scale-[1.04] shadow-xl group text-center"
|
||||
>
|
||||
<div className="w-6 h-6 sm:w-8 sm:h-8 rounded-lg sm:rounded-xl bg-white/15 border border-white/25 flex items-center justify-center mb-1 sm:mb-1.5 group-hover:bg-[#1E1B4B] transition-colors shrink-0">
|
||||
<div className="w-6 h-6 sm:w-8 sm:h-8 rounded-lg sm:rounded-xl bg-white/15 border border-white/25 flex items-center justify-center mb-1 sm:mb-1.5 group-hover:bg-[#C25E17] transition-colors shrink-0">
|
||||
<Icon className="w-3.5 h-3.5 sm:w-4 sm:h-4 text-white" />
|
||||
</div>
|
||||
<span className="text-[10px] sm:text-xs font-bold truncate max-w-full leading-tight" style={{ fontFamily: 'Poppins, sans-serif' }}>
|
||||
|
||||
@@ -153,7 +153,7 @@ export default function LeetcodeLeaderboard() {
|
||||
RIT LeetCode Arena
|
||||
</div>
|
||||
<h1 className="text-3xl sm:text-5xl font-extrabold tracking-tight text-[#1E293B] font-poppins">
|
||||
Campus <span className="bg-clip-text text-transparent bg-gradient-to-r from-[#0F172A] via-[#1E1B4B] to-[#2E1065]">LeetCode Leaderboard</span>
|
||||
Campus <span className="bg-clip-text text-transparent bg-gradient-to-r from-[#C25E17] via-[#EA580C] to-[#F97316]">LeetCode Leaderboard</span>
|
||||
</h1>
|
||||
<p className="mt-2 text-slate-500 max-w-2xl text-sm sm:text-base">
|
||||
Track top problem solvers across departments. Automatically updated every 24 hours with rate-limited, spaced background sync.
|
||||
@@ -205,7 +205,7 @@ export default function LeetcodeLeaderboard() {
|
||||
|
||||
<div className="p-4 rounded-2xl bg-[#F8FAFC] border border-[#E2E8F0]">
|
||||
<span className="text-xs font-semibold text-slate-500 flex items-center gap-1.5">
|
||||
<User className="w-4 h-4 text-violet-400" /> Active Coders
|
||||
<User className="w-4 h-4 text-orange-400" /> Active Coders
|
||||
</span>
|
||||
<p className="text-xl font-bold text-[#1E293B] mt-1">
|
||||
{profiles.length}
|
||||
|
||||
@@ -1994,7 +1994,7 @@ export default function Notes() {
|
||||
</div>
|
||||
|
||||
<div className="p-4 rounded-2xl bg-[#F8FAFC] border border-[#E5E7EB]/70 flex flex-col gap-2">
|
||||
<div className="w-8 h-8 rounded-xl bg-slate-900 border border-slate-700 flex items-center justify-center text-violet-300">
|
||||
<div className="w-8 h-8 rounded-xl bg-slate-900 border border-slate-700 flex items-center justify-center text-orange-400">
|
||||
<FileText className="w-4 h-4" />
|
||||
</div>
|
||||
<div className="text-xs font-bold text-[#1E293B]" style={{ fontFamily: 'Poppins, sans-serif' }}>
|
||||
|
||||
@@ -56,7 +56,7 @@ export const PortfolioShowcase: React.FC = () => {
|
||||
domain: "AI-based Systems",
|
||||
description: "Cognitive educational platforms providing personalised student learning paths.",
|
||||
remarks: "Testing with users",
|
||||
color: "bg-[#1E1B4B]"
|
||||
color: "bg-[#C25E17]"
|
||||
},
|
||||
{
|
||||
name: "Innsole",
|
||||
@@ -64,7 +64,7 @@ export const PortfolioShowcase: React.FC = () => {
|
||||
domain: "Hardware & Health",
|
||||
description: "Smart footwear soles embedded with sensor arrays to monitor athletic gait and posture.",
|
||||
remarks: "Testing with users",
|
||||
color: "bg-[#1E1B4B]"
|
||||
color: "bg-[#C25E17]"
|
||||
},
|
||||
|
||||
// Prototype
|
||||
@@ -207,7 +207,7 @@ export const PortfolioShowcase: React.FC = () => {
|
||||
const getStageIcon = (stage: string) => {
|
||||
switch(stage) {
|
||||
case 'commercialization': return <TrendingUp className="w-4 h-4 text-emerald-600" />;
|
||||
case 'mvp': return <Box className="w-4 h-4 text-violet-300" />;
|
||||
case 'mvp': return <Box className="w-4 h-4 text-orange-600" />;
|
||||
case 'prototype': return <Layers className="w-4 h-4 text-amber-600" />;
|
||||
case 'idea': return <Sparkles className="w-4 h-4 text-purple-600" />;
|
||||
default: return <HelpCircle className="w-4 h-4" />;
|
||||
@@ -277,7 +277,7 @@ export const PortfolioShowcase: React.FC = () => {
|
||||
<div className="flex justify-between items-center mb-6">
|
||||
<span className={`inline-flex items-center gap-1.5 px-3 py-1 rounded-full text-[10px] md:text-xs font-bold uppercase tracking-wider ${
|
||||
startup.stage === 'commercialization' ? 'bg-emerald-100 text-emerald-800' :
|
||||
startup.stage === 'mvp' ? 'bg-slate-900 text-violet-300' :
|
||||
startup.stage === 'mvp' ? 'bg-orange-100 text-orange-800' :
|
||||
startup.stage === 'prototype' ? 'bg-amber-100 text-amber-800' :
|
||||
'bg-purple-100 text-purple-800'
|
||||
}`}>
|
||||
|
||||
@@ -56,7 +56,7 @@ export const PortfolioShowcase: React.FC = () => {
|
||||
domain: "AI-based Systems",
|
||||
description: "Cognitive educational platforms providing personalised student learning paths.",
|
||||
remarks: "Testing with users",
|
||||
color: "bg-[#1E1B4B]"
|
||||
color: "bg-[#C25E17]"
|
||||
},
|
||||
{
|
||||
name: "Innsole",
|
||||
@@ -64,7 +64,7 @@ export const PortfolioShowcase: React.FC = () => {
|
||||
domain: "Hardware & Health",
|
||||
description: "Smart footwear soles embedded with sensor arrays to monitor athletic gait and posture.",
|
||||
remarks: "Testing with users",
|
||||
color: "bg-[#1E1B4B]"
|
||||
color: "bg-[#C25E17]"
|
||||
},
|
||||
|
||||
// Prototype
|
||||
@@ -207,7 +207,7 @@ export const PortfolioShowcase: React.FC = () => {
|
||||
const getStageIcon = (stage: string) => {
|
||||
switch(stage) {
|
||||
case 'commercialization': return <TrendingUp className="w-4 h-4 text-emerald-600" />;
|
||||
case 'mvp': return <Box className="w-4 h-4 text-violet-300" />;
|
||||
case 'mvp': return <Box className="w-4 h-4 text-orange-600" />;
|
||||
case 'prototype': return <Layers className="w-4 h-4 text-amber-600" />;
|
||||
case 'idea': return <Sparkles className="w-4 h-4 text-purple-600" />;
|
||||
default: return <HelpCircle className="w-4 h-4" />;
|
||||
@@ -277,7 +277,7 @@ export const PortfolioShowcase: React.FC = () => {
|
||||
<div className="flex justify-between items-center mb-6">
|
||||
<span className={`inline-flex items-center gap-1.5 px-3 py-1 rounded-full text-[10px] md:text-xs font-bold uppercase tracking-wider ${
|
||||
startup.stage === 'commercialization' ? 'bg-emerald-100 text-emerald-800' :
|
||||
startup.stage === 'mvp' ? 'bg-slate-900 text-violet-300' :
|
||||
startup.stage === 'mvp' ? 'bg-orange-100 text-orange-800' :
|
||||
startup.stage === 'prototype' ? 'bg-amber-100 text-amber-800' :
|
||||
'bg-purple-100 text-purple-800'
|
||||
}`}>
|
||||
|
||||
Reference in New Issue
Block a user