Update club contact email handling and clear blank emails
This commit is contained in:
@@ -534,7 +534,7 @@ export const CLUBS_DATA: Club[] = [
|
||||
vicePresidentName: 'Harish A (CSE)',
|
||||
coordinatorName: 'Pradakshina Rajesh Bhavani (AI&DS)',
|
||||
year: 'Senior Year',
|
||||
contactEmail: 'nss@ritchennai.edu.in',
|
||||
contactEmail: '',
|
||||
contactPhone: '+91 8668130804',
|
||||
icon: 'HeartHandshake',
|
||||
logoUrl: '/clubs/nss.png',
|
||||
@@ -553,7 +553,7 @@ export const CLUBS_DATA: Club[] = [
|
||||
vicePresidentName: 'Supeckshana M (CSE)',
|
||||
coordinatorName: 'Dr. S. Niranjana (VLSI)',
|
||||
year: 'Senior Year',
|
||||
contactEmail: 'uba@ritchennai.edu.in',
|
||||
contactEmail: '',
|
||||
contactPhone: '+91 7305642992',
|
||||
icon: 'Users',
|
||||
logoUrl: '/clubs/unnat_bharat.png',
|
||||
@@ -572,7 +572,7 @@ export const CLUBS_DATA: Club[] = [
|
||||
vicePresidentName: 'Danish (VLSI)',
|
||||
coordinatorName: 'Rotaract Faculty Lead',
|
||||
year: 'Senior Year',
|
||||
contactEmail: 'rotaract@ritchennai.edu.in',
|
||||
contactEmail: '',
|
||||
contactPhone: '+91 7200696226',
|
||||
icon: 'HeartHandshake',
|
||||
logoUrl: '/clubs/rotaract.png',
|
||||
@@ -591,7 +591,7 @@ export const CLUBS_DATA: Club[] = [
|
||||
vicePresidentName: 'Julinsa (CSE)',
|
||||
coordinatorName: 'Niraimathy Marthandan (Biotech)',
|
||||
year: 'Senior Year',
|
||||
contactEmail: 'yrc@ritchennai.edu.in',
|
||||
contactEmail: '',
|
||||
contactPhone: '+91 9344061221',
|
||||
icon: 'Heart',
|
||||
logoUrl: '/clubs/nss.png',
|
||||
@@ -610,7 +610,7 @@ export const CLUBS_DATA: Club[] = [
|
||||
vicePresidentName: 'Indhuvadhani M (ECE)',
|
||||
coordinatorName: 'Ms. N. Suganthi (ECE)',
|
||||
year: 'Third Year',
|
||||
contactEmail: 'wec@ritchennai.edu.in',
|
||||
contactEmail: '',
|
||||
contactPhone: '+91 6385227710',
|
||||
icon: 'Sparkles',
|
||||
logoUrl: '/clubs/wec.png',
|
||||
@@ -629,7 +629,7 @@ export const CLUBS_DATA: Club[] = [
|
||||
vicePresidentName: 'Pradakshina RB',
|
||||
coordinatorName: 'YUVA Faculty Lead',
|
||||
year: 'Senior Year',
|
||||
contactEmail: 'yuva@ritchennai.edu.in',
|
||||
contactEmail: '',
|
||||
contactPhone: '+91 9677043565',
|
||||
icon: 'Rocket',
|
||||
logoUrl: '/clubs/yuva.png',
|
||||
@@ -648,7 +648,7 @@ export const CLUBS_DATA: Club[] = [
|
||||
vicePresidentName: 'Keerthana S (III CSE)',
|
||||
coordinatorName: 'Dr. J. Anitha (H&S)',
|
||||
year: 'III Year, CSE',
|
||||
contactEmail: 'wistem@ritchennai.edu.in',
|
||||
contactEmail: '',
|
||||
contactPhone: '+91 9600110150',
|
||||
icon: 'Atom',
|
||||
logoUrl: '/clubs/wistem.png',
|
||||
@@ -668,7 +668,7 @@ export const CLUBS_DATA: Club[] = [
|
||||
vicePresidentName: 'Barath S (AIML)',
|
||||
coordinatorName: 'Prof. Avudai Selvi (CSE)',
|
||||
year: 'Senior Year',
|
||||
contactEmail: 'techspark@ritchennai.edu.in',
|
||||
contactEmail: '',
|
||||
contactPhone: '+91 8667466390',
|
||||
icon: 'Zap',
|
||||
logoUrl: '/clubs/techspark.png',
|
||||
@@ -687,7 +687,7 @@ export const CLUBS_DATA: Club[] = [
|
||||
vicePresidentName: 'Sanjay Y (III ECE)',
|
||||
coordinatorName: 'Dr. A. Thilagavathy Vinoth (H&S)',
|
||||
year: 'Third Year',
|
||||
contactEmail: 'infinitus@ritchennai.edu.in',
|
||||
contactEmail: '',
|
||||
contactPhone: '+91 8838552068',
|
||||
icon: 'Calculator',
|
||||
logoUrl: '/clubs/infinitus.png',
|
||||
@@ -706,7 +706,7 @@ export const CLUBS_DATA: Club[] = [
|
||||
vicePresidentName: 'Abhi Harish (III VLSI)',
|
||||
coordinatorName: 'Mr. Mohan Ram (AP/ECE)',
|
||||
year: 'III Year, VLSI',
|
||||
contactEmail: 'steamclub@ritchennai.edu.in',
|
||||
contactEmail: '',
|
||||
contactPhone: '+91 7550271227',
|
||||
icon: 'Printer',
|
||||
logoUrl: '/clubs/steam.png',
|
||||
@@ -725,7 +725,7 @@ export const CLUBS_DATA: Club[] = [
|
||||
vicePresidentName: 'Jonathi (III AIDS)',
|
||||
coordinatorName: 'Prof. Shri Janani P (CSE)',
|
||||
year: 'III Year, CSE',
|
||||
contactEmail: 'artistleague@ritchennai.edu.in',
|
||||
contactEmail: '',
|
||||
contactPhone: '+91 9025726185',
|
||||
icon: 'Sparkles',
|
||||
logoUrl: '/clubs/artist_league.png',
|
||||
@@ -744,7 +744,7 @@ export const CLUBS_DATA: Club[] = [
|
||||
vicePresidentName: 'Sarvesh V (III VLSI)',
|
||||
coordinatorName: 'Mr. Keerthana Pandiyan (Biotech)',
|
||||
year: 'III Year, AIML',
|
||||
contactEmail: 'vaarithi@ritchennai.edu.in',
|
||||
contactEmail: '',
|
||||
contactPhone: '+91 8248701027',
|
||||
icon: 'BookOpen',
|
||||
logoUrl: '/clubs/vaarithi.png',
|
||||
@@ -763,7 +763,7 @@ export const CLUBS_DATA: Club[] = [
|
||||
vicePresidentName: 'Farren Jeanvil',
|
||||
coordinatorName: 'Ms. Roopavathi',
|
||||
year: 'Third Year',
|
||||
contactEmail: 'nippon@ritchennai.edu.in',
|
||||
contactEmail: '',
|
||||
contactPhone: '+91 9042294493',
|
||||
icon: 'Globe',
|
||||
logoUrl: '/clubs/nippon.png',
|
||||
|
||||
@@ -630,7 +630,7 @@ export default function Events() {
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Email Card - Emerald Theme */}
|
||||
{selectedClub.contactEmail && (
|
||||
<div className="bg-emerald-50/80 border border-emerald-100 hover:border-emerald-300 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-emerald-500 to-emerald-600 text-white flex items-center justify-center shadow-xs shadow-emerald-200 shrink-0">
|
||||
<Mail className="w-5 h-5 text-white" />
|
||||
@@ -638,10 +638,11 @@ export default function Events() {
|
||||
<div className="min-w-0 flex-1">
|
||||
<span className="text-[11px] text-emerald-500 font-semibold block">Contact Email</span>
|
||||
<a href={`mailto:${selectedClub.contactEmail}`} className="text-sm font-bold text-emerald-700 hover:text-emerald-800 hover:underline truncate block">
|
||||
{selectedClub.contactEmail || 'club@ritchennai.edu.in'}
|
||||
{selectedClub.contactEmail}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Phone Card - Sky Theme */}
|
||||
<div className="bg-sky-50/80 border border-sky-100 hover:border-sky-300 transition-colors rounded-2xl p-3.5 flex items-center gap-3">
|
||||
|
||||
Reference in New Issue
Block a user