Skip to content

Commit a0d731a

Browse files
Correcting links
1 parent 5be2933 commit a0d731a

3 files changed

Lines changed: 5 additions & 16 deletions

File tree

client/src/components/main/Footer.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ export default function Footer() {
130130
<SocialIconButton
131131
key={index}
132132
url={data.url}
133-
socialMediaName={platform}
134133
/>
135134
),
136135
)}

client/src/components/ui/SocialIconButton.tsx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,9 @@ import { SocialIcon } from "react-social-icons";
44

55
import { cssVarAsHSL } from "@/lib/utils";
66

7-
// this way, we can use the fields from the social media
8-
// table directly, in several other places throughout the site
97
export type SocialMedia = {
108
url: string;
11-
socialMediaName: string;
129
altText?: string;
13-
// modify this type to support optional modification to the
14-
// social media icons, like a one-size-fits-all styling property
15-
// specifically for react-icons
16-
// for now, lets keep it simple
1710
};
1811

1912
/**
@@ -22,13 +15,11 @@ export type SocialMedia = {
2215
*/
2316
export default function SocialIconButton({
2417
url,
25-
socialMediaName,
2618
altText,
2719
}: SocialMedia) {
2820
return (
2921
<motion.div
3022
className="group rounded-xl border border-white/10 bg-white/5 p-2.5"
31-
aria-label={socialMediaName}
3223
whileHover={{
3324
scale: 1.1,
3425
y: -4,
@@ -51,7 +42,6 @@ export default function SocialIconButton({
5142
}}
5243
>
5344
<SocialIcon
54-
network={socialMediaName}
5545
url={url}
5646
label={altText}
5747
className="h-5 w-5"

client/src/gamedev-metadata.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"url": "https://www.facebook.com/people/Game-Development-UWA/61576948012356/",
55
"alt_text": "Facebook"
66
},
7-
"discord": { "url": "discord.com" },
8-
"github": { "url": "github.com", "alt_text": "GitHub" },
7+
"discord": {
8+
"url": "https://discord.com/invite/JvnuVyMUff",
9+
"alt_text": "Discord"
10+
},
911
"instagram": {
1012
"url": "https://www.instagram.com/gamedevelopmentuwa",
1113
"alt_text": "Instagram"
1214
}
13-
},
14-
"art_showcase_description": "Here are some of our favourite artworks from this years gamejams!",
15-
"game_showcase_description": "Here are some winning games of our recent game jams"
15+
}
1616
}

0 commit comments

Comments
 (0)