temporarily use the DNS pig with hat

This commit is contained in:
2025-10-06 21:08:48 +02:00
parent 09e69a7093
commit 2a00d21717
2 changed files with 180 additions and 53 deletions

File diff suppressed because one or more lines are too long

View File

@@ -49,6 +49,13 @@ export const Header = () => {
// let's add a santa hat during December
const isChristmas = new Date().getMonth() === 11;
// let's add the student hat during grisefestuka
const pigWearsHat =
new Date().getFullYear() === 2025 &&
new Date().getMonth() === 9 &&
new Date().getDate() >= 6 &&
new Date().getDate() <= 12;
return (
<>
<header
@@ -57,7 +64,7 @@ export const Header = () => {
data-small={!isInView}
>
<Link href="/" aria-label="Hjem">
<Logo christmas={isChristmas} />
<Logo christmas={isChristmas} studentHat={pigWearsHat} />
</Link>
<nav className={styles.siteMenu}>
<ul className={styles.mainMenu}>
@@ -146,10 +153,7 @@ export const Header = () => {
</Link>
</li>
<li>
<Link
href="/sponsorer"
data-active={pathname === "/sponsorer"}
>
<Link href="/sponsorer" data-active={pathname === "/sponsorer"}>
Sponsorer
</Link>
</li>