Skip to content

Commit

Permalink
add FontAwesome; use logo icons instead of words for socials
Browse files Browse the repository at this point in the history
  • Loading branch information
Darin committed Nov 16, 2024
1 parent f3ca7a5 commit 3781331
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
Binary file modified bun.lockb
Binary file not shown.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
"lint:format": "prettier --write src"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.6.0",
"@fortawesome/free-brands-svg-icons": "^6.6.0",
"@fortawesome/free-solid-svg-icons": "^6.6.0",
"@fortawesome/react-fontawesome": "^0.2.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sass": "^1.80.6"
Expand Down
11 changes: 8 additions & 3 deletions src/components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import React from "react";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faInstagram, faLinkedin } from "@fortawesome/free-brands-svg-icons";
import { faEnvelope } from "@fortawesome/free-solid-svg-icons";
import reactLogo from "../../assets/react.svg";
import "./Footer.scss";

Expand All @@ -15,15 +18,17 @@ export const Footer: React.FC<IFooter> = () => {
<div>
<div className="footer__flexbox">
<a href="https://www.instagram.com/wildhacks/" rel="noreferrer">
Instagram
<FontAwesomeIcon icon={faInstagram} />
</a>
<a
href="https://www.linkedin.com/company/wildhacks/"
rel="noreferrer"
>
LinkedIn
<FontAwesomeIcon icon={faLinkedin} />
</a>
<a href="mailto:[email protected]">
<FontAwesomeIcon icon={faEnvelope} />
</a>
<a href="mailto:[email protected]">Email</a>
</div>
</div>
</div>
Expand Down

0 comments on commit 3781331

Please sign in to comment.