Skip to content

Commit

Permalink
Merge pull request udlbook#206 from tomheaton/github-icon
Browse files Browse the repository at this point in the history
website: Add GitHub social link
  • Loading branch information
udlbook authored Jul 2, 2024
2 parents 5730c05 + ccb80c1 commit 6e18234
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/components/Footer/FooterElements.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ export const SocialIcons = styled.div`
export const SocialIconLink = styled.a`
color: #fff;
font-size: 24px;
margin-right: 8px;
`;

export const FooterImgWrap = styled.div`
Expand Down
7 changes: 6 additions & 1 deletion src/components/Footer/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
SocialMediaWrap,
WebsiteRights,
} from "@/components/Footer/FooterElements";
import { FaLinkedin } from "react-icons/fa";
import { FaGithub, FaLinkedin } from "react-icons/fa";
import { FaSquareXTwitter } from "react-icons/fa6";
import { animateScroll as scroll } from "react-scroll";

Expand All @@ -30,6 +30,11 @@ const socials = [
icon: FaLinkedin,
alt: "LinkedIn",
},
{
href: "https://github.com/udlbook/udlbook",
icon: FaGithub,
alt: "GitHub",
},
];

export default function Footer() {
Expand Down
2 changes: 1 addition & 1 deletion src/index.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import App from "@/App.jsx";
import App from "@/App";
import "@/styles/globals.css";
import React from "react";
import ReactDOM from "react-dom/client";
Expand Down

0 comments on commit 6e18234

Please sign in to comment.