Skip to content

Commit

Permalink
113/landing b (#116)
Browse files Browse the repository at this point in the history
* add content landing-b

* Add new landing

* Modify title display

* change folder name, update css

* modify folder name
  • Loading branch information
ail3ngrimaldi authored May 3, 2024
1 parent b754f99 commit df4a597
Show file tree
Hide file tree
Showing 3 changed files with 225 additions and 3 deletions.
49 changes: 48 additions & 1 deletion _data/landings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,51 @@ landing_a:
title: Inicia Tu Transformación <span class="dark-green-text">con Virto</span>
paragraph: "Agenda una cita con el equipo Virto y comienza con una consultoría personalizada.<br><strong>Disfruta de los beneficios: Tres meses gratis y tarifas especiales.</strong>"
href: https://apply.virto.network
call_to_action: ¡Registrate e inicia tu consulta gratuita!
call_to_action: Regístrate e Inicia tu Consulta Gratuita

#Landing-b
landing_b:
- id: section-a
title: Optimiza <span class="dark-lavender-text"> Tu Gestión Organizacional </span>con DAOs
question: ¿Quieres mejorar la gestión en tu comunidad con tecnología Web 3.0?
paragraph: Virto te ofrece herramientas avanzadas para DAOs que transforman la eficiencia y la transparencia.
href: https://apply.virto.network
call_to_action: Agéndate y Obtén tu Consulta Gratuita
- id: section-b
title: Innova con <br><span class="light-lavender-text">DAOs y Pagos P2P</span>
subtitle: 'Explora las capacidades que Virto tiene para tu organización:'
list:
- content: DAOs para una gobernanza transparente.
icon: ../img/lavender_cube.svg
alt: cubo
- content:  Pagos P2P rápidos y seguros.
icon: ../img/lavender_cube.svg
alt: cubo
- content: Desarrollo a medida de dApps.
icon: ../img/lavender_cube.svg
alt: cubo
- content: Chat privados para una comunicación segura.
icon: ../img/lavender_cube.svg
alt: cubo
href: https://apply.virto.network
call_to_action: Agéndate y Obtén tu Consulta Gratuita
- id: section-c
title: Simplifica la Gobernanza con <br><span class="light-lavender-text">Herramientas Intuitivas</span>
subtitle: 'Superamos la complejidad de los productos tradicionales con soluciones fáciles de usar que potencian la colaboración:'
href: https://apply.virto.network
call_to_action: Agéndate y Obtén tu Consulta Gratuita
list:
- content: Procesos de votación claros y seguros para una gobernanza efectiva.
icon: ../img/lavender_cube.svg
alt: cubo
- content:  Trazabilidad completa en cada transacción, garantizando transparencia total.
icon: ../img/lavender_cube.svg
alt: cubo
- content: Facilitamos la colaboración y aceleramos las decisiones con interfaces amigables y adaptativas.
icon: ../img/lavender_cube.svg
alt: cubo
- id: section-d
title: Da el Salto a la Optimización <span class="dark-green-text">con Virto</span>
paragraph: Regístrate ahora y agenda una consultoría personalizada de Virto.<br><strong>¡No pierdas la oportunidad de disfrutar de tres meses gratuitos!</strong>
href: https://apply.virto.network
call_to_action: Agéndate y Obtén tu Consulta Gratuita
7 changes: 5 additions & 2 deletions ab/index.liquid → a/index.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ ul li, .auto-grid li { display: flex; align-items: center; }
#section-b h2 { max-width: 700px; margin-left: 20px; }
#section-b .logo { margin-top: 2em; margin-left: 20px; }
#section-b .text-section { gap: 5em; }
#section-c, #section-b { align-items: center; flex-wrap: wrap; }
#section-c { padding: 0 1rem; }
Expand All @@ -43,11 +44,13 @@ ul li, .auto-grid li { display: flex; align-items: center; }
/*MOBILE*/
@media only screen and (max-width: 767px) {
article div, { width: 90%; }
article div { width: 90%; }
.text-section { max-width: 85%; }
.column { order: -1; width: 90%; }
}
@media only screen and (max-width: 1295px) {
.column { order: -1; width: fit-content(300px); }
}
</style>

Expand Down
172 changes: 172 additions & 0 deletions b/index.liquid
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
---
permalink: /inicio/
title: Virto Network
layout: landing.liquid
data:
route: inicio
---

<style>
img:not(#build_machine) {
width: 20px !important;
display: inline-block;
vertical-align: middle;
}
.logo.img-c svg { width: 700px; }
ul li, .auto-grid li { display: flex; align-items: center; gap: 1.75em; }
#section-c ul li { margin-bottom: 1em; }
#section-a .text-section { max-width: clamp(300px, 50%, 700px); }
#section-a figure.logo { align-items: start; }
#section-a .arrow-right {
position: absolute;
right: clamp(37%, 2vw, 45%);
top: -20px;
}
#section-b h2 { max-width: 700px; margin-left: 20px; }
#section-b .logo { margin-top: 2em; margin-left: 20px; }
#section-b .text-section { gap: 5em; }
#section-c, #section-b { align-items: center; flex-wrap: wrap; }
#section-c { padding: 0 1rem; }
#section-c .logo { margin-top: 2em; }
#section-d { display: grid; }
#section-d article div { max-width: 41rem; }
#section-d article div:nth-child(2) { margin-bottom: 1em; }
#section-d .max .text-section {
gap: 2rem;
align-self: flex-end;
}
#section-d .max { flex-wrap: wrap; }
/*MOBILE*/
@media only screen and (max-width: 767px) {
article div { width: 90%; }
.text-section { max-width: 85%; }
}
@media only screen and (max-width: 1490px) {
.column { order: -1; width: fit-content(300px); }
}
</style>

