From f9fbca9531b9bad4848fafe0efa49ff9459c871e Mon Sep 17 00:00:00 2001 From: Antoine Phan Date: Sun, 25 Jan 2026 01:25:16 -0500 Subject: [PATCH] Styling updates, overhaul main landing page --- src/app.css | 6 +- src/components/RichText.svelte | 2 +- .../homepage/AffiliatedGroups.svelte | 155 ++++++++---------- src/routes/+page.svelte | 79 ++++----- 4 files changed, 118 insertions(+), 124 deletions(-) diff --git a/src/app.css b/src/app.css index 7cd4c18..ef0b389 100644 --- a/src/app.css +++ b/src/app.css @@ -28,14 +28,14 @@ --color-ecsess-black: #1f1f1f; --color-ecsess-black-hover: #161917; - --animate-wiggle: wiggle 0.3s ease-in-out infinite; + --animate-wiggle: wiggle 0.5s ease-in-out 1; @keyframes wiggle { 0%, 100% { - transform: rotateY(-3deg); + transform: rotateY(-2.4deg); } 50% { - transform: rotateY(3deg); + transform: rotateY(2.4deg); } } } diff --git a/src/components/RichText.svelte b/src/components/RichText.svelte index b6662c9..c5a8bd0 100644 --- a/src/components/RichText.svelte +++ b/src/components/RichText.svelte @@ -4,6 +4,6 @@ let { value } = $props(); -
+
diff --git a/src/components/homepage/AffiliatedGroups.svelte b/src/components/homepage/AffiliatedGroups.svelte index ad8e1f9..4db6785 100644 --- a/src/components/homepage/AffiliatedGroups.svelte +++ b/src/components/homepage/AffiliatedGroups.svelte @@ -1,5 +1,5 @@
-
-

+
+

Subcommittees & Affiliated Groups

-

+

Explore opportunities to enhance your skills, build innovative projects, and connect with the engineering community through our subcommittees and affiliated groups.

- -
+ +
{#each groups as group, i (group.name)} {@const Icon = group.icon}
- -
+
+ +
+
+
+

+ {group.name} +

+
-
- -
-
-
+

+ {group.description} +

+ + +
    + {#each group.features as feature (feature)} +
  • + + {feature} +
  • + {/each} +
+ + +
+ {#if group.instagram} + -
-

- {group.name} -

-
- -
+ Instagram + + {/if} + {#if group.website} - - {#if group.instagram} - - - {/if} -
+ {/if}
- - -

- {group.description} -

- - -
    - {#each group.features as feature (feature)} -
  • - - - {feature} - -
  • - {/each} -
{/each}
- - -
-

- Want to get involved? Visit their websites and social media pages to learn about upcoming - events and how to join! -

-
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index f51e796..5258338 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -17,67 +17,72 @@ -
+
- -
-
-

- {#each 'We are ECSESS!' as char, i} - {char} - {/each} -

+ +
+

+ {#each 'We are ECSESS!'.split('') as char, i} + + {char} + + {/each} +

+

+ Electrical, Computer & Software Engineering Students' Society at McGill (ECSESS) is the student council which helps McGill ECSE students in their + academic, + technical, + social and + professional progression. +

+ +
+
- -
-
- -
-
- - -
-
+ +
+
+ ECSESS Council
- - -
- -
-
+
-

Office Hours

+

Lounge Office Hours

+

Come visit us in our student lounge at ENGTR 1060 to grab a coffee (free), play Mario Kart, or just chat about anything!

-
+
-
+