Skip to content

Commit

Permalink
Actualizar los medios de héroe a la temática de Año Nuevo en las vers…
Browse files Browse the repository at this point in the history
…iones en catalán, inglés y español
  • Loading branch information
rodrigoalcarazdelaosa committed Jan 1, 2025
1 parent 15f2f36 commit 909bbad
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Binary file added assets/media/lottie/home-ano-nuevo.tgs
Binary file not shown.
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-navidad.tgs
hero_media: lottie/home-ano-nuevo.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-navidad.tgs
hero_media: lottie/home-ano-nuevo.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-navidad.tgs
hero_media: lottie/home-ano-nuevo.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-navidad.tgs");
player.load("/media/lottie/home-ano-nuevo.tgs");
} else {
const player = document.querySelector("#tgs-nav");
player.load("/media/lottie/home-navidad-dark.tgs");
player.load("/media/lottie/home-ano-nuevo-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-navidad.tgs");
player.load("/media/lottie/home-ano-nuevo.tgs");
} else {
const player = document.getElementById("tgs-nav-mobile");
player.load("/media/lottie/home-navidad-dark.tgs");
player.load("/media/lottie/home-ano-nuevo-dark.tgs");
}
});
</script>
Expand Down
Binary file added static/media/lottie/home-ano-nuevo-dark.tgs
Binary file not shown.

0 comments on commit 909bbad

Please sign in to comment.