From b3e8de9428cf6058aa89fe594233c230c77bef0e Mon Sep 17 00:00:00 2001
From: Oliver
Date: Sat, 21 Feb 2026 15:08:40 +0800
Subject: [PATCH 1/4] Changed links in footer from yt, x to instagram and
facebook for game development
---
client/src/gamedev-metadata.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/client/src/gamedev-metadata.json b/client/src/gamedev-metadata.json
index 2c12e719..746bbe29 100644
--- a/client/src/gamedev-metadata.json
+++ b/client/src/gamedev-metadata.json
@@ -1,9 +1,9 @@
{
"social_media": {
- "x": { "url": "twitter.com", "alt_text": "X (Twitter)" },
+ "facebook": { "url": "https://www.facebook.com/people/Game-Development-UWA/61576948012356/", "alt_text": "Facebook" },
"discord": { "url": "discord.com" },
"github": { "url": "github.com", "alt_text": "GitHub" },
- "youtube": { "url": "youtube.com", "alt_text": "YouTube" }
+ "instagram": { "url": "https://www.instagram.com/gamedevelopmentuwa", "alt_text": "Instagram" }
},
"art_showcase_description": "Here are some of our favourite artworks from this years gamejams!",
"game_showcase_description": "Here are some winning games of our recent game jams"
From 8a907d3b9fc591828fc7b40d6ac5115c5b071c3b Mon Sep 17 00:00:00 2001
From: Oliver
Date: Mon, 2 Mar 2026 20:57:18 +0800
Subject: [PATCH 2/4] Fix prettier
---
client/src/gamedev-metadata.json | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/client/src/gamedev-metadata.json b/client/src/gamedev-metadata.json
index 746bbe29..d740ca7b 100644
--- a/client/src/gamedev-metadata.json
+++ b/client/src/gamedev-metadata.json
@@ -1,9 +1,15 @@
{
"social_media": {
- "facebook": { "url": "https://www.facebook.com/people/Game-Development-UWA/61576948012356/", "alt_text": "Facebook" },
+ "facebook": {
+ "url": "https://www.facebook.com/people/Game-Development-UWA/61576948012356/",
+ "alt_text": "Facebook"
+ },
"discord": { "url": "discord.com" },
"github": { "url": "github.com", "alt_text": "GitHub" },
- "instagram": { "url": "https://www.instagram.com/gamedevelopmentuwa", "alt_text": "Instagram" }
+ "instagram": {
+ "url": "https://www.instagram.com/gamedevelopmentuwa",
+ "alt_text": "Instagram"
+ }
},
"art_showcase_description": "Here are some of our favourite artworks from this years gamejams!",
"game_showcase_description": "Here are some winning games of our recent game jams"
From a0d731a233cb35313cf386debb6ccdd94d930cbf Mon Sep 17 00:00:00 2001
From: James Lee
Date: Thu, 5 Mar 2026 13:56:39 +0800
Subject: [PATCH 3/4] Correcting links
---
client/src/components/main/Footer.tsx | 1 -
client/src/components/ui/SocialIconButton.tsx | 10 ----------
client/src/gamedev-metadata.json | 10 +++++-----
3 files changed, 5 insertions(+), 16 deletions(-)
diff --git a/client/src/components/main/Footer.tsx b/client/src/components/main/Footer.tsx
index 9cc835c1..43ff99c4 100644
--- a/client/src/components/main/Footer.tsx
+++ b/client/src/components/main/Footer.tsx
@@ -130,7 +130,6 @@ export default function Footer() {
),
)}
diff --git a/client/src/components/ui/SocialIconButton.tsx b/client/src/components/ui/SocialIconButton.tsx
index edc8b005..89ef1c34 100644
--- a/client/src/components/ui/SocialIconButton.tsx
+++ b/client/src/components/ui/SocialIconButton.tsx
@@ -4,16 +4,9 @@ import { SocialIcon } from "react-social-icons";
import { cssVarAsHSL } from "@/lib/utils";
-// this way, we can use the fields from the social media
-// table directly, in several other places throughout the site
export type SocialMedia = {
url: string;
- socialMediaName: string;
altText?: string;
- // modify this type to support optional modification to the
- // social media icons, like a one-size-fits-all styling property
- // specifically for react-icons
- // for now, lets keep it simple
};
/**
@@ -22,13 +15,11 @@ export type SocialMedia = {
*/
export default function SocialIconButton({
url,
- socialMediaName,
altText,
}: SocialMedia) {
return (
Date: Thu, 5 Mar 2026 14:18:31 +0800
Subject: [PATCH 4/4] Linting, formatting, simplification
---
client/src/components/main/Footer.tsx | 15 +++++++--------
client/src/components/ui/SocialIconButton.tsx | 11 ++---------
client/src/gamedev-metadata.json | 12 ++++++------
3 files changed, 15 insertions(+), 23 deletions(-)
diff --git a/client/src/components/main/Footer.tsx b/client/src/components/main/Footer.tsx
index 43ff99c4..081d34c0 100644
--- a/client/src/components/main/Footer.tsx
+++ b/client/src/components/main/Footer.tsx
@@ -125,14 +125,13 @@ export default function Footer() {
development club
- {Object.entries(social_media).map(
- ([platform, data], index) => (
-
- ),
- )}
+ {social_media.map((data) => (
+
+ ))}
-
+
);
diff --git a/client/src/gamedev-metadata.json b/client/src/gamedev-metadata.json
index 12d3985d..1c855656 100644
--- a/client/src/gamedev-metadata.json
+++ b/client/src/gamedev-metadata.json
@@ -1,16 +1,16 @@
{
- "social_media": {
- "facebook": {
+ "social_media": [
+ {
"url": "https://www.facebook.com/people/Game-Development-UWA/61576948012356/",
"alt_text": "Facebook"
},
- "discord": {
+ {
"url": "https://discord.com/invite/JvnuVyMUff",
"alt_text": "Discord"
- },
- "instagram": {
+ },
+ {
"url": "https://www.instagram.com/gamedevelopmentuwa",
"alt_text": "Instagram"
}
- }
+ ]
}