temporarily use the DNS pig with hat
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -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>
|
||||
|
Reference in New Issue
Block a user