Skip to content

Commit 0e2a22c

Browse files
refactor:updated wics website
1 parent 04520c4 commit 0e2a22c

File tree

6 files changed

+31
-7
lines changed

6 files changed

+31
-7
lines changed

src/components/PeopleList.tsx

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import LinkedInIcon from "@mui/icons-material/LinkedIn";
55
import GitHubIcon from "@mui/icons-material/GitHub";
66
import LanguageIcon from "@mui/icons-material/Language";
77
import InstagramIcon from "@mui/icons-material/Instagram";
8+
import discordLogo from "@/resources/images/discord-mark-white.svg";
89

910
import Box from "@mui/material/Box";
1011
import CardContent from "@mui/material/CardContent";
@@ -45,7 +46,8 @@ function PersonCard({ personData }: { personData: ITeamMember }) {
4546
{(personData.linkedin ||
4647
personData.github ||
4748
personData.website ||
48-
personData.instagram) && (
49+
personData.instagram ||
50+
personData.discord) && (
4951
<div className="social-icons">
5052
{personData.linkedin && (
5153
<a
@@ -87,6 +89,17 @@ function PersonCard({ personData }: { personData: ITeamMember }) {
8789
<InstagramIcon />
8890
</a>
8991
)}
92+
{personData.discord && (
93+
<a
94+
href={personData.discord}
95+
target="_blank"
96+
rel="noopener noreferrer"
97+
aria-label="Discord"
98+
className="discord-link"
99+
>
100+
<img src={discordLogo} alt="Discord" />
101+
</a>
102+
)}
90103
</div>
91104
)}
92105
</CardContent>

src/resources/data/teamConfig.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { ITeam } from "./types";
22

3+
//Please limit social medias to 3 per exec
34
const teamConfig: ITeam = {
45
"2025": [
56
{
@@ -18,6 +19,7 @@ const teamConfig: ITeam = {
1819
image: "/assets/team/2025/vice-president-fawaz.png",
1920
linkedin: "https://www.linkedin.com/in/fawaz-bin-saleem-425b921a1/",
2021
github: "https://github.com/FawazBinSaleem",
22+
website: "https://fawazbinsaleem.com",
2123
},
2224
{
2325
firstName: "Mohamed",

src/resources/data/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export interface ITeamMember {
3434
github?: string;
3535
website?: string;
3636
instagram?: string;
37+
discord?: string;
3738
}
3839

3940
export interface ITeam {

src/routes/Home.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -206,11 +206,7 @@ function Home() {
206206
CSSA
207207
</a>
208208
&nbsp;and&nbsp;
209-
<a
210-
href="https://umwics.vercel.app/"
211-
target="_blank"
212-
rel="noreferrer"
213-
>
209+
<a href="http://umwics.ca/" target="_blank" rel="noreferrer">
214210
WICS
215211
</a>
216212
&nbsp;

src/routes/LinkTree.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function LinkTree() {
1010
name: ".devClub",
1111
logo: devclubLogo,
1212
link: "https://linktr.ee/umdev",
13-
desc: "An academic and networking club for computer science students at the University of Manitoba.",
13+
desc: ".devClub is the University of Manitoba's developer club where students from all faculties can learn, code, and connect.",
1414
className: "dev-club",
1515
},
1616
{

src/styles/PeopleList.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,18 @@
2020
}
2121
}
2222

23+
.discord-link img {
24+
width: 2rem;
25+
height: 2rem;
26+
filter: invert(1);
27+
transition: filter 0.3s ease;
28+
}
29+
30+
.discord-link:hover img {
31+
filter: invert(32%) sepia(92%) saturate(4171%) hue-rotate(190deg)
32+
brightness(95%) contrast(92%);
33+
}
34+
2335
/* People */
2436

2537
.peoples-grid {

0 commit comments

Comments
 (0)