{% for landing_b in site.data.landings.landing_b %}
<section {% if landing_b.id == "section-a" %} id="section-a" class="light-green-bg">
<article class="max animated">
<div class="text-section dark-olive-text">
<p>¡Bienvenido a Virto!</p>
<h1>{{ landing_b.title }}</h1>
<p>{{ landing_b.question }}</p>
<p>{{ landing_b.paragraph }}</p>
<button><a href={{ landing_b.href }}>{{ landing_b.call_to_action }}</a></button>
</div>
<figure class="arrow-right">
{% include "arrow_right.svg" %}
</figure>
<figure class="logo image">
{% include "a.svg" %}
</figure>
</article>
</section>
{% endif %}

<section {% if landing_b.id == "section-b" %} id="section-b">
<article class="max animated">
<div class="column">
<h2 class="light-green-text">{{ landing_b.title }}</h2>
<figure class="logo">
{% include "presentamos_virto.svg" %}
</figure>
</div>
<div class="text-section light-green-text">
<h3>{{ landing_b.subtitle }}</h3>
<ul class="auto-grid">
{% for item in landing_b.list %}
<li class="animated">
<img src="{{ item.icon }}" alt="{{ item.alt }}" ></img>
<p>{{ item.content }}</p>
</li>
{% endfor %}
</ul>
<a href={{ landing_b.href }} class="bold light-lavender-text center-arrow">{{ landing_b.call_to_action }}
<figure class="link-arrow light-lavender-text">
{% include "see_more.svg" %}
</figure>
</a>
</div>
</article>
</section>
{% endif %}

<section {% if landing_b.id == "section-c" %} id="section-c">
<article class="max animated">
<div class="text-section light-green-text">
<h3 class="light-lavender-text">{{ landing_b.subtitle }}</h3>
<ul>
{% for item in landing_b.list %}
<li class="animated">
<img src="{{ item.icon }}" alt="{{ item.alt }}"></img>
<p>{{ item.content }}</p>
</li>
{% endfor %}
</ul>
<a href={{ landing_b.href }} class="bold light-lavender-text center-arrow">{{ landing_b.call_to_action }}
<figure class="link-arrow light-lavender-text">
{% include "see_more.svg" %}
</figure>
</a>
</div>

<div class="column">
<h2 class="light-green-text">{{ landing_b.title }}</h2>
<figure class="logo img-c">
{% include "c.svg" %}
</figure>
</div>
</article>
</section>
{% endif %}

<section {% if landing_b.id == "section-d" %} id="section-d" class="whitest-bg">
<article class="max animated">
<div class="text-section">
<h2 class="dark-olive-text">{{ landing_b.title }}</h2>
<figure class="logo build-machine">
<img id="build_machine" src="/img/build_machine.svg" alt="Construir comunidad"/>
</figure>
</div>
<div class="text-section">
<h3 class="dark-olive-text">Transforma tu organización con facilidad.</h3>
<p class="dark-olive-text">{{ landing_b.paragraph }}</p>
<a class="dark-olive-text center-arrow" href={{ landing_b.href }}>{{ landing_b.call_to_action }}
<figure class="link-arrow">{% include "see_more.svg" %}</figure>
</a>
</div>
</article>
</section>
{% endif %}

{% endfor %}


<script>
const $ = document.querySelector.bind(document),
$$ = document.querySelectorAll.bind(document);
const addViewedClass = ([e], ob) => {
e.target.classList.add('viewed');
ob.unobserve(e.target);
};
const whenVisible = (elements, fn, opts) => {
const ob = new IntersectionObserver(fn, opts);
$$(elements).forEach(e => ob.observe(e));
};
const makeSticky = ([br]) =>
br.target.nextElementSibling.classList.toggle('fixed', br.intersectionRatio === 1);
whenVisible('main>section', addViewedClass, { threshold: 0.2 });
whenVisible('.sticky-hack', makeSticky, { threshold: [0, 1] });
</script>

0 comments on commit df4a597

Please sign in to comment.