From 29c596510fd8095f17d3894178608c28e2c2038d Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Thu, 24 Oct 2019 18:34:46 +0300 Subject: [PATCH] Refactor sponsors in footer --- components/Footer.jsx | 50 ++++++++++------------ static/images/{ => sponsors}/futurice.svg | 0 static/images/{ => sponsors}/metosin.svg | 0 static/images/{ => sponsors}/nordea.png | Bin static/images/{ => sponsors}/solita.svg | 0 static/images/{ => sponsors}/wakeone.svg | 0 6 files changed, 23 insertions(+), 27 deletions(-) rename static/images/{ => sponsors}/futurice.svg (100%) rename static/images/{ => sponsors}/metosin.svg (100%) rename static/images/{ => sponsors}/nordea.png (100%) rename static/images/{ => sponsors}/solita.svg (100%) rename static/images/{ => sponsors}/wakeone.svg (100%) diff --git a/components/Footer.jsx b/components/Footer.jsx index d8b9b5a..75e8f71 100644 --- a/components/Footer.jsx +++ b/components/Footer.jsx @@ -1,38 +1,34 @@ import React from "react"; import EmailComponent from "./EmailComponent"; +const SponsorLink = ({ href, id, name }) => ( + + {name} + +); + export function Footer() { return (