Force darkmode for the time being

This commit is contained in:
Antoine Phan
2025-10-18 14:29:52 -04:00
parent 517967825c
commit 4bbfbd5c95
2 changed files with 16 additions and 5 deletions

View File

@@ -1,9 +1,10 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en" class="dark">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" /> <link rel="icon" href="%sveltekit.assets%/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="color-scheme" content="dark" />
%sveltekit.head% %sveltekit.head%
</head> </head>
<body data-sveltekit-preload-data="hover"> <body data-sveltekit-preload-data="hover">

View File

@@ -27,7 +27,12 @@
'One of the largest IEEE student branches in Eastern Canada. Dedicated to professional development through networking, workshops, competitions, and industry connections.', 'One of the largest IEEE student branches in Eastern Canada. Dedicated to professional development through networking, workshops, competitions, and industry connections.',
website: 'https://ieee.mcgilleus.ca/', website: 'https://ieee.mcgilleus.ca/',
icon: Zap, icon: Zap,
features: ['Technical Talks', 'Arduino Workshops', 'IEEEXtreme Competition', 'Networking Events'] features: [
'Technical Talks',
'Arduino Workshops',
'IEEEXtreme Competition',
'Networking Events'
]
}, },
{ {
name: 'CodeJam', name: 'CodeJam',
@@ -35,7 +40,12 @@
"McGill Engineering's largest and longest-running hackathon. A 36-hour programming competition where students create innovative solutions to real-world problems.", "McGill Engineering's largest and longest-running hackathon. A 36-hour programming competition where students create innovative solutions to real-world problems.",
website: 'https://codejam.mcgilleus.ca/', website: 'https://codejam.mcgilleus.ca/',
icon: CodeXml, icon: CodeXml,
features: ['Annual Hackathon', 'Industry Mentors', 'Networking Opportunities', "Big Prize Pool"] features: [
'Annual Hackathon',
'Industry Mentors',
'Networking Opportunities',
'Big Prize Pool'
]
} }
]; ];
</script> </script>
@@ -60,7 +70,7 @@
{#each clubs as club, i (club.name)} {#each clubs as club, i (club.name)}
{@const Icon = club.icon} {@const Icon = club.icon}
<article <article
class="group bg-ecsess-950 relative flex flex-col overflow-hidden rounded-2xl shadow-ecsess-800 shadow-xl transition-all duration-300 hover:-translate-y-2 hover:shadow-2xl" class="group bg-ecsess-950 shadow-ecsess-800 relative flex flex-col overflow-hidden rounded-2xl shadow-xl transition-all duration-300 hover:-translate-y-2 hover:shadow-2xl"
aria-labelledby={`club-${i}-title`} aria-labelledby={`club-${i}-title`}
> >
<!-- Decorative gradient bar --> <!-- Decorative gradient bar -->
@@ -88,7 +98,7 @@
</div> </div>
<!-- Description --> <!-- Description -->
<p class="text-ecsess-700 dark:text-ecsess-200 mb-6 flex-1 text-base leading-relaxed"> <p class="text-ecsess-200 mb-6 flex-1 text-base leading-relaxed">
{club.description} {club.description}
</p> </p>