Skip to content

Commit

Permalink
feat(Veganuary): Add veganuary logo
Browse files Browse the repository at this point in the history
  • Loading branch information
philipbrembeck committed Dec 31, 2023
1 parent c75268b commit 0c43ff2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/components/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { useTranslations } from "next-intl";

export default function Footer() {
const t = useTranslations("Footer");
const d = new Date().getMonth();
return (
<>
<footer>
Expand Down Expand Up @@ -39,6 +40,16 @@ export default function Footer() {
}),
}}
/>
{d === 0 ? (
<a href="https://vegc.net/veganuary">
<Image
src="../img/veganuary.svg"
alt="Go to Veganuary"
className="labels"
width={48}
height={48}
/>
</a>) : (
<a href="https://vegancheck.me">
<Image
src="../img/VeganCheck_text.svg"
Expand All @@ -48,6 +59,7 @@ export default function Footer() {
height={48}
/>
</a>
)}
<a href="https://github.com/frontendnetwork/vegancheck.me">
<Image
src="../img/opensource.svg"
Expand Down

0 comments on commit 0c43ff2

Please sign in to comment.