diff --git a/pages/team.jsx b/pages/team.jsx
index b130ed2..21457cc 100644
--- a/pages/team.jsx
+++ b/pages/team.jsx
@@ -49,7 +49,7 @@ const Team = () => {
-
+
MEET THE TEAM
@@ -63,7 +63,7 @@ const Team = () => {
onChange={(year) => setYear(year)}
/>
-
+
{members.exec.map((section, index) => (
{
-
+
The Committee
{members.subcoms.map((portfolio, index) => (
diff --git a/public/img/exec/2023/Jack.jpg b/public/img/exec/2023/Jack.jpg
index 11bc92f..703ffd6 100644
Binary files a/public/img/exec/2023/Jack.jpg and b/public/img/exec/2023/Jack.jpg differ
diff --git a/public/img/nominee/Alex.JPG b/public/img/exec/2024/Alex.jpg
similarity index 100%
rename from public/img/nominee/Alex.JPG
rename to public/img/exec/2024/Alex.jpg
diff --git a/public/img/nominee/Amal.jpg b/public/img/exec/2024/Amal.jpg
similarity index 100%
rename from public/img/nominee/Amal.jpg
rename to public/img/exec/2024/Amal.jpg
diff --git a/public/img/nominee/Anna.jpg b/public/img/exec/2024/Anna.jpg
similarity index 100%
rename from public/img/nominee/Anna.jpg
rename to public/img/exec/2024/Anna.jpg
diff --git a/public/img/nominee/Arya.jpg b/public/img/exec/2024/Arya.jpg
similarity index 100%
rename from public/img/nominee/Arya.jpg
rename to public/img/exec/2024/Arya.jpg
diff --git a/public/img/nominee/Dinara.jpg b/public/img/exec/2024/Dinara.jpg
similarity index 100%
rename from public/img/nominee/Dinara.jpg
rename to public/img/exec/2024/Dinara.jpg
diff --git a/public/img/nominee/Doris.JPG b/public/img/exec/2024/Doris.jpg
similarity index 100%
rename from public/img/nominee/Doris.JPG
rename to public/img/exec/2024/Doris.jpg
diff --git a/public/img/nominee/Franklin.png b/public/img/exec/2024/Franklin.png
similarity index 100%
rename from public/img/nominee/Franklin.png
rename to public/img/exec/2024/Franklin.png
diff --git a/public/img/nominee/Imogen.png b/public/img/exec/2024/Imogen.png
similarity index 100%
rename from public/img/nominee/Imogen.png
rename to public/img/exec/2024/Imogen.png
diff --git a/public/img/nominee/Inika.jpg b/public/img/exec/2024/Inika.jpg
similarity index 100%
rename from public/img/nominee/Inika.jpg
rename to public/img/exec/2024/Inika.jpg
diff --git a/public/img/nominee/Kelly.JPG b/public/img/exec/2024/Kelly.jpg
similarity index 100%
rename from public/img/nominee/Kelly.JPG
rename to public/img/exec/2024/Kelly.jpg
diff --git a/public/img/nominee/Kiran.jpeg b/public/img/exec/2024/Kiran.jpeg
similarity index 100%
rename from public/img/nominee/Kiran.jpeg
rename to public/img/exec/2024/Kiran.jpeg
diff --git a/public/img/nominee/Lucas.jpg b/public/img/exec/2024/Lucas.jpg
similarity index 100%
rename from public/img/nominee/Lucas.jpg
rename to public/img/exec/2024/Lucas.jpg
diff --git a/public/img/nominee/Maggie.jpg b/public/img/exec/2024/Maggie.jpg
similarity index 100%
rename from public/img/nominee/Maggie.jpg
rename to public/img/exec/2024/Maggie.jpg
diff --git a/public/img/nominee/Matthew.jpg b/public/img/exec/2024/Matthew.jpg
similarity index 100%
rename from public/img/nominee/Matthew.jpg
rename to public/img/exec/2024/Matthew.jpg
diff --git a/public/img/nominee/Nicholas.png b/public/img/exec/2024/Nicholas.png
similarity index 100%
rename from public/img/nominee/Nicholas.png
rename to public/img/exec/2024/Nicholas.png
diff --git a/public/img/nominee/Peter.png b/public/img/exec/2024/Peter.png
similarity index 100%
rename from public/img/nominee/Peter.png
rename to public/img/exec/2024/Peter.png
diff --git a/public/img/nominee/Sam.jpg b/public/img/exec/2024/Sam.jpg
similarity index 100%
rename from public/img/nominee/Sam.jpg
rename to public/img/exec/2024/Sam.jpg
diff --git a/public/img/nominee/Sebastian.png b/public/img/exec/2024/Sebastian.png
similarity index 100%
rename from public/img/nominee/Sebastian.png
rename to public/img/exec/2024/Sebastian.png
diff --git a/public/img/nominee/Sienna.png b/public/img/exec/2024/Sienna.png
similarity index 100%
rename from public/img/nominee/Sienna.png
rename to public/img/exec/2024/Sienna.png
diff --git a/public/img/nominee/Maggie.heic b/public/img/nominee/Maggie.heic
deleted file mode 100644
index 6599715..0000000
Binary files a/public/img/nominee/Maggie.heic and /dev/null differ
diff --git a/public/robots.txt b/public/robots.txt
new file mode 100644
index 0000000..0d62bf2
--- /dev/null
+++ b/public/robots.txt
@@ -0,0 +1,3 @@
+User-agent: *
+Disallow: /img/exec
+Disallow: /img/nominee
diff --git a/public/scripts/test.js b/public/scripts/test.js
deleted file mode 100644
index c0fb631..0000000
--- a/public/scripts/test.js
+++ /dev/null
@@ -1,7 +0,0 @@
-window.onload = () => {
- const button = document.querySelector("button.submit");
-
- button.onClick = () => {
- alert("You clicked a button, bitch!");
- }
-}
\ No newline at end of file
diff --git a/styles/modules/ExecCard.module.scss b/styles/modules/ExecCard.module.scss
index 9f8790a..72abc6f 100644
--- a/styles/modules/ExecCard.module.scss
+++ b/styles/modules/ExecCard.module.scss
@@ -48,13 +48,28 @@ $card-colors: (
text-align: center;
overflow: hidden;
- p {
+ // This is needed to stop the image tag from causing a
+ // small amount of whitespace at the bottom of the surrounding div
+ // which messes with the hover animation.
+ * {
+ display: block !important;
+ }
+
+ & p {
position: absolute;
color: white;
top: 50%;
z-index: -1;
+ opacity: 0;
left: 50%;
transform: translate(-50%, -50%);
+ margin: 0;
+ }
+
+ &:hover p {
+ z-index: 1;
+ opacity: 1;
+ transition: opacity 0.25s ease-in;
}
// Little quarter circle in top right
@@ -64,41 +79,16 @@ $card-colors: (
top: -16px;
right: -16px;
background-color: $value;
- height: 32px;
- width: 32px;
- border-radius: 32px;
+ height: 48px;
+ width: 48px;
+ border-radius: 0 0 0 24px;
transform: scale(1);
transform-origin: 50% 50%;
transition: transform 0.25s ease-out;
}
- /*&:hover .card-person-animation {
- transform: scale(50);
+ &:hover .card-person-animation {
+ transform: scale(20);
}
-
- &:hover p {
- z-index: 1;
- }*/
}
-
- .go-corner-#{$color} {
- display: flex;
- align-items: center;
- justify-content: center;
- position: absolute;
- width: 40px;
- height: 40px;
- overflow: hidden;
- top: 0;
- right: 0;
- background-color: $value;
- border-radius: 0 4px 0 32px;
- }
-}
-
-.go-arrow {
- margin-top: -4px;
- margin-right: -4px;
- color: white;
- font-family: courier, sans;
}
diff --git a/yarn.lock b/yarn.lock
index 4d7d067..7dd1725 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -730,9 +730,9 @@ callsites@^3.0.0:
integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==
caniuse-lite@^1.0.30001406:
- version "1.0.30001492"
- resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001492.tgz#4a06861788a52b4c81fd3344573b68cc87fe062b"
- integrity sha512-2efF8SAZwgAX1FJr87KWhvuJxnGJKOnctQa8xLOskAXNXq8oiuqgl6u1kk3fFpsp3GgvzlRjiK1sl63hNtFADw==
+ version "1.0.30001578"
+ resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001578.tgz"
+ integrity sha512-J/jkFgsQ3NEl4w2lCoM9ZPxrD+FoBNJ7uJUpGVjIg/j0OwJosWM36EPDv+Yyi0V4twBk9pPmlFS+PLykgEvUmg==
ccount@^2.0.0:
version "2.0.1"