Fix sponsor logos sizing/placement (#57)

This commit is contained in:
Petri Partio
2019-11-02 15:08:18 +02:00
committed by Riku Rouvila
parent 461a79ac4d
commit 06614f7a6f
9 changed files with 14 additions and 23 deletions

View File

@@ -4,9 +4,7 @@ import sponsors from "../data/sponsors";
const SponsorLink = ({ href, name }) => (
<a href={href} target="_blank" rel="noopener noreferrer">
<img
src={`/static/images/sponsors/${name}.${
name === "Nordea" ? "png" : "svg"
}`}
src={`/static/images/sponsors/${name.toLowerCase()}.svg`}
alt={name}
className={`sponsor sponsor__${name.toLowerCase()}`}
/>