Redesign landing page around the 2π work cycle
- Replace fabricated proof (testimonials, AI portraits, case images, unsourced metrics) with the real offer: a small senior team present for the whole turn, a written proposal, and iterative delivery. - New cycle diagram built from the logo's arcs: four stages with an inner iteration loop that turns while the iterations stage is read. - Accessible contact form (email type, autocomplete, announced errors, sending state, honeypot, captcha on) and no PII sent to PostHog. - English version at /en/ and /en/thanks/, all copy in _data/i18n.js. - Contrast fixes, mobile menu, self-hosted Schibsted Grotesk. - Add PRODUCT.md and DESIGN.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
365
src/_data/i18n.js
Normal file
@@ -0,0 +1,365 @@
|
||||
// Copy for the landing page and thank-you page, in Spanish (neutral, tú) and English.
|
||||
// Both languages render the same templates (src/_includes/*.njk).
|
||||
module.exports = {
|
||||
es: {
|
||||
htmlLang: "es",
|
||||
home: "/",
|
||||
thanksUrl: "https://www.2pidev.com/gracias",
|
||||
alt: { lang: "en", label: "EN", name: "English", href: "/en/" },
|
||||
meta: {
|
||||
title: "2piDev | Software a medida, de punta a punta",
|
||||
description:
|
||||
"Equipo pequeño de ingenieros senior. Relevamos cómo trabaja tu empresa, te proponemos por escrito qué construir y lo desarrollamos en iteraciones cortas, hasta el soporte en producción.",
|
||||
},
|
||||
nav: {
|
||||
home: "2piDev, inicio",
|
||||
process: "Cómo trabajamos",
|
||||
services: "Qué construimos",
|
||||
team: "Equipo",
|
||||
faq: "Preguntas",
|
||||
cta: "Hablemos",
|
||||
menu: "Abrir menú",
|
||||
main: "Navegación principal",
|
||||
skip: "Saltar al contenido",
|
||||
},
|
||||
hero: {
|
||||
title: "Software a\u00a0medida, de\u00a0punta\u00a0a\u00a0punta.",
|
||||
lede:
|
||||
"Somos un equipo pequeño de ingenieros senior. Relevamos cómo funciona tu empresa, te proponemos por escrito qué construir y lo desarrollamos en iteraciones cortas que puedes ver y probar. Después, lo mantenemos.",
|
||||
primary: "Cuéntanos tu proyecto",
|
||||
secondary: "Cómo trabajamos",
|
||||
promises: ["Respuesta en 1 día hábil", "Propuesta escrita antes de empezar"],
|
||||
},
|
||||
cycle: {
|
||||
labels: ["Relevamiento", "Propuesta", "Iteraciones", "Soporte"],
|
||||
center: "una vuelta completa",
|
||||
iteration: "Iteración",
|
||||
title: "El ciclo de trabajo de 2piDev",
|
||||
desc:
|
||||
"Un círculo con cuatro etapas: relevamiento, propuesta escrita, iteraciones y soporte. En la etapa de iteraciones hay un ciclo más chico que se repite: refinar, desarrollar y entregar.",
|
||||
},
|
||||
problem: {
|
||||
title: "Cuando el sistema no acompaña, la empresa crece más lento.",
|
||||
items: [
|
||||
{
|
||||
title: "Procesos manuales",
|
||||
text: "Personas copiando datos entre planillas, correos y sistemas, todos los días. Lento, caro y fácil de equivocar.",
|
||||
},
|
||||
{
|
||||
title: "Información dispersa",
|
||||
text: "Cada área tiene su propia versión de los números y nadie ve el cuadro completo a tiempo para decidir.",
|
||||
},
|
||||
{
|
||||
title: "Sistemas que no escalan",
|
||||
text: "Herramientas que funcionaban con diez clientes y hoy frenan la operación, no se integran con nada o nadie se anima a tocar.",
|
||||
},
|
||||
],
|
||||
},
|
||||
process: {
|
||||
title: "Presentes en toda la vuelta.",
|
||||
lede:
|
||||
"El nombre lo dice: 2π es una vuelta completa. Estamos desde el primer relevamiento hasta el soporte en producción, con el mismo equipo. Y en el medio, el desarrollo da muchas vueltas cortas.",
|
||||
receive: "Recibes",
|
||||
repeat: "Y se repite, iteración tras iteración.",
|
||||
stages: [
|
||||
{
|
||||
deg: "0°",
|
||||
title: "Relevamiento completo",
|
||||
text: "Hablamos con quienes hacen el trabajo todos los días y relevamos el proceso completo antes de escribir una línea de código.",
|
||||
gets: "Un mapa claro de cómo funciona hoy y qué hay que resolver.",
|
||||
},
|
||||
{
|
||||
deg: "90°",
|
||||
title: "Propuesta escrita",
|
||||
text: "Con el relevamiento terminado, te entregamos por escrito el alcance, las etapas, los plazos y el presupuesto. Es el punto de partida: lo afinamos juntos en cada iteración.",
|
||||
gets: "Una base clara para decidir, antes de que te comprometas.",
|
||||
},
|
||||
{
|
||||
deg: "180°",
|
||||
title: "Desarrollo en iteraciones",
|
||||
text: "Trabajamos en iteraciones cortas, cada una con una cantidad acotada de historias de usuario. Según el proyecto, cada entrega pasa a producción o se prueba antes en un entorno aparte.",
|
||||
steps: [
|
||||
{ title: "Refinar", text: "Elegimos y detallamos las historias de la próxima iteración." },
|
||||
{ title: "Desarrollar", text: "Las construimos y las probamos." },
|
||||
{ title: "Entregar", text: "Las ves funcionando y nos das tu opinión." },
|
||||
],
|
||||
gets: "Software funcionando en cada vuelta, y la posibilidad de ajustar el rumbo con lo que aprendemos.",
|
||||
},
|
||||
{
|
||||
deg: "270°",
|
||||
title: "Soporte",
|
||||
text: "Seguimos ahí después del lanzamiento: mantenimiento, mejoras y nuevas funciones a medida que la empresa crece.",
|
||||
gets: "Un equipo que ya conoce tu sistema por dentro.",
|
||||
},
|
||||
],
|
||||
close: "Y cuando aparece la siguiente necesidad, la vuelta empieza de nuevo.",
|
||||
},
|
||||
team: {
|
||||
title: "Trabajas directamente con quienes construyen.",
|
||||
lede:
|
||||
"Somos un equipo pequeño a propósito. Sin juniors aprendiendo con tu proyecto y sin intermediarios comerciales: hablas con los ingenieros que diseñan, desarrollan y mantienen tu sistema.",
|
||||
points: [
|
||||
{ title: "Experiencia senior", text: "Cada persona del equipo lleva años construyendo y operando software en producción." },
|
||||
{ title: "Sin capas intermedias", text: "Las decisiones se toman en la misma conversación, no en una cadena de correos." },
|
||||
{ title: "Un solo equipo", text: "Quien relevó tu proceso es quien lo construye y quien lo mantiene después." },
|
||||
],
|
||||
},
|
||||
services: {
|
||||
title: "Qué construimos",
|
||||
lede: "Software hecho para la forma en que trabaja tu empresa, no al revés.",
|
||||
items: [
|
||||
{ title: "Sistemas de gestión a medida", text: "Turnos, stock, pedidos, operaciones: el sistema que hoy vive repartido en planillas." },
|
||||
{ title: "Automatización de procesos", text: "Tareas repetitivas que hoy dependen de alguien copiando y pegando datos." },
|
||||
{ title: "Integraciones", text: "Conectamos tus herramientas para que la información viaje sola entre ellas." },
|
||||
{ title: "Aplicaciones web y móviles", text: "Para tu equipo, tus clientes o tus proveedores, en navegador, iOS y Android." },
|
||||
{ title: "Infraestructura en la nube", text: "Arquitectura, migración y operación en AWS, pensadas para crecer." },
|
||||
],
|
||||
stackTitle: "Tecnologías probadas, con soporte a largo plazo",
|
||||
},
|
||||
faq: {
|
||||
title: "Antes de escribirnos",
|
||||
items: [
|
||||
{ q: "¿Cuánto tardan en responder?", a: "Respondemos cada consulta en un día hábil." },
|
||||
{
|
||||
q: "¿Qué pasa después del primer contacto?",
|
||||
a: "Coordinamos una conversación, hacemos el relevamiento y te entregamos una propuesta escrita con alcance, etapas, plazos y presupuesto. Recién ahí decides si avanzamos. Después desarrollamos en iteraciones cortas, con entregas que puedes probar.",
|
||||
},
|
||||
{
|
||||
q: "¿Con quién voy a hablar?",
|
||||
a: "Con los ingenieros del equipo. No hay vendedores ni gerentes de cuenta entre tú y quienes construyen.",
|
||||
},
|
||||
{
|
||||
q: "¿Pueden trabajar sobre un sistema que ya tenemos?",
|
||||
a: "Sí. El relevamiento incluye entender lo que ya existe; a veces conviene integrarlo, a veces reemplazarlo por partes. Te lo decimos por escrito en la propuesta.",
|
||||
},
|
||||
],
|
||||
},
|
||||
contact: {
|
||||
title: "Cuéntanos qué necesitas resolver.",
|
||||
lede: "Con unas líneas alcanza. Te respondemos y coordinamos una primera conversación.",
|
||||
promises: [
|
||||
"Respuesta en 1 día hábil.",
|
||||
"Propuesta escrita antes de cualquier compromiso.",
|
||||
"Usamos tus datos solo para responderte.",
|
||||
],
|
||||
orEmail: "¿Prefieres el correo?",
|
||||
form: {
|
||||
name: "Nombre",
|
||||
company: "Empresa",
|
||||
companyHint: "Opcional",
|
||||
email: "Email",
|
||||
message: "¿Qué necesitas resolver?",
|
||||
namePh: "Ana García",
|
||||
companyPh: "Nombre de tu empresa",
|
||||
emailPh: "ana@empresa.com",
|
||||
messagePh: "Hoy llevamos los pedidos en planillas y…",
|
||||
submit: "Enviar mensaje",
|
||||
sending: "Enviando…",
|
||||
privacy:
|
||||
"El formulario se envía a través de FormSubmit solo para responderte. Usamos analítica (PostHog y OpenReplay) para mejorar el sitio; lo que escribes en el formulario no se registra en esas herramientas.",
|
||||
subject: "Nueva consulta desde 2pidev.com",
|
||||
errors: {
|
||||
name: "Escribe tu nombre para saber a quién responder.",
|
||||
email: "Revisa el email: debe tener el formato nombre@empresa.com.",
|
||||
message: "Cuéntanos en unas líneas qué necesitas resolver.",
|
||||
summary: "Revisa los campos marcados para poder enviar el mensaje.",
|
||||
},
|
||||
},
|
||||
},
|
||||
footer: {
|
||||
rights: "Software a medida, de punta a punta.",
|
||||
},
|
||||
thanks: {
|
||||
title: "Gracias | 2piDev",
|
||||
heading: "Recibimos tu mensaje.",
|
||||
lede: "Te respondemos en un día hábil desde hola@2pidev.com. Esto es lo que sigue:",
|
||||
steps: [
|
||||
"Te escribimos para coordinar una primera conversación.",
|
||||
"Hacemos el relevamiento de tu proceso.",
|
||||
"Te entregamos una propuesta escrita con alcance, etapas, plazos y presupuesto.",
|
||||
],
|
||||
back: "Volver al inicio",
|
||||
},
|
||||
},
|
||||
|
||||
en: {
|
||||
htmlLang: "en",
|
||||
home: "/en/",
|
||||
thanksUrl: "https://www.2pidev.com/en/thanks",
|
||||
alt: { lang: "es", label: "ES", name: "Español", href: "/" },
|
||||
meta: {
|
||||
title: "2piDev | Custom software, end to end",
|
||||
description:
|
||||
"A small team of senior engineers. We learn how your company works, propose in writing what to build, then develop it in short iterations, all the way to support in production.",
|
||||
},
|
||||
nav: {
|
||||
home: "2piDev, home",
|
||||
process: "How we work",
|
||||
services: "What we build",
|
||||
team: "Team",
|
||||
faq: "Questions",
|
||||
cta: "Let’s talk",
|
||||
menu: "Open menu",
|
||||
main: "Main navigation",
|
||||
skip: "Skip to content",
|
||||
},
|
||||
hero: {
|
||||
title: "Custom software, end\u00a0to\u00a0end.",
|
||||
lede:
|
||||
"We are a small team of senior engineers. We map how your company works, propose in writing what to build, and develop it in short iterations you can see and try. Then we keep it running.",
|
||||
primary: "Tell us about your project",
|
||||
secondary: "How we work",
|
||||
promises: ["Reply within 1 business day", "Written proposal before we start"],
|
||||
},
|
||||
cycle: {
|
||||
labels: ["Discovery", "Proposal", "Iterations", "Support"],
|
||||
center: "one full turn",
|
||||
iteration: "Iteration",
|
||||
title: "The 2piDev work cycle",
|
||||
desc:
|
||||
"A circle with four stages: discovery, written proposal, iterations and support. The iterations stage holds a smaller loop that repeats: refine, build and deliver.",
|
||||
},
|
||||
problem: {
|
||||
title: "When your systems can’t keep up, your company grows slower.",
|
||||
items: [
|
||||
{
|
||||
title: "Manual processes",
|
||||
text: "People copying data between spreadsheets, email and systems every day. Slow, expensive and easy to get wrong.",
|
||||
},
|
||||
{
|
||||
title: "Scattered information",
|
||||
text: "Every team has its own version of the numbers, and nobody sees the full picture in time to decide.",
|
||||
},
|
||||
{
|
||||
title: "Systems that don’t scale",
|
||||
text: "Tools that worked with ten customers now slow operations down, integrate with nothing, or nobody dares to touch.",
|
||||
},
|
||||
],
|
||||
},
|
||||
process: {
|
||||
title: "Present for the whole turn.",
|
||||
lede:
|
||||
"The name says it: 2π is one full turn. We are there from the first discovery session to support in production, with the same team. And in between, development runs many short turns.",
|
||||
receive: "You get",
|
||||
repeat: "And again, iteration after iteration.",
|
||||
stages: [
|
||||
{
|
||||
deg: "0°",
|
||||
title: "Full discovery",
|
||||
text: "We talk with the people who do the work every day and map the complete process before writing a line of code.",
|
||||
gets: "A clear map of how things work today and what needs solving.",
|
||||
},
|
||||
{
|
||||
deg: "90°",
|
||||
title: "Written proposal",
|
||||
text: "With discovery done, we put in writing the scope, stages, timeline and budget. It is the starting point: we refine it together in every iteration.",
|
||||
gets: "A clear basis to decide, before you commit.",
|
||||
},
|
||||
{
|
||||
deg: "180°",
|
||||
title: "Development in iterations",
|
||||
text: "We work in short iterations, each with a limited number of user stories. Depending on the project, each delivery goes to production or is first tested in a separate environment.",
|
||||
steps: [
|
||||
{ title: "Refine", text: "We pick and detail the stories for the next iteration." },
|
||||
{ title: "Build", text: "We build them and test them." },
|
||||
{ title: "Deliver", text: "You see them working and tell us what you think." },
|
||||
],
|
||||
gets: "Working software at every turn, and room to adjust course with what we learn.",
|
||||
},
|
||||
{
|
||||
deg: "270°",
|
||||
title: "Support",
|
||||
text: "We stay on after launch: maintenance, improvements and new features as the company grows.",
|
||||
gets: "A team that already knows your system inside out.",
|
||||
},
|
||||
],
|
||||
close: "And when the next need shows up, the turn starts again.",
|
||||
},
|
||||
team: {
|
||||
title: "You work directly with the people who build.",
|
||||
lede:
|
||||
"We are small on purpose. No juniors learning on your project and no sales layer: you talk with the engineers who design, build and maintain your system.",
|
||||
points: [
|
||||
{ title: "Senior experience", text: "Everyone on the team has spent years building and running software in production." },
|
||||
{ title: "No middle layers", text: "Decisions happen in the same conversation, not in a chain of emails." },
|
||||
{ title: "One team", text: "Whoever mapped your process builds it and maintains it afterwards." },
|
||||
],
|
||||
},
|
||||
services: {
|
||||
title: "What we build",
|
||||
lede: "Software made for the way your company works, not the other way around.",
|
||||
items: [
|
||||
{ title: "Custom management systems", text: "Scheduling, inventory, orders, operations: the system that lives in spreadsheets today." },
|
||||
{ title: "Process automation", text: "Repetitive tasks that depend on someone copying and pasting data." },
|
||||
{ title: "Integrations", text: "We connect your tools so information flows between them on its own." },
|
||||
{ title: "Web and mobile apps", text: "For your team, your customers or your suppliers, in the browser, iOS and Android." },
|
||||
{ title: "Cloud infrastructure", text: "Architecture, migration and operations on AWS, built to grow." },
|
||||
],
|
||||
stackTitle: "Proven technologies with long-term support",
|
||||
},
|
||||
faq: {
|
||||
title: "Before you write",
|
||||
items: [
|
||||
{ q: "How fast do you reply?", a: "We reply to every inquiry within one business day." },
|
||||
{
|
||||
q: "What happens after the first contact?",
|
||||
a: "We set up a conversation, run discovery and hand you a written proposal with scope, stages, timeline and budget. Only then do you decide whether to go ahead. Then we develop in short iterations, with deliveries you can try.",
|
||||
},
|
||||
{
|
||||
q: "Who will I talk to?",
|
||||
a: "The engineers on the team. There are no salespeople or account managers between you and the people who build.",
|
||||
},
|
||||
{
|
||||
q: "Can you work on a system we already have?",
|
||||
a: "Yes. Discovery includes understanding what already exists; sometimes it makes sense to integrate it, sometimes to replace it piece by piece. We tell you in writing in the proposal.",
|
||||
},
|
||||
],
|
||||
},
|
||||
contact: {
|
||||
title: "Tell us what you need to solve.",
|
||||
lede: "A few lines is enough. We will reply and set up a first conversation.",
|
||||
promises: [
|
||||
"Reply within 1 business day.",
|
||||
"Written proposal before any commitment.",
|
||||
"We only use your details to reply to you.",
|
||||
],
|
||||
orEmail: "Prefer email?",
|
||||
form: {
|
||||
name: "Name",
|
||||
company: "Company",
|
||||
companyHint: "Optional",
|
||||
email: "Email",
|
||||
message: "What do you need to solve?",
|
||||
namePh: "Ana García",
|
||||
companyPh: "Your company name",
|
||||
emailPh: "ana@company.com",
|
||||
messagePh: "Today we track orders in spreadsheets and…",
|
||||
submit: "Send message",
|
||||
sending: "Sending…",
|
||||
privacy:
|
||||
"The form is sent through FormSubmit only so we can reply to you. We use analytics (PostHog and OpenReplay) to improve the site; what you type in the form is not recorded in those tools.",
|
||||
subject: "New inquiry from 2pidev.com (EN)",
|
||||
errors: {
|
||||
name: "Add your name so we know who to reply to.",
|
||||
email: "Check the email: it should look like name@company.com.",
|
||||
message: "Tell us in a few lines what you need to solve.",
|
||||
summary: "Check the highlighted fields to send your message.",
|
||||
},
|
||||
},
|
||||
},
|
||||
footer: {
|
||||
rights: "Custom software, end to end.",
|
||||
},
|
||||
thanks: {
|
||||
title: "Thank you | 2piDev",
|
||||
heading: "We got your message.",
|
||||
lede: "We will reply within one business day from hola@2pidev.com. Here is what happens next:",
|
||||
steps: [
|
||||
"We write to set up a first conversation.",
|
||||
"We run discovery on your process.",
|
||||
"We hand you a written proposal with scope, stages, timeline and budget.",
|
||||
],
|
||||
back: "Back to home",
|
||||
},
|
||||
},
|
||||
};
|
||||
@@ -1,4 +1,7 @@
|
||||
module.exports = {
|
||||
url: 'https://www.2pidev.com',
|
||||
email: 'hola@2pidev.com',
|
||||
year: new Date().getFullYear(),
|
||||
posthogKey: process.env.POSTHOG_API_KEY || null,
|
||||
posthogHost: process.env.POSTHOG_API_HOST || 'https://us.i.posthog.com',
|
||||
}
|
||||
|
||||
45
src/_includes/cycle.njk
Normal file
@@ -0,0 +1,45 @@
|
||||
{#
|
||||
The 2π cycle: being present for the whole turn.
|
||||
Outer ring = the logo's two arcs (orange, blue) with four stages at 0°, 90°, 180°, 270°.
|
||||
At 180° an inner loop, tangent to the ring, is the iteration engine: a small 2π that turns
|
||||
many times (refine → build → deliver). Labels sit inside the ring.
|
||||
Geometry: viewBox 600×600, centre (300,300), ring radius 250; loop centre (300,460), radius 90.
|
||||
#}
|
||||
{% macro cycle(c, id, draw=false, sticky=false) %}
|
||||
{% set nodes = [
|
||||
{ x: 300, y: 50, lx: 300, ly: 140, side: "a" },
|
||||
{ x: 550, y: 300, lx: 455, ly: 352, side: "a" },
|
||||
{ x: 300, y: 550, lx: 300, ly: 452, side: "a" },
|
||||
{ x: 50, y: 300, lx: 145, ly: 352, side: "b" }
|
||||
] %}
|
||||
{% set degs = ["0°", "90°", "180°", "270°"] %}
|
||||
<svg class="cycle{% if draw %} cycle-draw{% endif %}" id="{{ id }}" viewBox="-12 -12 624 624" role="img" aria-labelledby="{{ id }}-title {{ id }}-desc"{% if sticky %} data-active="0"{% endif %}>
|
||||
<title id="{{ id }}-title">{{ c.title }}</title>
|
||||
<desc id="{{ id }}-desc">{{ c.desc }}</desc>
|
||||
<path class="arc arc-a" pathLength="1" d="M 326.1 51.4 A 250 250 0 0 1 326.1 548.6" />
|
||||
<path class="arc arc-b" pathLength="1" d="M 273.9 548.6 A 250 250 0 0 1 273.9 51.4" />
|
||||
|
||||
{# Iteration loop: a small 2π inside the ring #}
|
||||
<g class="loop" aria-hidden="true">
|
||||
<g class="loop-spin">
|
||||
<path class="arc loop-arc arc-a" pathLength="1" d="M 312.5 370.9 A 90 90 0 0 1 312.5 549.1" />
|
||||
<path class="arc loop-arc arc-b" pathLength="1" d="M 287.5 549.1 A 90 90 0 0 1 287.5 370.9" />
|
||||
</g>
|
||||
</g>
|
||||
|
||||
{% for n in nodes %}
|
||||
<g class="stage stage-{{ loop.index0 }}" aria-hidden="true">
|
||||
<g class="node node-{{ n.side }}"><circle cx="{{ n.x }}" cy="{{ n.y }}" r="11" /></g>
|
||||
<text class="label" x="{{ n.lx }}" y="{{ n.ly }}" text-anchor="middle">{{ c.labels[loop.index0] }}</text>
|
||||
<text class="deg" x="{{ n.lx }}" y="{{ n.ly + 26 }}" text-anchor="middle">{{ degs[loop.index0] }}</text>
|
||||
</g>
|
||||
{% endfor %}
|
||||
{% if sticky %}
|
||||
<text class="loop-count" x="300" y="505" text-anchor="middle" aria-hidden="true" data-loop-count data-word="{{ c.iteration }}">×N</text>
|
||||
{% endif %}
|
||||
<g aria-hidden="true">
|
||||
<text class="pi" x="300" y="268" text-anchor="middle">2π</text>
|
||||
<text class="center" x="300" y="302" text-anchor="middle">{{ c.center }}</text>
|
||||
</g>
|
||||
</svg>
|
||||
{% endmacro %}
|
||||
55
src/_includes/head.njk
Normal file
@@ -0,0 +1,55 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ pageTitle }}</title>
|
||||
<meta name="description" content="{{ t.meta.description }}">
|
||||
<meta name="theme-color" content="#fbfcfe">
|
||||
<link rel="canonical" href="{{ site.url }}{{ page.url }}">
|
||||
{% if noindex %}<meta name="robots" content="noindex">{% else %}
|
||||
<link rel="alternate" hreflang="es" href="{{ site.url }}/">
|
||||
<link rel="alternate" hreflang="en" href="{{ site.url }}/en/">
|
||||
<link rel="alternate" hreflang="x-default" href="{{ site.url }}/">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:site_name" content="2piDev">
|
||||
<meta property="og:title" content="{{ t.meta.title }}">
|
||||
<meta property="og:description" content="{{ t.meta.description }}">
|
||||
<meta property="og:url" content="{{ site.url }}{{ page.url }}">
|
||||
<meta property="og:locale" content="{{ 'es_419' if t.htmlLang == 'es' else 'en_US' }}">{% endif %}
|
||||
<link rel="icon" href="/images/favicon.svg" type="image/svg+xml">
|
||||
<link rel="preload" href="/fonts/schibsted-latin.woff2" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="stylesheet" href="/css/styles.css">
|
||||
{% if site.posthogKey %}
|
||||
<script>
|
||||
!function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.crossOrigin="anonymous",p.async=!0,p.src=s.api_host+"/static/array.full.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled onFeatureFlags getSurveys getActiveMatchingSurveys captureException".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]);
|
||||
posthog.init('{{ site.posthogKey }}', {
|
||||
api_host: '{{ site.posthogHost }}',
|
||||
capture_performance: true,
|
||||
disable_session_recording: false,
|
||||
})
|
||||
posthog.capture('$pageview', { lang: '{{ t.htmlLang }}' });
|
||||
</script>
|
||||
{% endif %}
|
||||
<!-- OpenReplay Tracking Code -->
|
||||
<script>
|
||||
var initOpts = {
|
||||
projectKey: "5o5HLGZhn4TlGBbOFkVu",
|
||||
// 0 - plain, 1 - obscured, 2 - ignored
|
||||
defaultInputMode: 2,
|
||||
obscureTextNumbers: false,
|
||||
obscureTextEmails: true,
|
||||
};
|
||||
var startOpts = { userID: "" };
|
||||
(function(A,s,a,y,e,r){
|
||||
r=window.OpenReplay=[e,r,y,[s-1, e]];
|
||||
s=document.createElement('script');s.src=A;s.async=!a;
|
||||
document.getElementsByTagName('head')[0].appendChild(s);
|
||||
r.start=function(v){r.push([0])};
|
||||
r.stop=function(v){r.push([1])};
|
||||
r.setUserID=function(id){r.push([2,id])};
|
||||
r.setUserAnonymousID=function(id){r.push([3,id])};
|
||||
r.setMetadata=function(k,v){r.push([4,k,v])};
|
||||
r.event=function(k,p,i){r.push([5,k,p,i])};
|
||||
r.issue=function(k,p){r.push([6,k,p])};
|
||||
r.isActive=function(){return false};
|
||||
r.getSessionToken=function(){};
|
||||
})("//static.openreplay.com/latest/openreplay.js",1,0,initOpts,startOpts);
|
||||
</script>
|
||||
406
src/_includes/landing.njk
Normal file
@@ -0,0 +1,406 @@
|
||||
{% from "cycle.njk" import cycle %}
|
||||
{% set t = i18n[lang] %}
|
||||
{% set pageTitle = t.meta.title %}
|
||||
{% macro nodeIcon() %}<svg viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="5" fill="#fff" stroke="#0b1220" stroke-width="2"/></svg>{% endmacro %}
|
||||
{% macro arrow() %}<svg class="arrow h-4 w-4" viewBox="0 0 16 16" fill="none" aria-hidden="true"><path d="M3 8h9.5M8.5 4l4 4-4 4" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg>{% endmacro %}
|
||||
<!doctype html>
|
||||
<html lang="{{ t.htmlLang }}">
|
||||
<head>
|
||||
{% include "head.njk" %}
|
||||
</head>
|
||||
<body>
|
||||
<a class="skip-link" href="#main">{{ t.nav.skip }}</a>
|
||||
|
||||
<header class="site-header" data-header>
|
||||
<div class="shell flex h-full items-center justify-between gap-4">
|
||||
<a href="{{ t.home }}" class="flex items-center gap-2.5 rounded-md" aria-label="{{ t.nav.home }}">
|
||||
<img src="/images/logo-64x64.png" width="32" height="32" alt="" class="h-8 w-8">
|
||||
<span class="text-lg font-semibold tracking-[-0.02em]">2piDev</span>
|
||||
</a>
|
||||
<nav class="hidden items-center md:flex" aria-label="{{ t.nav.main }}">
|
||||
<a class="nav-link" href="#process">{{ t.nav.process }}</a>
|
||||
<a class="nav-link" href="#services">{{ t.nav.services }}</a>
|
||||
<a class="nav-link" href="#team">{{ t.nav.team }}</a>
|
||||
<a class="nav-link" href="#faq">{{ t.nav.faq }}</a>
|
||||
</nav>
|
||||
<div class="flex items-center gap-1.5">
|
||||
<button class="menu-btn md:hidden" type="button" aria-expanded="false" aria-controls="mobile-nav" data-menu-btn>
|
||||
<span class="sr-only">{{ t.nav.menu }}</span>
|
||||
<svg class="h-5 w-5" viewBox="0 0 20 20" fill="none" aria-hidden="true"><path class="menu-open" d="M3 6.5h14M3 13.5h14" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/><path class="menu-close" d="M5 5l10 10M15 5L5 15" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/></svg>
|
||||
</button>
|
||||
<a class="lang-link" href="{{ t.alt.href }}" hreflang="{{ t.alt.lang }}" lang="{{ t.alt.lang }}" aria-label="{{ t.alt.name }}">{{ t.alt.label }}</a>
|
||||
<a class="btn-primary btn-small" href="#contact" data-cta="header">{{ t.nav.cta }}</a>
|
||||
</div>
|
||||
</div>
|
||||
<nav class="mobile-nav md:hidden" id="mobile-nav" aria-label="{{ t.nav.main }}" hidden data-mobile-nav>
|
||||
<div class="shell flex flex-col py-2">
|
||||
<a href="#process">{{ t.nav.process }}</a>
|
||||
<a href="#services">{{ t.nav.services }}</a>
|
||||
<a href="#team">{{ t.nav.team }}</a>
|
||||
<a href="#faq">{{ t.nav.faq }}</a>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main id="main">
|
||||
{# ---------- Hero ---------- #}
|
||||
<section class="pb-20 pt-10 sm:pt-16 lg:pb-28 lg:pt-20">
|
||||
<div class="shell grid items-center gap-14 lg:grid-cols-[1.12fr_0.88fr] lg:gap-12">
|
||||
<div>
|
||||
<h1 class="display max-w-[15ch]">{{ t.hero.title }}</h1>
|
||||
<p class="lede mt-6 max-w-[35rem]">{{ t.hero.lede }}</p>
|
||||
<div class="mt-9 flex flex-col gap-3 sm:flex-row">
|
||||
<a class="btn-primary" href="#contact" data-cta="hero">{{ t.hero.primary }} {{ arrow() }}</a>
|
||||
<a class="btn-secondary" href="#process" data-cta="hero-secondary">{{ t.hero.secondary }}</a>
|
||||
</div>
|
||||
<ul class="mt-9 flex flex-col gap-3 sm:flex-row sm:gap-7">
|
||||
<li class="promise">{{ nodeIcon() }}{{ t.hero.promises[0] }}</li>
|
||||
<li class="promise">{{ nodeIcon() }}{{ t.hero.promises[1] }}</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="mx-auto w-full max-w-[26rem] sm:max-w-[30rem] lg:max-w-[33rem]">
|
||||
{{ cycle(t.cycle, "cycle-hero", true) }}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{# ---------- Problem ---------- #}
|
||||
<section class="section border-y border-line bg-white" aria-labelledby="problem-title">
|
||||
<div class="shell grid gap-10 lg:grid-cols-12 lg:gap-16">
|
||||
<h2 id="problem-title" class="h2 lg:col-span-5">{{ t.problem.title }}</h2>
|
||||
<ul class="row-list lg:col-span-7">
|
||||
{% for item in t.problem.items %}
|
||||
<li class="grid gap-2 py-7 sm:grid-cols-[12rem_1fr] sm:gap-8">
|
||||
<h3 class="text-lg font-semibold tracking-[-0.01em] text-ink">{{ item.title }}</h3>
|
||||
<p class="leading-7 text-muted">{{ item.text }}</p>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{# ---------- Process ---------- #}
|
||||
<section id="process" class="section" aria-labelledby="process-title">
|
||||
<div class="shell">
|
||||
<div class="max-w-[40rem]">
|
||||
<h2 id="process-title" class="h2">{{ t.process.title }}</h2>
|
||||
<p class="lede mt-5">{{ t.process.lede }}</p>
|
||||
</div>
|
||||
<div class="mt-14 grid gap-12 lg:mt-20 lg:grid-cols-12 lg:gap-16">
|
||||
<div class="hidden lg:col-span-5 lg:block">
|
||||
<div class="sticky top-28">
|
||||
{{ cycle(t.cycle, "cycle-process", false, true) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="lg:col-span-7">
|
||||
<ol data-stages>
|
||||
{% for s in t.process.stages %}
|
||||
<li class="stage-item" data-stage="{{ loop.index0 }}">
|
||||
<div class="grid grid-cols-[3.75rem_1fr] items-baseline sm:grid-cols-[4.5rem_1fr]">
|
||||
<span class="stage-deg {{ 'text-orange-text' if loop.index0 < 3 else 'text-blue-text' }}">{{ s.deg }}</span>
|
||||
<h3 class="stage-title text-2xl font-semibold tracking-[-0.025em] text-ink">{{ s.title }}</h3>
|
||||
</div>
|
||||
<div class="pl-[3.75rem] sm:pl-[4.5rem]">
|
||||
<p class="mt-3 max-w-[34rem] leading-7 text-ink-2">{{ s.text }}</p>
|
||||
{% if s.steps %}
|
||||
<ol class="iter-steps mt-6 max-w-[34rem]">
|
||||
{% for st in s.steps %}
|
||||
<li class="grid grid-cols-[1.5rem_1fr] items-baseline gap-x-2 py-3 sm:grid-cols-[1.5rem_7.5rem_1fr]">
|
||||
<span class="tnum text-sm font-medium text-muted">{{ loop.index }}</span>
|
||||
<span class="font-medium text-ink">{{ st.title }}</span>
|
||||
<span class="col-start-2 text-[0.9375rem] leading-6 text-muted sm:col-start-3">{{ st.text }}</span>
|
||||
</li>
|
||||
{% endfor %}
|
||||
<li class="iter-repeat grid grid-cols-[1.5rem_1fr] items-center gap-x-2 py-3 text-[0.9375rem] text-ink-2">
|
||||
<svg class="h-4 w-4" viewBox="0 0 16 16" fill="none" aria-hidden="true"><path d="M8 2.5a5.5 5.5 0 0 1 5.5 5.5" stroke="#ff7f2a" stroke-width="1.8" stroke-linecap="round"/><path d="M13.5 8A5.5 5.5 0 0 1 8 13.5" stroke="#ff7f2a" stroke-width="1.8" stroke-linecap="round"/><path d="M8 13.5A5.5 5.5 0 0 1 2.5 8" stroke="#0079ff" stroke-width="1.8" stroke-linecap="round"/><path d="M2.5 8A5.5 5.5 0 0 1 8 2.5" stroke="#0079ff" stroke-width="1.8" stroke-linecap="round"/></svg>
|
||||
<span>{{ t.process.repeat }}</span>
|
||||
</li>
|
||||
</ol>
|
||||
{% endif %}
|
||||
<p class="mt-5 flex max-w-[34rem] flex-col gap-1 border-t border-dashed border-line pt-4 text-[0.9375rem] sm:flex-row sm:gap-4">
|
||||
<span class="flex-none font-medium text-ink">{{ t.process.receive }}</span>
|
||||
<span class="text-muted">{{ s.gets }}</span>
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ol>
|
||||
<p class="mt-4 grid grid-cols-[3.75rem_1fr] items-start border-t border-line pt-10 text-lg font-medium tracking-[-0.01em] text-ink sm:grid-cols-[4.5rem_1fr]">
|
||||
<svg class="mt-1 h-5 w-5 flex-none" viewBox="0 0 20 20" fill="none" aria-hidden="true"><path d="M16.5 10A6.5 6.5 0 1 1 13.8 4.7" stroke="#0b1220" stroke-width="1.8" stroke-linecap="round"/><path d="M14.2 1.8l-.3 3.1-3.1-.3" stroke="#0b1220" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
||||
<span>{{ t.process.close }}</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{# ---------- Team ---------- #}
|
||||
<section id="team" class="section border-y border-line bg-white" aria-labelledby="team-title">
|
||||
<div class="shell grid gap-12 lg:grid-cols-12 lg:gap-16">
|
||||
<div class="lg:col-span-6">
|
||||
<h2 id="team-title" class="h2 max-w-[18ch]">{{ t.team.title }}</h2>
|
||||
<p class="lede mt-5 max-w-[34rem]">{{ t.team.lede }}</p>
|
||||
</div>
|
||||
<dl class="row-list lg:col-span-6">
|
||||
{% for p in t.team.points %}
|
||||
<div class="py-6">
|
||||
<dt class="text-lg font-semibold tracking-[-0.01em] text-ink">{{ p.title }}</dt>
|
||||
<dd class="mt-1.5 leading-7 text-muted">{{ p.text }}</dd>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</dl>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{# ---------- Services ---------- #}
|
||||
<section id="services" class="section" aria-labelledby="services-title">
|
||||
<div class="shell">
|
||||
<div class="max-w-[40rem]">
|
||||
<h2 id="services-title" class="h2">{{ t.services.title }}</h2>
|
||||
<p class="lede mt-5">{{ t.services.lede }}</p>
|
||||
</div>
|
||||
<ul class="row-list mt-12">
|
||||
{% for s in t.services.items %}
|
||||
<li class="grid gap-1.5 py-6 sm:grid-cols-[minmax(0,20rem)_1fr] sm:gap-10">
|
||||
<h3 class="text-lg font-semibold tracking-[-0.01em] text-ink">{{ s.title }}</h3>
|
||||
<p class="leading-7 text-muted">{{ s.text }}</p>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<div class="mt-14 flex flex-col gap-6 lg:flex-row lg:items-center lg:justify-between">
|
||||
<p class="text-[0.9375rem] font-medium text-ink-2">{{ t.services.stackTitle }}</p>
|
||||
<ul class="flex flex-wrap items-center gap-x-8 gap-y-4">
|
||||
{% for tech in [["tech-dotnet.svg", ".NET"], ["tech-typescript.svg", "TypeScript"], ["tech-react.svg", "React"], ["tech-postgres.svg", "PostgreSQL"], ["tech-aws.svg", "AWS"]] %}
|
||||
<li class="flex items-center gap-2.5 text-[0.9375rem] font-medium text-ink">
|
||||
<img src="/images/{{ tech[0] }}" alt="" width="24" height="24" class="tech-mark h-6 w-6 object-contain">{{ tech[1] }}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{# ---------- FAQ ---------- #}
|
||||
<section id="faq" class="section border-t border-line bg-white" aria-labelledby="faq-title">
|
||||
<div class="shell grid gap-10 lg:grid-cols-12 lg:gap-16">
|
||||
<h2 id="faq-title" class="h2 lg:col-span-4">{{ t.faq.title }}</h2>
|
||||
<div class="faq row-list lg:col-span-8">
|
||||
{% for f in t.faq.items %}
|
||||
<details{% if loop.first %} open{% endif %}>
|
||||
<summary>{{ f.q }}<span class="plus" aria-hidden="true"></span></summary>
|
||||
<p class="-mt-2 max-w-[40rem] pb-7 leading-7 text-ink-2">{{ f.a }}</p>
|
||||
</details>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{# ---------- Contact ---------- #}
|
||||
{% set fm = t.contact.form %}
|
||||
<section id="contact" class="night section" aria-labelledby="contact-title">
|
||||
<div class="shell grid gap-14 lg:grid-cols-12 lg:gap-16">
|
||||
<div class="lg:col-span-5">
|
||||
<h2 id="contact-title" class="h2 text-white">{{ t.contact.title }}</h2>
|
||||
<p class="lede mt-5 !text-night-text">{{ t.contact.lede }}</p>
|
||||
<ul class="mt-9 space-y-3.5">
|
||||
{% for p in t.contact.promises %}
|
||||
<li class="flex items-start gap-3 text-night-text">
|
||||
<svg class="mt-1 h-4 w-4 flex-none" viewBox="0 0 16 16" fill="none" aria-hidden="true"><path d="M3 8.5l3.2 3L13 4.5" stroke="#c3cad8" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
||||
{{ p }}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<p class="mt-10 text-night-muted">{{ t.contact.orEmail }} <a class="night-link" href="mailto:{{ site.email }}">{{ site.email }}</a></p>
|
||||
</div>
|
||||
|
||||
<form class="lg:col-span-7" action="https://formsubmit.co/{{ site.email }}" method="POST" data-contact-form
|
||||
data-sending="{{ fm.sending }}"
|
||||
data-err-name="{{ fm.errors.name }}" data-err-email="{{ fm.errors.email }}"
|
||||
data-err-message="{{ fm.errors.message }}" data-err-summary="{{ fm.errors.summary }}">
|
||||
<input type="hidden" name="_next" value="{{ t.thanksUrl }}">
|
||||
<input type="hidden" name="_subject" value="{{ fm.subject }}">
|
||||
<input type="hidden" name="_template" value="table">
|
||||
<input type="hidden" name="idioma" value="{{ t.htmlLang }}">
|
||||
<div class="absolute -left-[9999px] h-px w-px overflow-hidden" aria-hidden="true">
|
||||
<label>Leave empty <input type="text" name="_honey" tabindex="-1" autocomplete="off"></label>
|
||||
</div>
|
||||
|
||||
<div class="form-summary mb-6" role="alert" tabindex="-1" data-form-summary hidden></div>
|
||||
|
||||
<div class="grid gap-5 sm:grid-cols-2">
|
||||
<div>
|
||||
<label class="field-label" for="f-name">{{ fm.name }}</label>
|
||||
<input class="field" id="f-name" name="nombre" type="text" autocomplete="name" required maxlength="120" placeholder="{{ fm.namePh }}" aria-describedby="f-name-error">
|
||||
<p class="field-error" id="f-name-error" hidden></p>
|
||||
</div>
|
||||
<div>
|
||||
<label class="field-label" for="f-company">{{ fm.company }} <span class="field-hint">{{ fm.companyHint }}</span></label>
|
||||
<input class="field" id="f-company" name="empresa" type="text" autocomplete="organization" maxlength="160" placeholder="{{ fm.companyPh }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="mt-5">
|
||||
<label class="field-label" for="f-email">{{ fm.email }}</label>
|
||||
<input class="field" id="f-email" name="email" type="email" inputmode="email" autocomplete="email" autocapitalize="off" spellcheck="false" required maxlength="200" placeholder="{{ fm.emailPh }}" aria-describedby="f-email-error">
|
||||
<p class="field-error" id="f-email-error" hidden></p>
|
||||
</div>
|
||||
<div class="mt-5">
|
||||
<label class="field-label" for="f-message">{{ fm.message }}</label>
|
||||
<textarea class="field min-h-[9rem] resize-y" id="f-message" name="mensaje" rows="5" required maxlength="4000" placeholder="{{ fm.messagePh }}" aria-describedby="f-message-error"></textarea>
|
||||
<p class="field-error" id="f-message-error" hidden></p>
|
||||
</div>
|
||||
<button class="btn-submit mt-7" type="submit" data-submit>
|
||||
<span class="spinner" aria-hidden="true"></span>
|
||||
<span data-submit-label>{{ fm.submit }}</span>
|
||||
</button>
|
||||
<p class="mt-5 max-w-[36rem] text-sm leading-6 text-night-muted">{{ fm.privacy }}</p>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer class="night border-t border-white/10">
|
||||
<div class="shell flex flex-col gap-6 py-10 sm:flex-row sm:items-center sm:justify-between">
|
||||
<div class="flex items-center gap-3">
|
||||
<img src="/images/logo-64x64.png" width="28" height="28" alt="" class="h-7 w-7">
|
||||
<p class="text-sm text-night-muted"><span class="font-semibold text-white">2piDev</span> · {{ t.footer.rights }}</p>
|
||||
</div>
|
||||
<div class="flex items-center gap-6 text-sm text-night-muted">
|
||||
<a class="hover:text-white" href="mailto:{{ site.email }}">{{ site.email }}</a>
|
||||
<a class="hover:text-white" href="{{ t.alt.href }}" hreflang="{{ t.alt.lang }}" lang="{{ t.alt.lang }}">{{ t.alt.name }}</a>
|
||||
<span class="tnum">© {{ site.year }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
(function () {
|
||||
// Header hairline once the page scrolls
|
||||
var header = document.querySelector('[data-header]');
|
||||
function onScroll() { header.toggleAttribute('data-scrolled', window.scrollY > 8); }
|
||||
onScroll();
|
||||
window.addEventListener('scroll', onScroll, { passive: true });
|
||||
|
||||
// Mobile menu
|
||||
var menuBtn = document.querySelector('[data-menu-btn]');
|
||||
var menu = document.querySelector('[data-mobile-nav]');
|
||||
function setMenu(open) {
|
||||
menuBtn.setAttribute('aria-expanded', open ? 'true' : 'false');
|
||||
menu.hidden = !open;
|
||||
}
|
||||
menuBtn.addEventListener('click', function () { setMenu(menu.hidden); });
|
||||
menu.addEventListener('click', function (e) { if (e.target.closest('a')) setMenu(false); });
|
||||
document.addEventListener('keydown', function (e) {
|
||||
if (e.key === 'Escape' && !menu.hidden) { setMenu(false); menuBtn.focus(); }
|
||||
});
|
||||
window.matchMedia('(min-width: 768px)').addEventListener('change', function (m) { if (m.matches) setMenu(false); });
|
||||
|
||||
// Sticky cycle follows the stage being read
|
||||
var cycleEl = document.getElementById('cycle-process');
|
||||
var stages = document.querySelectorAll('[data-stage]');
|
||||
if (cycleEl && stages.length && 'IntersectionObserver' in window) {
|
||||
var io = new IntersectionObserver(function (entries) {
|
||||
entries.forEach(function (entry) {
|
||||
if (!entry.isIntersecting) return;
|
||||
var i = entry.target.getAttribute('data-stage');
|
||||
cycleEl.setAttribute('data-active', i);
|
||||
stages.forEach(function (s) { s.toggleAttribute('data-current', s === entry.target); });
|
||||
});
|
||||
}, { rootMargin: '-40% 0px -59% 0px' });
|
||||
stages.forEach(function (s) { io.observe(s); });
|
||||
|
||||
// While the iterations stage is being read, the inner loop turns and counts
|
||||
var counter = cycleEl.querySelector('[data-loop-count]');
|
||||
var still = window.matchMedia('(prefers-reduced-motion: reduce)');
|
||||
var timer = null, turn = 0;
|
||||
function tick() { turn += 1; counter.textContent = counter.dataset.word + ' ' + turn; }
|
||||
new MutationObserver(function () {
|
||||
var on = cycleEl.getAttribute('data-active') === '2' && !still.matches;
|
||||
if (on && !timer) { turn = 0; tick(); timer = setInterval(tick, 1800); }
|
||||
if (!on && timer) { clearInterval(timer); timer = null; }
|
||||
}).observe(cycleEl, { attributes: true, attributeFilter: ['data-active'] });
|
||||
}
|
||||
|
||||
// Contact form: accessible validation and sending state
|
||||
var form = document.querySelector('[data-contact-form]');
|
||||
if (!form) return;
|
||||
form.setAttribute('novalidate', '');
|
||||
var summary = form.querySelector('[data-form-summary]');
|
||||
var submit = form.querySelector('[data-submit]');
|
||||
var submitLabel = form.querySelector('[data-submit-label]');
|
||||
var emailRe = /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/;
|
||||
var fields = [
|
||||
{ el: form.querySelector('#f-name'), msg: form.dataset.errName, ok: function (v) { return v.length > 0; } },
|
||||
{ el: form.querySelector('#f-email'), msg: form.dataset.errEmail, ok: function (v) { return emailRe.test(v); } },
|
||||
{ el: form.querySelector('#f-message'), msg: form.dataset.errMessage, ok: function (v) { return v.length > 0; } }
|
||||
];
|
||||
|
||||
function setError(f, show) {
|
||||
var err = document.getElementById(f.el.id + '-error');
|
||||
if (show) {
|
||||
f.el.setAttribute('aria-invalid', 'true');
|
||||
err.textContent = f.msg;
|
||||
err.hidden = false;
|
||||
} else {
|
||||
f.el.removeAttribute('aria-invalid');
|
||||
err.hidden = true;
|
||||
}
|
||||
}
|
||||
|
||||
fields.forEach(function (f) {
|
||||
f.el.addEventListener('input', function () {
|
||||
if (f.el.getAttribute('aria-invalid') === 'true' && f.ok(f.el.value.trim())) setError(f, false);
|
||||
});
|
||||
});
|
||||
|
||||
form.addEventListener('submit', function (e) {
|
||||
if (submit.getAttribute('aria-busy') === 'true') { e.preventDefault(); return; }
|
||||
var firstBad = null;
|
||||
fields.forEach(function (f) {
|
||||
var bad = !f.ok(f.el.value.trim());
|
||||
setError(f, bad);
|
||||
if (bad && !firstBad) firstBad = f;
|
||||
});
|
||||
if (firstBad) {
|
||||
e.preventDefault();
|
||||
summary.textContent = form.dataset.errSummary;
|
||||
summary.hidden = false;
|
||||
firstBad.el.focus();
|
||||
return;
|
||||
}
|
||||
summary.hidden = true;
|
||||
submit.setAttribute('aria-busy', 'true');
|
||||
submitLabel.textContent = form.dataset.sending;
|
||||
if (window.posthog) window.posthog.capture('contact_form_submitted', { lang: document.documentElement.lang });
|
||||
});
|
||||
|
||||
// Restore the button if the visitor comes back with the browser's back button
|
||||
var idleLabel = submitLabel.textContent;
|
||||
window.addEventListener('pageshow', function () {
|
||||
submit.removeAttribute('aria-busy');
|
||||
submitLabel.textContent = idleLabel;
|
||||
});
|
||||
|
||||
// Analytics without personal data
|
||||
if (window.posthog) {
|
||||
document.addEventListener('click', function (e) {
|
||||
var link = e.target.closest('[data-cta]');
|
||||
if (link) window.posthog.capture('cta_click', { cta: link.getAttribute('data-cta'), lang: document.documentElement.lang });
|
||||
});
|
||||
if ('IntersectionObserver' in window) {
|
||||
var seen = {};
|
||||
var so = new IntersectionObserver(function (entries) {
|
||||
entries.forEach(function (entry) {
|
||||
var id = entry.target.id;
|
||||
if (entry.isIntersecting && !seen[id]) { seen[id] = true; window.posthog.capture('section_view', { section: id }); }
|
||||
});
|
||||
}, { threshold: 0.3 });
|
||||
['process', 'team', 'services', 'faq', 'contact'].forEach(function (id) {
|
||||
var el = document.getElementById(id);
|
||||
if (el) so.observe(el);
|
||||
});
|
||||
}
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
43
src/_includes/thanks.njk
Normal file
@@ -0,0 +1,43 @@
|
||||
{% set t = i18n[lang] %}
|
||||
{% set pageTitle = t.thanks.title %}
|
||||
<!doctype html>
|
||||
<html lang="{{ t.htmlLang }}">
|
||||
<head>
|
||||
{% include "head.njk" %}
|
||||
</head>
|
||||
<body class="flex min-h-screen flex-col">
|
||||
<header class="site-header border-line" data-scrolled>
|
||||
<div class="shell flex h-full items-center justify-between gap-4">
|
||||
<a href="{{ t.home }}" class="flex items-center gap-2.5 rounded-md" aria-label="{{ t.nav.home }}">
|
||||
<img src="/images/logo-64x64.png" width="32" height="32" alt="" class="h-8 w-8">
|
||||
<span class="text-lg font-semibold tracking-[-0.02em]">2piDev</span>
|
||||
</a>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="flex flex-1 items-center py-16 sm:py-24">
|
||||
<div class="shell grid items-center gap-14 lg:grid-cols-12 lg:gap-16">
|
||||
<div class="lg:col-span-7">
|
||||
<svg class="h-14 w-14" viewBox="0 0 56 56" fill="none" aria-hidden="true">
|
||||
<path d="M28 4a24 24 0 0 1 24 24" stroke="#ff7f2a" stroke-width="4" stroke-linecap="round"/>
|
||||
<path d="M52 28A24 24 0 0 1 28 52" stroke="#ff7f2a" stroke-width="4" stroke-linecap="round"/>
|
||||
<path d="M28 52A24 24 0 0 1 4 28" stroke="#0079ff" stroke-width="4" stroke-linecap="round"/>
|
||||
<path d="M4 28A24 24 0 0 1 28 4" stroke="#0079ff" stroke-width="4" stroke-linecap="round"/>
|
||||
<path d="M19 28.5l6 5.5 12-12" stroke="#0b1220" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
<h1 class="display mt-8 max-w-[14ch]">{{ t.thanks.heading }}</h1>
|
||||
<p class="lede mt-6 max-w-[34rem]">{{ t.thanks.lede }}</p>
|
||||
<ol class="row-list mt-8 max-w-[34rem]">
|
||||
{% for step in t.thanks.steps %}
|
||||
<li class="flex gap-4 py-4 text-ink-2">
|
||||
<span class="tnum w-5 flex-none font-medium text-ink">{{ loop.index }}</span>
|
||||
<span>{{ step }}</span>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ol>
|
||||
<a class="btn-secondary mt-10" href="{{ t.home }}">{{ t.thanks.back }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,84 +1,481 @@
|
||||
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Rajdhani:wght@600;700&display=swap");
|
||||
@font-face {
|
||||
font-family: "Schibsted Grotesk";
|
||||
font-style: normal;
|
||||
font-weight: 400 900;
|
||||
font-display: swap;
|
||||
src: url("/fonts/schibsted-latin.woff2") format("woff2");
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
||||
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Schibsted Grotesk";
|
||||
font-style: normal;
|
||||
font-weight: 400 900;
|
||||
font-display: swap;
|
||||
src: url("/fonts/schibsted-latin-ext.woff2") format("woff2");
|
||||
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
|
||||
U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
/* ---------- Base ---------- */
|
||||
@layer base {
|
||||
:root {
|
||||
--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
|
||||
--header-h: 4rem;
|
||||
color-scheme: light;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
scroll-padding-top: calc(var(--header-h) + 1rem);
|
||||
-webkit-text-size-adjust: 100%;
|
||||
scrollbar-color: #c4cad6 transparent;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
@apply bg-paper text-ink antialiased;
|
||||
@apply bg-ground font-sans text-ink antialiased;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
p,
|
||||
li,
|
||||
dd {
|
||||
text-wrap: pretty;
|
||||
}
|
||||
|
||||
::selection {
|
||||
@apply bg-flame text-white;
|
||||
background: #ffd7bd;
|
||||
color: #0b1220;
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
caret-color: #0079ff;
|
||||
}
|
||||
|
||||
a {
|
||||
text-underline-offset: 0.2em;
|
||||
text-decoration-thickness: 1px;
|
||||
}
|
||||
|
||||
:focus-visible {
|
||||
outline: 2px solid #0062d1;
|
||||
outline-offset: 3px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.tnum {
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------- Components ---------- */
|
||||
@layer components {
|
||||
.section-shell {
|
||||
@apply mx-auto w-full max-w-6xl px-5 sm:px-6 lg:px-8;
|
||||
.shell {
|
||||
@apply mx-auto w-full max-w-shell px-5 sm:px-8;
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
@apply text-[0.68rem] font-bold uppercase tracking-[0.16em] text-azure;
|
||||
.skip-link {
|
||||
@apply absolute left-4 top-3 z-[60] -translate-y-16 rounded-md bg-ink px-4 py-2 text-sm font-medium text-white transition-transform;
|
||||
}
|
||||
.skip-link:focus {
|
||||
@apply translate-y-0;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
@apply inline-flex items-center justify-center rounded-md bg-flame px-5 py-3 text-sm font-bold text-white shadow-lg shadow-orange-500/20 transition hover:bg-ember focus:outline-none focus:ring-2 focus:ring-flame focus:ring-offset-2;
|
||||
/* Header */
|
||||
.site-header {
|
||||
@apply sticky top-0 z-50 border-b border-transparent bg-ground transition-colors duration-200;
|
||||
height: var(--header-h);
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
@apply inline-flex items-center justify-center rounded-md border border-line bg-white px-5 py-3 text-sm font-bold text-azure transition hover:border-azure hover:bg-blue-50 focus:outline-none focus:ring-2 focus:ring-azure focus:ring-offset-2;
|
||||
.site-header[data-scrolled] {
|
||||
@apply border-line;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
@apply text-sm font-semibold text-slate-700 transition hover:text-azure;
|
||||
@apply rounded-md px-3 py-2 text-[0.9375rem] font-medium text-ink-2 transition-colors hover:text-ink;
|
||||
}
|
||||
.lang-link {
|
||||
@apply rounded-md px-2.5 py-2 text-sm font-medium text-muted transition-colors hover:text-ink;
|
||||
}
|
||||
|
||||
.feature-card {
|
||||
@apply rounded-lg border border-line bg-white p-5 shadow-sm transition hover:-translate-y-1 hover:shadow-soft;
|
||||
/* Buttons */
|
||||
.btn {
|
||||
@apply inline-flex min-h-[2.75rem] items-center justify-center gap-2 rounded-lg px-5 text-[0.9375rem] font-medium transition duration-150;
|
||||
}
|
||||
.btn-primary {
|
||||
@apply btn bg-ink text-white hover:bg-ink-soft;
|
||||
box-shadow: 0 1px 2px rgba(11, 18, 32, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
.btn-secondary {
|
||||
@apply btn border border-line bg-white text-ink hover:border-[#cfd4de] hover:bg-[#f6f7fa];
|
||||
}
|
||||
.btn-small {
|
||||
@apply min-h-[2.25rem] px-3.5 text-sm;
|
||||
}
|
||||
.btn-light {
|
||||
@apply btn bg-white text-ink hover:bg-[#e9ecf2];
|
||||
}
|
||||
.btn .arrow {
|
||||
@apply transition-transform duration-200;
|
||||
}
|
||||
.btn:hover .arrow {
|
||||
transform: translateX(2px);
|
||||
}
|
||||
|
||||
.mini-icon {
|
||||
@apply flex h-9 w-9 items-center justify-center rounded-md text-base font-black text-white;
|
||||
/* Type */
|
||||
.display {
|
||||
@apply font-semibold text-ink;
|
||||
font-size: clamp(2.6rem, 1.6rem + 4.2vw, 4.75rem);
|
||||
line-height: 1.02;
|
||||
letter-spacing: -0.04em;
|
||||
}
|
||||
.h2 {
|
||||
@apply font-semibold text-ink;
|
||||
font-size: clamp(1.9rem, 1.4rem + 1.9vw, 2.85rem);
|
||||
line-height: 1.08;
|
||||
letter-spacing: -0.032em;
|
||||
}
|
||||
.lede {
|
||||
@apply text-ink-2;
|
||||
font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.glass-panel {
|
||||
background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
|
||||
backdrop-filter: blur(16px);
|
||||
.section {
|
||||
@apply py-20 sm:py-28;
|
||||
}
|
||||
|
||||
.dash-screen {
|
||||
background:
|
||||
radial-gradient(circle at 20% 18%, rgba(249, 115, 22, 0.18), transparent 30%),
|
||||
radial-gradient(circle at 80% 18%, rgba(0, 110, 230, 0.22), transparent 32%),
|
||||
linear-gradient(135deg, #10243f 0%, #071323 52%, #132d4b 100%);
|
||||
/* Promise marks: small arcs from the logo */
|
||||
.promise {
|
||||
@apply inline-flex items-center gap-2 text-[0.9375rem] text-ink-2;
|
||||
}
|
||||
.promise svg {
|
||||
@apply h-4 w-4 flex-none;
|
||||
}
|
||||
|
||||
.dash-grid {
|
||||
background-image:
|
||||
linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
|
||||
linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
|
||||
background-size: 28px 28px;
|
||||
/* Cycle diagram */
|
||||
.cycle {
|
||||
@apply block h-auto w-full;
|
||||
overflow: visible;
|
||||
}
|
||||
.cycle .arc {
|
||||
fill: none;
|
||||
stroke-width: 10;
|
||||
stroke-linecap: round;
|
||||
}
|
||||
.cycle .arc-a {
|
||||
stroke: #ff7f2a;
|
||||
}
|
||||
.cycle .arc-b {
|
||||
stroke: #0079ff;
|
||||
}
|
||||
.cycle .node {
|
||||
transform-box: fill-box;
|
||||
transform-origin: center;
|
||||
transition: transform 0.4s var(--ease-out), opacity 0.3s ease;
|
||||
}
|
||||
.cycle .node circle {
|
||||
fill: #fff;
|
||||
stroke-width: 5;
|
||||
transition: fill 0.3s ease, stroke 0.3s ease;
|
||||
}
|
||||
.cycle .node-a circle {
|
||||
stroke: #ff7f2a;
|
||||
}
|
||||
.cycle .node-b circle {
|
||||
stroke: #0079ff;
|
||||
}
|
||||
.cycle .label {
|
||||
fill: #0b1220;
|
||||
font-size: 23px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.01em;
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
.cycle .deg {
|
||||
fill: #5b6475;
|
||||
font-size: 17px;
|
||||
font-weight: 500;
|
||||
font-variant-numeric: tabular-nums;
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
.cycle .loop-arc {
|
||||
stroke-width: 7;
|
||||
}
|
||||
.cycle .loop-spin {
|
||||
transform-box: fill-box;
|
||||
transform-origin: center;
|
||||
}
|
||||
.cycle .loop-count {
|
||||
fill: #5b6475;
|
||||
font-size: 17px;
|
||||
font-weight: 500;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
.cycle[data-active="2"] .loop-spin {
|
||||
animation: loop-turn 1.8s var(--ease-out) infinite;
|
||||
}
|
||||
.cycle-draw .loop .arc-a {
|
||||
animation-delay: 0.75s;
|
||||
}
|
||||
.cycle-draw .loop .arc-b {
|
||||
animation-delay: 0.95s;
|
||||
}
|
||||
}
|
||||
.iter-steps > li {
|
||||
@apply border-t border-dashed border-line;
|
||||
}
|
||||
.cycle .pi {
|
||||
fill: #0b1220;
|
||||
font-size: 76px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.04em;
|
||||
}
|
||||
.cycle .center {
|
||||
fill: #5b6475;
|
||||
font-size: 19px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.metric-bar {
|
||||
@apply h-2 rounded-full bg-slate-700;
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
.cycle-draw .arc {
|
||||
stroke-dasharray: 1;
|
||||
animation: cycle-draw 1.1s var(--ease-out) both;
|
||||
}
|
||||
.cycle-draw .arc-b {
|
||||
animation-delay: 0.45s;
|
||||
}
|
||||
.cycle-draw .node {
|
||||
animation: cycle-node 0.5s var(--ease-out) both;
|
||||
}
|
||||
.cycle-draw .stage-0 .node {
|
||||
animation-delay: 0.05s;
|
||||
}
|
||||
.cycle-draw .stage-1 .node {
|
||||
animation-delay: 0.3s;
|
||||
}
|
||||
.cycle-draw .stage-2 .node {
|
||||
animation-delay: 0.55s;
|
||||
}
|
||||
.cycle-draw .stage-3 .node {
|
||||
animation-delay: 0.8s;
|
||||
}
|
||||
.cycle-draw .stage-4 .node {
|
||||
animation-delay: 1.05s;
|
||||
}
|
||||
}
|
||||
|
||||
.metric-fill {
|
||||
@apply block h-full rounded-full;
|
||||
/* Sticky cycle in "How we work": the node of the stage being read comes forward */
|
||||
/* Inactive nodes keep an opaque white fill (the arc never shows through); only the outline dims */
|
||||
.cycle[data-active] .stage .node-a circle {
|
||||
stroke: #ffcaa5;
|
||||
}
|
||||
.cycle[data-active] .stage .node-b circle {
|
||||
stroke: #a9cfff;
|
||||
}
|
||||
.cycle[data-active="0"] .stage-0 .node-a circle,
|
||||
.cycle[data-active="1"] .stage-1 .node-a circle,
|
||||
.cycle[data-active="2"] .stage-2 .node-a circle {
|
||||
stroke: #ff7f2a;
|
||||
}
|
||||
.cycle[data-active="3"] .stage-3 .node-b circle,
|
||||
.cycle[data-active="4"] .stage-4 .node-b circle {
|
||||
stroke: #0079ff;
|
||||
}
|
||||
.cycle[data-active] .stage .label {
|
||||
opacity: 0.55;
|
||||
}
|
||||
.cycle[data-active] .stage .deg {
|
||||
opacity: 0.75;
|
||||
}
|
||||
.cycle[data-active="0"] .stage-0 :is(.node, .label, .deg),
|
||||
.cycle[data-active="1"] .stage-1 :is(.node, .label, .deg),
|
||||
.cycle[data-active="2"] .stage-2 :is(.node, .label, .deg),
|
||||
.cycle[data-active="3"] .stage-3 :is(.node, .label, .deg),
|
||||
.cycle[data-active="4"] .stage-4 :is(.node, .label, .deg) {
|
||||
opacity: 1;
|
||||
}
|
||||
.cycle[data-active="0"] .stage-0 .node,
|
||||
.cycle[data-active="1"] .stage-1 .node,
|
||||
.cycle[data-active="2"] .stage-2 .node,
|
||||
.cycle[data-active="3"] .stage-3 .node,
|
||||
.cycle[data-active="4"] .stage-4 .node {
|
||||
transform: scale(1.45);
|
||||
}
|
||||
.cycle[data-active="0"] .stage-0 .node-a circle,
|
||||
.cycle[data-active="1"] .stage-1 .node-a circle,
|
||||
.cycle[data-active="2"] .stage-2 .node-a circle {
|
||||
fill: #ff7f2a;
|
||||
}
|
||||
.cycle[data-active="3"] .stage-3 .node-b circle,
|
||||
.cycle[data-active="4"] .stage-4 .node-b circle {
|
||||
fill: #0079ff;
|
||||
}
|
||||
|
||||
.case-display {
|
||||
background:
|
||||
linear-gradient(180deg, rgba(6, 24, 50, 0.05), rgba(6, 24, 50, 0.16)),
|
||||
linear-gradient(135deg, #10243f, #071323 48%, #123965);
|
||||
/* Process stages */
|
||||
.stage-item {
|
||||
@apply border-t border-line py-10 first:border-t-0 first:pt-0 lg:py-14;
|
||||
}
|
||||
.stage-deg {
|
||||
@apply tnum text-base font-medium;
|
||||
}
|
||||
|
||||
/* Mobile menu */
|
||||
.menu-btn {
|
||||
@apply inline-flex h-9 w-9 items-center justify-center rounded-md text-ink-2 transition-colors hover:bg-[#eef0f4] hover:text-ink;
|
||||
}
|
||||
.menu-btn .menu-close {
|
||||
display: none;
|
||||
}
|
||||
.menu-btn[aria-expanded="true"] .menu-open {
|
||||
display: none;
|
||||
}
|
||||
.menu-btn[aria-expanded="true"] .menu-close {
|
||||
display: inline;
|
||||
}
|
||||
.mobile-nav {
|
||||
@apply border-b border-line bg-ground;
|
||||
box-shadow: 0 12px 24px -12px rgba(11, 18, 32, 0.18);
|
||||
}
|
||||
.mobile-nav a {
|
||||
@apply border-b border-line py-3.5 text-base font-medium text-ink last:border-b-0;
|
||||
}
|
||||
|
||||
/* Partner marks set in one ink, as a quiet row */
|
||||
.tech-mark {
|
||||
filter: grayscale(1) contrast(1.1);
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
/* Hairline rows */
|
||||
.row-list > * {
|
||||
@apply border-t border-line;
|
||||
}
|
||||
.row-list > *:last-child {
|
||||
@apply border-b;
|
||||
}
|
||||
|
||||
/* FAQ */
|
||||
.faq summary {
|
||||
@apply flex cursor-pointer list-none items-center justify-between gap-6 py-6 text-lg font-medium text-ink;
|
||||
}
|
||||
.faq summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
.faq summary .plus {
|
||||
@apply relative h-4 w-4 flex-none;
|
||||
}
|
||||
.faq summary .plus::before,
|
||||
.faq summary .plus::after {
|
||||
content: "";
|
||||
@apply absolute left-0 top-1/2 h-[1.5px] w-4 -translate-y-1/2 bg-ink-2 transition-transform duration-300;
|
||||
}
|
||||
.faq summary .plus::after {
|
||||
transform: translateY(-50%) rotate(90deg);
|
||||
}
|
||||
.faq details[open] summary .plus::after {
|
||||
transform: translateY(-50%) rotate(0deg);
|
||||
}
|
||||
.faq summary:hover {
|
||||
@apply text-ink-2;
|
||||
}
|
||||
|
||||
/* Contact on night ground */
|
||||
.night {
|
||||
@apply bg-night text-white;
|
||||
}
|
||||
.night ::selection {
|
||||
background: #ff7f2a;
|
||||
color: #0b1220;
|
||||
}
|
||||
.night :focus-visible {
|
||||
outline-color: #8fc2ff;
|
||||
}
|
||||
.field-label {
|
||||
@apply flex items-baseline justify-between text-sm font-medium text-white;
|
||||
}
|
||||
.field-hint {
|
||||
@apply text-xs font-normal text-night-muted;
|
||||
}
|
||||
.field {
|
||||
@apply mt-2 block w-full rounded-lg border border-night-edge bg-night-field px-4 py-3 text-base text-white transition-colors duration-150;
|
||||
}
|
||||
.field::placeholder {
|
||||
color: #8e98ad;
|
||||
}
|
||||
.field:hover {
|
||||
border-color: #74809d;
|
||||
}
|
||||
.field:focus {
|
||||
outline: none;
|
||||
border-color: #8fc2ff;
|
||||
box-shadow: 0 0 0 3px rgba(0, 121, 255, 0.35);
|
||||
}
|
||||
.field[aria-invalid="true"] {
|
||||
border-color: #ff8a80;
|
||||
}
|
||||
.field-error {
|
||||
@apply mt-2 text-sm text-[#ffaba3];
|
||||
}
|
||||
.form-summary {
|
||||
@apply rounded-lg border border-[#ff8a80]/60 bg-[#ff8a80]/10 px-4 py-3 text-sm text-[#ffd2cd];
|
||||
}
|
||||
.btn-submit {
|
||||
@apply btn-light w-full sm:w-auto;
|
||||
}
|
||||
.btn-submit[aria-busy="true"] {
|
||||
@apply cursor-progress opacity-80;
|
||||
}
|
||||
.btn-submit .spinner {
|
||||
@apply hidden h-4 w-4 animate-spin rounded-full border-2 border-ink/25 border-t-ink;
|
||||
}
|
||||
.btn-submit[aria-busy="true"] .spinner {
|
||||
@apply inline-block;
|
||||
}
|
||||
.night-link {
|
||||
@apply font-medium text-white underline decoration-white/40 hover:decoration-white;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes cycle-draw {
|
||||
from {
|
||||
stroke-dashoffset: 1;
|
||||
}
|
||||
to {
|
||||
stroke-dashoffset: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes loop-turn {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes cycle-node {
|
||||
from {
|
||||
transform: scale(0);
|
||||
}
|
||||
to {
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
4
src/en/index.njk
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
layout: landing.njk
|
||||
lang: en
|
||||
---
|
||||
5
src/en/thanks.njk
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
layout: thanks.njk
|
||||
lang: en
|
||||
noindex: true
|
||||
---
|
||||
BIN
src/fonts/schibsted-latin-ext.woff2
Normal file
BIN
src/fonts/schibsted-latin.woff2
Normal file
@@ -1,30 +1,5 @@
|
||||
---
|
||||
layout: false
|
||||
title: Gracias | 2piDev
|
||||
layout: thanks.njk
|
||||
lang: es
|
||||
noindex: true
|
||||
---
|
||||
<!doctype html>
|
||||
<html lang="es">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ title }}</title>
|
||||
<link rel="icon" href="/images/favicon.svg" type="image/svg+xml">
|
||||
<link rel="stylesheet" href="/css/styles.css">
|
||||
</head>
|
||||
<body class="min-h-screen bg-gradient-to-br from-orange-50 via-white to-blue-50">
|
||||
<div class="flex min-h-screen items-center justify-center px-4">
|
||||
<div class="max-w-md text-center">
|
||||
<div class="mx-auto mb-6 flex h-20 w-20 items-center justify-center rounded-full bg-green-100">
|
||||
<svg class="h-10 w-10 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
|
||||
</svg>
|
||||
</div>
|
||||
<h1 class="font-display text-4xl font-bold text-slate-900">¡Gracias!</h1>
|
||||
<p class="mt-4 text-lg text-slate-600">Hemos recibido tu mensaje y te contactaremos pronto.</p>
|
||||
<a href="/" class="mt-8 inline-flex items-center gap-2 rounded-lg bg-orange-600 px-6 py-3 text-sm font-bold text-white hover:bg-orange-700 transition-colors">
|
||||
← Volver al inicio
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
Before Width: | Height: | Size: 1008 KiB |
|
Before Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 2.2 MiB |
|
Before Width: | Height: | Size: 2.1 MiB |
|
Before Width: | Height: | Size: 2.0 MiB |
484
src/index.njk
@@ -1,484 +1,4 @@
|
||||
---
|
||||
layout: false
|
||||
title: 2piDev | Software a medida
|
||||
description: Soluciones digitales de élite para empresas que necesitan operar, crecer y vender con sistemas a medida.
|
||||
layout: landing.njk
|
||||
lang: es
|
||||
---
|
||||
<!doctype html>
|
||||
<html lang="es">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="{{ description }}">
|
||||
<title>{{ title }}</title>
|
||||
<link rel="icon" href="/images/favicon.svg" type="image/svg+xml">
|
||||
<link rel="stylesheet" href="/css/styles.css">
|
||||
{% if site.posthogKey %}
|
||||
<script>
|
||||
!function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.crossOrigin="anonymous",p.async=!0,p.src=s.api_host+"/static/array.full.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled onFeatureFlags getSurveys getActiveMatchingSurveys captureException".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]);
|
||||
posthog.init('{{ site.posthogKey }}', {
|
||||
api_host: '{{ site.posthogHost }}',
|
||||
capture_performance: true,
|
||||
disable_session_recording: false,
|
||||
})
|
||||
posthog.capture('$pageview');
|
||||
</script>
|
||||
{% endif %}
|
||||
<!-- OpenReplay Tracking Code -->
|
||||
<script>
|
||||
var initOpts = {
|
||||
projectKey: "5o5HLGZhn4TlGBbOFkVu",
|
||||
// 0 - plain, 1 - obscured, 2 - ignored
|
||||
defaultInputMode: 2,
|
||||
obscureTextNumbers: false,
|
||||
obscureTextEmails: true,
|
||||
};
|
||||
var startOpts = { userID: "" };
|
||||
(function(A,s,a,y,e,r){
|
||||
r=window.OpenReplay=[e,r,y,[s-1, e]];
|
||||
s=document.createElement('script');s.src=A;s.async=!a;
|
||||
document.getElementsByTagName('head')[0].appendChild(s);
|
||||
r.start=function(v){r.push([0])};
|
||||
r.stop=function(v){r.push([1])};
|
||||
r.setUserID=function(id){r.push([2,id])};
|
||||
r.setUserAnonymousID=function(id){r.push([3,id])};
|
||||
r.setMetadata=function(k,v){r.push([4,k,v])};
|
||||
r.event=function(k,p,i){r.push([5,k,p,i])};
|
||||
r.issue=function(k,p){r.push([6,k,p])};
|
||||
r.isActive=function(){return false};
|
||||
r.getSessionToken=function(){};
|
||||
})("//static.openreplay.com/latest/openreplay.js",1,0,initOpts,startOpts);
|
||||
</script>
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<header class="sticky top-0 z-50 border-b border-line/70 bg-white/92 backdrop-blur">
|
||||
<nav class="section-shell flex h-16 items-center justify-between gap-5">
|
||||
<a href="#inicio" class="flex items-center gap-3" aria-label="2piDev inicio">
|
||||
<img src="/images/logo-64x64.png" alt="" class="h-10 w-10">
|
||||
<span class="font-display text-xl font-bold text-ink">2piDev</span>
|
||||
</a>
|
||||
<div class="hidden items-center gap-8 md:flex">
|
||||
<a href="#servicios" class="nav-link">Servicios</a>
|
||||
<a href="#soluciones" class="nav-link">Soluciones</a>
|
||||
<a href="#tecnologias" class="nav-link">Tecnología</a>
|
||||
<a href="#contacto" class="nav-link">Contacto</a>
|
||||
</div>
|
||||
<a href="#contacto" class="btn-primary hidden px-4 py-2 text-xs sm:inline-flex">Agendar consulta</a>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main id="inicio">
|
||||
<section class="overflow-hidden bg-[linear-gradient(115deg,#fff4ec_0%,#f7f8fc_43%,#eef6ff_100%)] pb-20 pt-14 lg:pb-28 lg:pt-20">
|
||||
<div class="section-shell grid items-center gap-12 lg:grid-cols-[0.95fr_1.05fr]">
|
||||
<div>
|
||||
<p class="mb-5 inline-flex items-center gap-2 rounded-full border border-orange-200 bg-white/70 px-3 py-1.5 text-xs font-bold uppercase tracking-[0.14em] text-ember">
|
||||
<span class="h-2 w-2 rounded-full bg-flame"></span>
|
||||
Software de alto rendimiento
|
||||
</p>
|
||||
<h1 class="max-w-2xl font-display text-5xl font-bold leading-[0.95] text-ink sm:text-6xl lg:text-7xl">
|
||||
Software que impulsa el crecimiento de tu empresa
|
||||
</h1>
|
||||
<p class="mt-7 max-w-xl text-lg leading-8 text-muted">
|
||||
Diseñamos y desarrollamos soluciones tecnológicas personalizadas que automatizan procesos y te otorgan una ventaja competitiva real en el mercado actual.
|
||||
</p>
|
||||
<div class="mt-8 flex flex-col gap-3 sm:flex-row">
|
||||
<a href="#contacto" class="btn-primary">Agendar una consulta</a>
|
||||
<a href="#casos" class="btn-secondary">Ver soluciones</a>
|
||||
</div>
|
||||
<div class="mt-9 grid max-w-xl grid-cols-1 gap-3 text-sm font-semibold text-slate-700 sm:grid-cols-2">
|
||||
<span class="flex items-center gap-2"><span class="h-2.5 w-2.5 rounded-full bg-flame"></span>Proyectos a medida</span>
|
||||
<span class="flex items-center gap-2"><span class="h-2.5 w-2.5 rounded-full bg-azure"></span>Arquitecturas escalables</span>
|
||||
<span class="flex items-center gap-2"><span class="h-2.5 w-2.5 rounded-full bg-azure"></span>Tecnologías modernas</span>
|
||||
<span class="flex items-center gap-2"><span class="h-2.5 w-2.5 rounded-full bg-flame"></span>Enfoque de negocio</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="relative mx-auto w-full max-w-2xl">
|
||||
<div class="overflow-hidden rounded-xl border border-white/60 bg-slate-900 shadow-panel">
|
||||
<img src="/images/hero-dashboard.png" alt="Dashboard empresarial premium en una pantalla de oficina" class="aspect-[16/9] h-full w-full object-cover">
|
||||
</div>
|
||||
<div class="absolute -bottom-8 left-6 rounded-lg border border-line bg-white p-5 shadow-soft sm:left-10">
|
||||
<p class="text-xs font-bold uppercase tracking-wide text-muted">Rendimiento operativo</p>
|
||||
<p class="mt-1 text-2xl font-black text-azure">+94%</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="py-20">
|
||||
<div class="section-shell">
|
||||
<div class="mx-auto max-w-3xl text-center">
|
||||
<h2 class="font-display text-4xl font-bold leading-tight text-ink sm:text-5xl">Muchas empresas crecen más lento por culpa de sus sistemas</h2>
|
||||
<p class="mt-4 text-muted">Identificamos cuellos de botella tecnológicos que están frenando tu escalabilidad.</p>
|
||||
</div>
|
||||
<div class="mt-12 grid gap-5 md:grid-cols-2 lg:grid-cols-3">
|
||||
{% set pains = [
|
||||
["P", "Procesos manuales", "Pérdida de tiempo en tareas repetitivas que podrían estar automatizadas.", "bg-orange-600"],
|
||||
["I", "Información fragmentada", "Datos dispersos en diferentes hojas de cálculo y herramientas aisladas.", "bg-blue-600"],
|
||||
["S", "Sistemas legados", "Software obsoleto que no permite integraciones ni nuevas funcionalidades.", "bg-orange-600"],
|
||||
["A", "Falta de automatización", "Dependencia excesiva de la intervención humana para flujos críticos.", "bg-blue-600"],
|
||||
["M", "Visibilidad de métricas", "Imposibilidad de tomar decisiones basadas en datos en tiempo real.", "bg-orange-600"],
|
||||
["E", "Software estancado", "Herramientas que no se adaptan cuando el negocio necesita crecer.", "bg-blue-600"]
|
||||
] %}
|
||||
{% for item in pains %}
|
||||
<article class="feature-card">
|
||||
<div class="mini-icon {{ item[3] }}">{{ item[0] }}</div>
|
||||
<h3 class="mt-4 text-lg font-bold text-ink">{{ item[1] }}</h3>
|
||||
<p class="mt-2 text-sm leading-6 text-muted">{{ item[2] }}</p>
|
||||
</article>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="servicios" class="bg-white py-20">
|
||||
<div class="section-shell">
|
||||
<div class="flex flex-col justify-between gap-5 sm:flex-row sm:items-end">
|
||||
<div>
|
||||
<p class="eyebrow">Nuestras capacidades</p>
|
||||
<h2 class="mt-2 font-display text-4xl font-bold text-ink sm:text-5xl">Soluciones Digitales de Élite</h2>
|
||||
</div>
|
||||
<a href="#contacto" class="text-sm font-bold text-flame hover:text-ember">Explorar portfolio completo</a>
|
||||
</div>
|
||||
<div id="soluciones" class="mt-10 grid gap-5 md:grid-cols-2 lg:grid-cols-3">
|
||||
{% set services = [
|
||||
["</>", "Custom Software", "Desarrollo desde cero adaptado 100% a las reglas de tu negocio y necesidades específicas.", "bg-orange-600"],
|
||||
["W", "Enterprise Web Apps", "Plataformas robustas, seguras y escalables accesibles desde cualquier navegador.", "bg-blue-600"],
|
||||
["M", "Mobile Apps", "Experiencias nativas e híbridas diseñadas para detallar al usuario final en iOS y Android.", "bg-slate-900"],
|
||||
["O", "Process Automation", "Eliminamos la fricción operativa mediante flujos de trabajo inteligentes y automatizados.", "bg-orange-600"],
|
||||
["A", "APIs & Integrations", "Conectamos tus herramientas para que tus datos fluyan sin interrupciones entre sistemas.", "bg-blue-600"],
|
||||
["C", "IT Consulting", "Acompañamiento estratégico para definir tu roadmap tecnológico y arquitectura.", "bg-slate-900"]
|
||||
] %}
|
||||
{% for item in services %}
|
||||
<article class="feature-card min-h-52">
|
||||
<div class="mini-icon {{ item[3] }}">{{ item[0] }}</div>
|
||||
<h3 class="mt-5 text-xl font-bold text-ink">{{ item[1] }}</h3>
|
||||
<p class="mt-3 text-sm leading-6 text-muted">{{ item[2] }}</p>
|
||||
</article>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="relative overflow-hidden bg-navy py-20 text-white">
|
||||
<div class="absolute inset-0">
|
||||
<img src="/images/results-dashboard.png" alt="" class="h-full w-full object-cover opacity-35">
|
||||
<div class="absolute inset-0 bg-gradient-to-r from-navy via-navy/90 to-navy/55"></div>
|
||||
</div>
|
||||
<div class="section-shell relative grid gap-10 lg:grid-cols-[0.9fr_1.1fr] lg:items-center">
|
||||
<div>
|
||||
<h2 class="font-display text-4xl font-bold leading-tight sm:text-5xl">Resultados que se traducen en valor real</h2>
|
||||
<p class="mt-5 max-w-xl text-blue-100">Nuestras implementaciones no solo resuelven procesos técnicos, sino que impactan directamente en el balance final de tu empresa.</p>
|
||||
<div class="mt-9 grid grid-cols-2 gap-5">
|
||||
<div class="border-l-2 border-flame pl-4">
|
||||
<p class="text-4xl font-black text-flame">+40%</p>
|
||||
<p class="mt-1 text-xs font-bold uppercase tracking-wide text-blue-100">Eficiencia operativa</p>
|
||||
</div>
|
||||
<div class="border-l-2 border-azure pl-4">
|
||||
<p class="text-4xl font-black text-azure">-60%</p>
|
||||
<p class="mt-1 text-xs font-bold uppercase tracking-wide text-blue-100">Tareas manuales</p>
|
||||
</div>
|
||||
<div class="border-l-2 border-flame pl-4">
|
||||
<p class="text-4xl font-black text-white">24/7</p>
|
||||
<p class="mt-1 text-xs font-bold uppercase tracking-wide text-blue-100">Disponibilidad</p>
|
||||
</div>
|
||||
<div class="border-l-2 border-azure pl-4">
|
||||
<p class="text-4xl font-black text-white">100%</p>
|
||||
<p class="mt-1 text-xs font-bold uppercase tracking-wide text-blue-100">Escalabilidad</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="glass-panel rounded-lg p-6">
|
||||
<div class="mb-6 flex items-center justify-between">
|
||||
<h3 class="text-xl font-bold">Performance global</h3>
|
||||
<span class="text-flame">+8%</span>
|
||||
</div>
|
||||
<div class="space-y-5">
|
||||
<div>
|
||||
<div class="mb-2 flex justify-between text-sm font-semibold"><span>Automatización de procesos</span><span>92%</span></div>
|
||||
<div class="metric-bar"><span class="metric-fill w-[92%] bg-flame"></span></div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="mb-2 flex justify-between text-sm font-semibold"><span>Reducción de latencia</span><span>76%</span></div>
|
||||
<div class="metric-bar"><span class="metric-fill w-[76%] bg-azure"></span></div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="mb-2 flex justify-between text-sm font-semibold"><span>Integración de datos</span><span>100%</span></div>
|
||||
<div class="metric-bar"><span class="metric-fill w-full bg-azure"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="py-20">
|
||||
<div class="section-shell">
|
||||
<div class="text-center">
|
||||
<h2 class="font-display text-4xl font-bold text-ink sm:text-5xl">Nuestro Método de Trabajo</h2>
|
||||
<p class="mt-3 text-muted">Un proceso riguroso diseñado para el éxito del proyecto.</p>
|
||||
</div>
|
||||
<div class="mt-10 grid gap-4 md:grid-cols-2 lg:grid-cols-3">
|
||||
{% set steps = [
|
||||
["Diagnóstico", "Relevamos procesos, sistemas actuales y objetivos de negocio para detectar oportunidades concretas de mejora."],
|
||||
["Estrategia", "Definimos alcance, prioridades técnicas y roadmap para construir una solución viable, escalable y medible."],
|
||||
["Prototipo UX/UI", "Diseñamos flujos e interfaces iniciales para validar la experiencia antes de avanzar al desarrollo completo."],
|
||||
["Desarrollo", "Construimos el software con entregas iterativas, código mantenible e integración continua con tus herramientas."],
|
||||
["Lanzamiento", "Implementamos la solución en producción, acompañando la adopción del equipo y ajustando los últimos detalles."],
|
||||
["Evolución", "Medimos resultados, incorporamos mejoras y escalamos la plataforma según nuevas necesidades del negocio."]
|
||||
] %}
|
||||
{% for step in steps %}
|
||||
<div class="rounded-lg border border-line bg-white p-6 shadow-sm">
|
||||
<p class="font-display text-2xl font-bold text-flame/50">0{{ loop.index }}</p>
|
||||
<h3 class="mt-3 text-lg font-bold text-ink">{{ step[0] }}</h3>
|
||||
<p class="mt-3 text-sm leading-6 text-muted">{{ step[1] }}</p>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="tecnologias" class="border-y border-line bg-[#eef2fa] py-10">
|
||||
<div class="section-shell">
|
||||
<p class="text-center text-xs font-bold uppercase tracking-[0.2em] text-muted">Stack tecnológico premium</p>
|
||||
<div class="mt-8 grid grid-cols-2 gap-4 text-center sm:grid-cols-3 lg:grid-cols-5">
|
||||
{% set techs = [
|
||||
[".NET", "tech-dotnet.svg"],
|
||||
["TypeScript", "tech-typescript.svg"],
|
||||
["React", "tech-react.svg"],
|
||||
["Postgres", "tech-postgres.svg"],
|
||||
["AWS", "tech-aws.svg"]
|
||||
] %}
|
||||
{% for tech in techs %}
|
||||
<div class="{% if tech[0] == 'AWS' %}hidden sm:flex{% else %}flex{% endif %} min-h-32 flex-col items-center justify-center rounded-lg border border-white/70 bg-white/70 px-4 py-5 shadow-sm">
|
||||
<img src="/images/{{ tech[1] }}" alt="Logo {{ tech[0] }}" class="h-12 w-12 object-contain">
|
||||
<p class="mt-3 font-display text-xl font-bold text-slate-600">{{ tech[0] }}</p>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="casos" class="bg-white py-20">
|
||||
<div class="section-shell">
|
||||
<div class="text-center">
|
||||
<h2 class="font-display text-4xl font-bold text-ink sm:text-5xl">Casos de Éxito</h2>
|
||||
<p class="mt-3 text-muted">Soluciones reales implementadas para empresas líderes.</p>
|
||||
</div>
|
||||
<div class="mt-10 grid gap-6 lg:grid-cols-3">
|
||||
{% set cases = [
|
||||
["Industria", "ERP Empresarial a Medida", "Centralización de inventario y facturación para una distribuidora nacional.", "object-left"],
|
||||
["Logística", "Plataforma SaaS de Tracking", "Sistema en tiempo real para el seguimiento de flotas internacionales.", "object-center"],
|
||||
["Retail", "Automatización Operativa", "Workflow inteligente que redujo los tiempos de entrega en un 35%.", "object-right"]
|
||||
] %}
|
||||
{% for item in cases %}
|
||||
<article class="overflow-hidden rounded-lg border border-line bg-white shadow-sm">
|
||||
<div class="h-48 overflow-hidden bg-navy">
|
||||
<img src="/images/case-collage.png" alt="Interfaces digitales modernas para logística, analítica y arquitectura cloud" class="h-full w-full object-cover {{ item[3] }}">
|
||||
</div>
|
||||
<div class="p-5">
|
||||
<p class="text-xs font-bold uppercase tracking-wide text-flame">{{ item[0] }}</p>
|
||||
<h3 class="mt-2 text-xl font-bold text-ink">{{ item[1] }}</h3>
|
||||
<p class="mt-3 text-sm leading-6 text-muted">{{ item[2] }}</p>
|
||||
</div>
|
||||
</article>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="bg-[#f0f4ff] py-14">
|
||||
<div class="section-shell grid gap-5 md:grid-cols-3">
|
||||
{% set quotes = [
|
||||
["Ricardo Méndez", "CEO, Logística Global", "2piDev transformó nuestro sistema de turnos. Pasamos de hojas de cálculo a un software integrado que nos ahorra horas diarias.", "testimonial-alicia.png"],
|
||||
["Sofía Larrea", "Directora Ops, TextilNova", "La capacidad técnica del equipo es impresionante, pero su entendimiento del negocio fue lo que realmente marcó diferencia.", "testimonial-sofia.png"],
|
||||
["Alicia Vega", "CTO, Fintech Base", "Escalabilidad y seguridad desde el primer día. La nube tecnológica en el centro nos permitió crecer sin sobresaltos.", "testimonial-ricardo.png"]
|
||||
] %}
|
||||
{% for item in quotes %}
|
||||
<figure class="rounded-lg border border-line bg-white p-6 shadow-sm">
|
||||
<div class="flex items-center justify-between">
|
||||
<div class="flex items-center gap-3">
|
||||
<img src="/images/{{ item[3] }}" alt="Retrato de {{ item[0] }}" class="h-12 w-12 rounded-full object-cover ring-2 ring-blue-100">
|
||||
<div>
|
||||
<figcaption class="font-bold text-ink">{{ item[0] }}</figcaption>
|
||||
<p class="text-xs text-muted">{{ item[1] }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<span class="font-display text-4xl font-bold text-blue-200">99</span>
|
||||
</div>
|
||||
<blockquote class="mt-5 text-sm leading-6 text-slate-700">"{{ item[2] }}"</blockquote>
|
||||
</figure>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="contacto" class="bg-[linear-gradient(115deg,#9a3300_0%,#f97316_38%,#061832_39%,#062957_100%)] py-20 text-white">
|
||||
<div class="section-shell grid gap-10 lg:grid-cols-[0.95fr_1.05fr] lg:items-center">
|
||||
<div>
|
||||
<h2 class="font-display text-5xl font-bold leading-[0.95] sm:text-6xl">Tu próximo sistema puede convertirse en una ventaja competitiva</h2>
|
||||
<p class="mt-6 max-w-xl text-orange-50">Hablemos sobre cómo la tecnología puede acelerar tus objetivos de negocio hoy mismo.</p>
|
||||
<div class="mt-8 space-y-3 text-sm font-bold">
|
||||
<p class="flex items-center gap-3"><span class="h-2.5 w-2.5 rounded-full bg-white"></span>hola@2pidev.com</p>
|
||||
<p class="flex items-center gap-3"><span class="h-2.5 w-2.5 rounded-full bg-white"></span>Sede Central, Hub de Innovación Digital</p>
|
||||
</div>
|
||||
</div>
|
||||
<form action="https://formsubmit.co/hola@2pidev.com" method="POST" class="rounded-xl border border-white/20 bg-white p-6 text-ink shadow-panel">
|
||||
<input type="hidden" name="_next" value="https://www.2pidev.com/gracias">
|
||||
<input type="hidden" name="_captcha" value="false">
|
||||
<div class="grid gap-4 sm:grid-cols-2">
|
||||
<label class="text-sm font-bold">Nombre
|
||||
<input id="nombre" class="field mt-2 w-full rounded-md border border-line px-4 py-3 font-normal outline-none focus:border-azure focus:ring-2 focus:ring-blue-100" type="text" name="nombre" placeholder="Juan Pérez">
|
||||
<p class="error-message hidden mt-1 text-xs text-red-500">Por favor completá tu nombre</p>
|
||||
</label>
|
||||
<label class="text-sm font-bold">Empresa
|
||||
<input id="empresa" class="field mt-2 w-full rounded-md border border-line px-4 py-3 font-normal outline-none focus:border-azure focus:ring-2 focus:ring-blue-100" type="text" name="empresa" placeholder="Nombre de tu empresa">
|
||||
</label>
|
||||
</div>
|
||||
<label class="mt-4 block text-sm font-bold">Email corporativo
|
||||
<input id="email" class="field mt-2 w-full rounded-md border border-line px-4 py-3 font-normal outline-none focus:border-azure focus:ring-2 focus:ring-blue-100" type="text" name="email" placeholder="juan@empresa.com">
|
||||
<p class="error-message hidden mt-1 text-xs text-red-500">Ingresá un email válido</p>
|
||||
</label>
|
||||
<label class="mt-4 block text-sm font-bold">Mensaje
|
||||
<textarea id="mensaje" class="field mt-2 min-h-32 w-full rounded-md border border-line px-4 py-3 font-normal outline-none focus:border-azure focus:ring-2 focus:ring-blue-100" name="mensaje" placeholder="Cuéntanos un poco sobre tu proyecto..."></textarea>
|
||||
<p class="error-message hidden mt-1 text-xs text-red-500">Por favor completá tu mensaje</p>
|
||||
</label>
|
||||
<button class="btn-primary mt-5 w-full" type="submit">Enviar mensaje</button>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer class="bg-white py-12">
|
||||
<div class="section-shell grid gap-8 md:grid-cols-[auto_1fr]">
|
||||
<div>
|
||||
<div class="flex items-center gap-3">
|
||||
<img src="/images/logo.svg" alt="" class="h-10 w-10">
|
||||
<span class="font-display text-xl font-bold">2piDev</span>
|
||||
</div>
|
||||
<p class="mt-4 text-sm leading-6 text-muted">Engineering elegance. Software de alto rendimiento diseñado para el futuro corporativo.</p>
|
||||
</div>
|
||||
<div class="md:text-right">
|
||||
<h3 class="text-sm font-black uppercase tracking-wide text-ink">Contacto</h3>
|
||||
<div class="mt-4 space-y-2 text-sm text-muted">
|
||||
<p>Hablemos de tu proyecto</p>
|
||||
<a class="font-bold text-azure" href="mailto:hola@2pidev.com">hola@2pidev.com</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section-shell mt-10 border-t border-line pt-6 text-xs text-muted">
|
||||
<p>(c) 2026 2piDev. Engineered Elegance.</p>
|
||||
</div>
|
||||
</footer>
|
||||
{% if site.posthogKey %}
|
||||
<script>
|
||||
(function() {
|
||||
document.addEventListener('click', function(e) {
|
||||
var link = e.target.closest('a');
|
||||
if (!link) return;
|
||||
if (link.matches('.btn-primary, .btn-secondary, .nav-link')) {
|
||||
posthog.capture('cta_click', {
|
||||
label: link.textContent.trim(),
|
||||
href: link.getAttribute('href')
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
var form = document.querySelector('form');
|
||||
if (form) {
|
||||
form.addEventListener('submit', function() {
|
||||
var data = new FormData(form);
|
||||
posthog.capture('contact_form_submitted', {
|
||||
nombre: data.get('nombre') || '',
|
||||
empresa: data.get('empresa') || '',
|
||||
email: data.get('email') || ''
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
var sections = ['servicios', 'soluciones', 'tecnologias', 'contacto', 'casos'];
|
||||
var observer = new IntersectionObserver(function(entries) {
|
||||
entries.forEach(function(entry) {
|
||||
if (entry.isIntersecting) {
|
||||
posthog.capture('section_view', { section: entry.target.id });
|
||||
}
|
||||
});
|
||||
}, { threshold: 0.3 });
|
||||
sections.forEach(function(id) {
|
||||
var el = document.getElementById(id);
|
||||
if (el) observer.observe(el);
|
||||
});
|
||||
})();
|
||||
</script>
|
||||
{% endif %}
|
||||
<script>
|
||||
(function() {
|
||||
var form = document.querySelector('form');
|
||||
if (!form) return;
|
||||
|
||||
var emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
||||
|
||||
var fields = {
|
||||
nombre: { el: document.getElementById('nombre'), msg: 'Por favor completá tu nombre' },
|
||||
email: { el: document.getElementById('email'), msg: 'Ingresá un email válido' },
|
||||
mensaje: { el: document.getElementById('mensaje'), msg: 'Por favor completá tu mensaje' }
|
||||
};
|
||||
|
||||
function showError(field, message) {
|
||||
field.el.classList.add('border-red-500');
|
||||
field.el.classList.remove('border-line');
|
||||
var errorEl = field.el.parentElement.querySelector('.error-message');
|
||||
if (errorEl) {
|
||||
errorEl.textContent = message || field.msg;
|
||||
errorEl.classList.remove('hidden');
|
||||
}
|
||||
}
|
||||
|
||||
function clearError(field) {
|
||||
field.el.classList.remove('border-red-500');
|
||||
field.el.classList.add('border-line');
|
||||
var errorEl = field.el.parentElement.querySelector('.error-message');
|
||||
if (errorEl) errorEl.classList.add('hidden');
|
||||
}
|
||||
|
||||
function validate() {
|
||||
var valid = true;
|
||||
|
||||
if (!fields.nombre.el.value.trim()) {
|
||||
showError(fields.nombre);
|
||||
valid = false;
|
||||
} else {
|
||||
clearError(fields.nombre);
|
||||
}
|
||||
|
||||
if (!fields.email.el.value.trim() || !emailRegex.test(fields.email.el.value.trim())) {
|
||||
showError(fields.email);
|
||||
valid = false;
|
||||
} else {
|
||||
clearError(fields.email);
|
||||
}
|
||||
|
||||
if (!fields.mensaje.el.value.trim()) {
|
||||
showError(fields.mensaje);
|
||||
valid = false;
|
||||
} else {
|
||||
clearError(fields.mensaje);
|
||||
}
|
||||
|
||||
return valid;
|
||||
}
|
||||
|
||||
form.addEventListener('submit', function(e) {
|
||||
if (!validate()) {
|
||||
e.preventDefault();
|
||||
}
|
||||
});
|
||||
|
||||
Object.keys(fields).forEach(function(key) {
|
||||
fields[key].el.addEventListener('input', function() {
|
||||
clearError(fields[key]);
|
||||
});
|
||||
});
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||