Skip to content

Commit 2e79f13

Browse files
authored
Footer Icons (#303)
* added icons to footer * added youtube and spotify icons * fixed alt text, copyright year
1 parent a07115d commit 2e79f13

File tree

6 files changed

+68
-1
lines changed

6 files changed

+68
-1
lines changed
Lines changed: 6 additions & 0 deletions
Loading
Lines changed: 6 additions & 0 deletions
Loading
Lines changed: 6 additions & 0 deletions
Loading
Lines changed: 6 additions & 0 deletions
Loading
Lines changed: 6 additions & 0 deletions
Loading

next/src/components/footer/Footer.tsx

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,27 @@ import Image from "next/image";
44
import styled from "styled-components";
55

66
import CSESocLogo from "../../../public/assets/logo_white.svg";
7+
import DiscordLogo from "../../../public/assets/socials/discord.svg";
8+
import FacebookLogo from "../../../public/assets/socials/facebook.svg";
9+
import InstagramLogo from "../../../public/assets/socials/instagram.svg";
10+
import YoutubeLogo from "../../../public/assets/socials/youtube.svg";
11+
import SpotifyLogo from "../../../public/assets/socials/spotify.svg";
12+
13+
import Link from "next/link";
714
import { device } from "../../styles/device";
815

16+
export const ImagesContainer = styled.div`
17+
width: 100%;
18+
right: 0;
19+
display: flex;
20+
justify-content: space-between;
21+
@media ${device.tablet} {
22+
width: 55%;
23+
float: right;
24+
}
25+
`
26+
27+
928
const FooterComponent = styled.footer`
1029
background-color: #A09FE3;
1130
padding: 2rem;
@@ -48,8 +67,26 @@ const Footer: React.FC<{}> = () => {
4867
B03 CSE Building K17, UNSW
4968
<br />
5069
70+
<br/><br/>
71+
<ImagesContainer>
72+
<Link href="https://discord.gg/AM4GB5zuB6">
73+
<Image src={DiscordLogo} alt="CSESoc Discord" />
74+
</Link>
75+
<Link href="https://www.facebook.com/csesoc/">
76+
<Image src={FacebookLogo} alt="CSESoc Facebook" />
77+
</Link>
78+
<Link href="https://www.instagram.com/csesoc_unsw/?hl=en">
79+
<Image src={InstagramLogo} alt="CSESoc Instagram" />
80+
</Link>
81+
<Link href="https://www.youtube.com/c/CSESocUNSW">
82+
<Image src={YoutubeLogo} alt="CSESoc Youtube" />
83+
</Link>
84+
<Link href="https://open.spotify.com/show/2h9OxTkeKNznIfNqMMYcxj">
85+
<Image src={SpotifyLogo} alt="Echo Podcast" />
86+
</Link>
87+
</ImagesContainer>
5188
<br /><br />
52-
© 2021 — CSESoc UNSW
89+
© 2022 — CSESoc UNSW
5390
</p>
5491
</Details>
5592
</FooterComponent>

0 commit comments

Comments
 (0)