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
|
// let's add a santa hat during December
|
||||||
const isChristmas = new Date().getMonth() === 11;
|
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 (
|
return (
|
||||||
<>
|
<>
|
||||||
<header
|
<header
|
||||||
@@ -57,7 +64,7 @@ export const Header = () => {
|
|||||||
data-small={!isInView}
|
data-small={!isInView}
|
||||||
>
|
>
|
||||||
<Link href="/" aria-label="Hjem">
|
<Link href="/" aria-label="Hjem">
|
||||||
<Logo christmas={isChristmas} />
|
<Logo christmas={isChristmas} studentHat={pigWearsHat} />
|
||||||
</Link>
|
</Link>
|
||||||
<nav className={styles.siteMenu}>
|
<nav className={styles.siteMenu}>
|
||||||
<ul className={styles.mainMenu}>
|
<ul className={styles.mainMenu}>
|
||||||
@@ -146,10 +153,7 @@ export const Header = () => {
|
|||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<Link
|
<Link href="/sponsorer" data-active={pathname === "/sponsorer"}>
|
||||||
href="/sponsorer"
|
|
||||||
data-active={pathname === "/sponsorer"}
|
|
||||||
>
|
|
||||||
Sponsorer
|
Sponsorer
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
|
Reference in New Issue
Block a user