From b03519ec5f142748ca697edd3898bf27cf6bb1f4 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Fri, 11 Feb 2022 15:22:26 +0200 Subject: [PATCH] Remove font-awesome --- components/Footer.tsx | 60 +++++++++++++----------- package.json | 1 - public/static/images/social/facebook.svg | 1 + public/static/images/social/github.svg | 1 + public/static/images/social/linkedin.svg | 1 + public/static/images/social/slack.svg | 1 + public/static/images/social/twitter.svg | 1 + styles/_icons.scss | 32 ------------- styles/style.scss | 6 ++- yarn.lock | 5 -- 10 files changed, 43 insertions(+), 66 deletions(-) create mode 100644 public/static/images/social/facebook.svg create mode 100644 public/static/images/social/github.svg create mode 100644 public/static/images/social/linkedin.svg create mode 100644 public/static/images/social/slack.svg create mode 100644 public/static/images/social/twitter.svg delete mode 100644 styles/_icons.scss diff --git a/components/Footer.tsx b/components/Footer.tsx index bb4b194..d278a8d 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -5,7 +5,7 @@ import sponsors from "../data/sponsors"; type Props = { href: string; name: string; - key: string; + title?: string; }; const SponsorLink = ({ href, name }: Props) => ( @@ -19,6 +19,17 @@ const SponsorLink = ({ href, name }: Props) => ( ); +const SocialLink = ({ href, name, title }: Props) => ( + + {title} + +); + export function Footer() { return (