Skip to content

Commit 449b92a

Browse files
Merge pull request #150 from umdevclub/feat/devgames
refactor:updated devgames loc
2 parents bf2155a + b668c1e commit 449b92a

File tree

3 files changed

+9
-23
lines changed

3 files changed

+9
-23
lines changed

src/resources/data/events.ts

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ export const EVENTS: EventData[] = [
4343
term: ["Fall"],
4444
image: codingKickoff,
4545
recurring: true,
46-
date: "2025-09-18T17:00:00",
47-
location: "EITC E2-125",
48-
rsvp: "https://docs.google.com/forms/d/e/1FAIpQLSfSVtcqE3yz4dnmpBs7bLpXAj7nZ2VNsDoeZnFIO5IKo1hX7g/viewform",
49-
upcomingImage: codingKickoffUpcoming,
5046
},
5147
{
5248
id: "workshops",
@@ -76,12 +72,13 @@ export const EVENTS: EventData[] = [
7672
recurring: true,
7773
upcomingTitle: [".devGames Level 1", ".devGames Level 2"],
7874
upcomingDescription: [
79-
"Level 1: Learn the basics of game development in Unity. We will be building a simple 2D game from scratch.",
75+
"Level 1: Learn the basics of game development in Unity.",
8076
"Level 2: Join us for this special workshop in collaboration with UBISOFT and CSSA to learn about the fundamentals of Game Design.",
8177
],
8278
upcomingImage: [devgames1, devgames2],
83-
date: ["2025-09-25T18:00:00", "2025-10-01T18:00:00"],
84-
location: ["EITC E2-110", "EITC E3-270"],
79+
date: ["2025-09-25T17:00:00", "2025-10-01T17:00:00"],
80+
location: ["EITC E2-155", "EITC E3-270"],
81+
rsvp: "https://forms.gle/h7eHKcXw2wSrWCpUA",
8582
},
8683
{
8784
id: "exam-crams",

src/routes/Events.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import "@/styles/Events.scss";
66
const TERMS: Term[] = ["Summer", "Fall", "Winter"];
77

88
function Events() {
9-
const [active, setActive] = useState<Term | "All" | "Upcoming">("All");
9+
const [active, setActive] = useState<Term | "All" | "Upcoming">("Upcoming");
1010
const isAll = active === "All";
1111

1212
const matches = (evTerms: Term[] | undefined, term: Term | "All") => {

src/styles/Events.scss

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,9 @@
160160

161161
.events-grid {
162162
display: grid;
163-
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
163+
grid-template-columns: repeat(auto-fill, minmax(280px, 350px));
164+
justify-content: center;
165+
164166
gap: 2rem;
165167
align-items: stretch;
166168

@@ -191,23 +193,10 @@
191193
backface-visibility: hidden;
192194

193195
&:hover {
194-
transform: translateY(-8px) rotate(-2.25deg) scale(1.01);
196+
transform: translateY(-8px) scale(1.02);
195197
box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
196198
}
197199

198-
&:nth-child(even):hover {
199-
transform: translateY(-8px) rotate(2.25deg) scale(1.01);
200-
}
201-
&:nth-child(3n):hover {
202-
transform: translateY(-8px) rotate(-1.25deg) scale(1.01);
203-
}
204-
&:nth-child(4n):hover {
205-
transform: translateY(-8px) rotate(1.5deg) scale(1.01);
206-
}
207-
&:nth-child(5n):hover {
208-
transform: translateY(-8px) rotate(-3deg) scale(1.01);
209-
}
210-
211200
.event-thumb {
212201
width: 100%;
213202
height: 180px;

0 commit comments

Comments
 (0)