Skip to content

Commit

Permalink
Navidad 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigoalcarazdelaosa committed Dec 15, 2024
1 parent c836a10 commit 6f50cea
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion config/_default/params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
appearance:
theme_day: nord
theme_night: nord
font: garamond
font: navidad
font_size: XL

# SEO
Expand Down
2 changes: 1 addition & 1 deletion content/ca/home/hero.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ widget: hero-home
headless: true
weight: 1
title: FisiQuímicament
hero_media: lottie/home.tgs
hero_media: lottie/home-navidad.tgs
cta:
label: '🧭 **Explora**'
url: "#explora"
Expand Down
2 changes: 1 addition & 1 deletion content/en/home/hero.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ widget: hero-home
headless: true
weight: 1
title: PhysiChemically
hero_media: lottie/home.tgs
hero_media: lottie/home-navidad.tgs
cta:
label: '🧭 **Explore**'
url: "#explore"
Expand Down
2 changes: 1 addition & 1 deletion content/es/home/hero.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ widget: hero-home
headless: true
weight: 1
title: FisiQuímicamente
hero_media: lottie/home.tgs
hero_media: lottie/home-navidad.tgs
cta:
label: '🧭 **Explora**'
url: "#explora"
Expand Down
8 changes: 4 additions & 4 deletions layouts/partials/components/headers/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
// console.log('isDarkTheme? ' + e.detail.isDarkTheme());
if (e.detail.isDarkTheme()) {
const player = document.querySelector("#tgs-nav");
player.load("/media/lottie/home.tgs");
player.load("/media/lottie/home-navidad.tgs");
} else {
const player = document.querySelector("#tgs-nav");
player.load("/media/lottie/home-dark.tgs");
player.load("/media/lottie/home-navidad-dark.tgs");
}
});
</script>
Expand Down Expand Up @@ -93,10 +93,10 @@
// console.log('isDarkTheme? ' + e.detail.isDarkTheme());
if (e.detail.isDarkTheme()) {
const player = document.getElementById("tgs-nav-mobile");
player.load("/media/lottie/home.tgs");
player.load("/media/lottie/home-navidad.tgs");
} else {
const player = document.getElementById("tgs-nav-mobile");
player.load("/media/lottie/home-dark.tgs");
player.load("/media/lottie/home-navidad-dark.tgs");
}
});
</script>
Expand Down
6 changes: 6 additions & 0 deletions layouts/partials/hooks/body-end/snowflakes.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<script src="https://unpkg.com/magic-snowflakes/dist/snowflakes.min.js"></script>
<script>
var sf = new Snowflakes({
color: "#88c0d0",
});
</script>

0 comments on commit 6f50cea

Please sign in to comment.