Skip to content

Commit

Permalink
Fix DOM Loaded function on landings a and c, and spelling mistake (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
ail3ngrimaldi authored Sep 5, 2024
1 parent a3a469e commit b768cba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _data/landings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: |
landing_a:
- id: section-a
eyebrow: Olvidate del desorden financiero para siempre.
eyebrow: Olvídate del desorden financiero para siempre.
title: ¡Organiza las finanzas de tu negocio <span class="dark-lavender-text">de manera simple y eficiente!</span>
paragraph_one: Con nuestra herramienta, mantén las finanzas de tu negocio separadas de las personales. Obtén una <span class="dark-lavender-text bolder">contabilidad clara y organizada sin necesidad de sistemas costosos o complicados.</span> Todo 100% online y accesible desde tu computadora.
paragraph_two: <span class="dark-lavender-text bolder">Simplifica la gestión financiera de tu negocio con Virto</span> y enfócate en su crecimiento, controlando los ingresos en un solo lugar.
Expand Down
4 changes: 2 additions & 2 deletions landings/a/index.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ ul li, .auto-grid li { display: flex; align-items: center; gap: 2em; }
{% endfor %}

<script>
window.document.onload = () => {
document.addEventListener('DOMContentLoaded', function() {
window.amplitude.track('view:landing:a');
function handleCtaClick(event) {
Expand Down Expand Up @@ -192,5 +192,5 @@ window.document.onload = () => {
whenVisible('main>section', addViewedClass, { threshold: 0.2 });
whenVisible('.sticky-hack', makeSticky, { threshold: [0, 1] });
};
});
</script>
4 changes: 2 additions & 2 deletions landings/c/index.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ ul li, .auto-grid li { display: flex; align-items: center; gap: 1.75em; }
{% endfor %}

<script>
window.document.onload = () => {
document.addEventListener('DOMContentLoaded', function() {
window.amplitude.track('view:landing:c');
function handleCtaClick(event) {
Expand Down Expand Up @@ -185,5 +185,5 @@ window.document.onload = () => {
whenVisible('main>section', addViewedClass, { threshold: 0.2 });
whenVisible('.sticky-hack', makeSticky, { threshold: [0, 1] });
};
});
</script>

0 comments on commit b768cba

Please sign in to comment.