From 93bc7688c311e3e0690c00f24e1d1eaa49ddf6ae Mon Sep 17 00:00:00 2001 From: Jose Selesan Date: Thu, 5 Nov 2026 21:19:00 -0300 Subject: [PATCH] =?UTF-8?q?Refine=20landing:=20mobile=20signature,=20clear?= =?UTF-8?q?er=20form,=20closing=20the=202=CF=80=20turn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix 320px overflow; nav switches to the menu below 1024px; per-stage mini cycles below lg where the sticky cycle is hidden. - Form placeholders become hints (dimmer, not fake values). - Bring the cycle to the contact close ("Escribirnos te pone en el 0°") and to the thank-you page (Relevamiento lit, "tu vuelta empezó"). - Sticky cycle: ring fills with the stage being read and closes at 360° on the closing line, with a single pulse at 0°; iteration counter loops 1–3 and clears when inactive. - Nav order matches the page; check marks for hero promises; email link on the thank-you page; unified "1 día hábil" and "turn" copy. - Record critique snapshots and update DESIGN.md. Co-Authored-By: Claude Opus 5.5 --- .../2026-11-05T20-15-53Z__src-index-njk.md | 44 ++++++++++ .../2026-11-06T00-05-13Z__src-index-njk.md | 45 ++++++++++ DESIGN.md | 12 ++- src/_data/i18n.js | 30 ++++--- src/_includes/cycle.njk | 17 ++-- src/_includes/landing.njk | 84 +++++++++++++++--- src/_includes/thanks.njk | 6 +- src/css/styles.css | 2 +- src/css/tailwind.css | 85 ++++++++++++++----- 9 files changed, 268 insertions(+), 57 deletions(-) create mode 100644 .impeccable/critique/2026-11-05T20-15-53Z__src-index-njk.md create mode 100644 .impeccable/critique/2026-11-06T00-05-13Z__src-index-njk.md diff --git a/.impeccable/critique/2026-11-05T20-15-53Z__src-index-njk.md b/.impeccable/critique/2026-11-05T20-15-53Z__src-index-njk.md new file mode 100644 index 0000000..f5488dd --- /dev/null +++ b/.impeccable/critique/2026-11-05T20-15-53Z__src-index-njk.md @@ -0,0 +1,44 @@ +--- +target: landing page v2 +total_score: 25 +max_score: 32 +na_heuristics: 7,10 +p0_count: 0 +p1_count: 2 +target_identity: "file:/Users/jose/personal-projects/2pidev/landing-page/src/index.njk" +target_fingerprint: "sha256:4cecffbfabd47f37a241e4bcd8419dac59645614fd14543c275897a342d1276c" +target_path: /Users/jose/personal-projects/2pidev/landing-page/src/index.njk +timestamp: 2026-11-05T20-15-53Z +slug: src-index-njk +--- +# Critique v2: 2piDev landing (src/index.njk via _includes/landing.njk) +Method: dual-agent (A design review, B detector). Browser overlay skipped (no browser automation). Previous run: 17/32. + +## Heuristics: 25/32 (78%, Good); 7 and 10 n/a +1 Status 3: sticky cycle shows a literal "×N" outside stage 2 (cycle.njk:38); counter freezes after leaving stage 2 (landing.njk:319). +2 Match 3: plain tú copy; degrees and "relevamiento / historias de usuario / entorno aparte" are developer vocabulary for an SME owner. +3 Control 3: Esc closes menu; thanks page is a dead end. +4 Consistency 3: nav order (process, services, team, FAQ) differs from page order (process, team, services, FAQ). +5 Error prevention 3: realistic placeholders ("Ana García") read as filled values; one-character messages pass. +6 Recognition 4: "Recibes" on every stage, promises beside the form. +8 Aesthetic 3: clean; "1 día hábil" repeated 5x; FAQ Q1 duplicates. +9 Recovery 3: specific messages, focus to first error, aria wired; summary does not link to fields. + +## Specificity +Reaches the Linear/Stripe category bar in hero, problem and process. The 2π cycle is the only product-specific element and it carries real meaning. Below the process section (team, services, stack, FAQ) the page reverts to generic; on mobile the cycle sits below the fold and the sticky interaction is hidden. Detector: 0 real findings (was 38). 3 low-contrast hits on dimmed aria-hidden SVG labels (static scan only), OpenReplay script-error is environmental. + +## Priority issues +- [P1] Credibility gap: no names, faces, place or checkable artifact; team claims unverifiable. Fix: real "Quiénes somos" (names, roles, LinkedIn), a redacted sample deliverable, state location/time zone. -> clarify / user assets +- [P1] "×N" placeholder visible at stages 0/1/3 and frozen counter. Fix: show counter only while stage 2 active; reset on exit. -> polish +- [P2] 16px horizontal overflow at 320px from nbsp "de punta a punta". Fix: drop that join or lower clamp minimum. -> adapt +- [P2] Placeholders read as values on the night form. Fix: instruction placeholders, ~4.5:1 colour. -> clarify / polish +- [P2] Signature vanishes on mobile; middle of page generic. Fix: inline cycle glyph per stage on mobile, bring the ring back at contact/thanks. -> adapt / delight + +## Personas +Jordan: jargon, degrees, no cost signal, "afinamos el presupuesto" can read as moving price. Riley: 320 overflow, ×N, frozen counter, hard-coded production thanks URL, dead stage-4 CSS. Casey: cycle below the fold, ~8,450px page, no sticky cycle, 9.5px degree labels. + +## Minor +Thanks page half-empty on desktop, email not a link, no footer/lang switch; hero promise markers look like radio buttons; nav/section order mismatch; dead CSS for stage 4. + +## Questions +Could the contact form be the visitor's own 0°? Real face or redacted proposal: which is the most persuasive true thing? Degrees or weeks for an SME owner? diff --git a/.impeccable/critique/2026-11-06T00-05-13Z__src-index-njk.md b/.impeccable/critique/2026-11-06T00-05-13Z__src-index-njk.md new file mode 100644 index 0000000..2192d3b --- /dev/null +++ b/.impeccable/critique/2026-11-06T00-05-13Z__src-index-njk.md @@ -0,0 +1,45 @@ +--- +target: landing page v3 +total_score: 23 +max_score: 32 +na_heuristics: 7,10 +p0_count: 0 +p1_count: 2 +target_identity: "file:/Users/jose/personal-projects/2pidev/landing-page/src/index.njk" +target_fingerprint: "sha256:4cecffbfabd47f37a241e4bcd8419dac59645614fd14543c275897a342d1276c" +target_path: /Users/jose/personal-projects/2pidev/landing-page/src/index.njk +timestamp: 2026-11-06T00-05-13Z +slug: src-index-njk +--- +# Critique v3: 2piDev landing (src/index.njk via _includes/landing.njk) +Method: dual-agent. Overlay skipped (no browser automation). Previous: 17/32 -> 25/32. + +## Heuristics: 23/32 (72%, Good); 7 and 10 n/a +1 Status 3: nav has no current-section state; FormSubmit step after submit is opaque. +2 Match 3: "relevamiento", "historias de usuario", degrees unexplained for SME owner. +3 Control 3: Esc/focus return good; menu does not close on outside tap. +4 Consistency 2: "Escribirnos es el 0°" (i18n.js:145) contradicts the cycle where Relevamiento is 0° (cycle.njk, thanks active=0); "1 día hábil" vs "un día hábil"; EN "turn" vs "cycle". +5 Error prevention 3: required + email check; no counter for 4000 limit. +6 Recognition 3: persistent labels, hint placeholders; no scrollspy. +8 Aesthetic 3: disciplined; problem and services rows flat. +9 Recovery 3: summary does not name fields; name error wraps at 1440. + +## Specificity +Process section, degrees, "Recibes", iteration loop, contact 0° and thanks "tu vuelta empezó" are unmistakably 2piDev. Problem, team, services (~45% of scroll) could be any studio. The ring never completes: the close line "la vuelta empieza de nuevo" gets no visual response. Detector: 3 low-contrast (dimmed inactive cycle labels at .55 opacity, 4.1:1, static scan only, real but borderline), OpenReplay script-error environmental. + +## Priority issues +- [P1] "Equipo" shows no people; claims unverifiable. Fix: 2-3 real engineers (name, role, years, LinkedIn). Needs user material. +- [P1] FormSubmit captcha interstitial (English, unbranded) between submit and /gracias (no _captcha field). Fix: _captcha=false (honeypot exists) or AJAX submit. User decision; captcha was turned on deliberately in the redesign brief. +- [P2] 0° metaphor contradicts itself (contact says writing is 0°, cycle says Relevamiento is 0°). Fix: reword "Escribirnos te pone en el 0°…" or show a pre-0° marker. +- [P2] Cycle text too small on phones (~9.5px degrees, ~13px labels at 390) and inactive labels at .55. Fix: larger viewBox font sizes when the cycle is narrow; inactive labels >= .7. +- [P2] The full turn never completes. Fix: arc progress tied to stage; close the ring at the close line. +- [P3] Mobile first viewport has no cycle (starts y≈706 at 390). + +## Personas +Jordan: jargon, no people, no size/cost signal. Riley: iteration counter unbounded ("Iteración 167" when idle), captcha, hard-coded prod thanks URL, PostHog session recording vs privacy line needs verification, menu no outside-tap close. Casey: 8,681px page, 36px menu/EN targets (<44), crowded header at 320, tiny cycle degrees, light strip above dark contact on anchor jump. + +## Minor +Hero cycle could mark 0° as start; "Sistemas que no escalan" wraps; thanks lacks lang switch and fallback; FAQ Q1 duplicates promise; summary could link fields. + +## Questions +If people are the only proof, why show none? Could an anonymized sample proposal be the proof? Should the ring actually close as the reader's reward? diff --git a/DESIGN.md b/DESIGN.md index ae5ce6d..ef97d7d 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -217,7 +217,7 @@ Flat by default; depth comes from tonal bands (ground vs white vs night) and hai ## Shapes -Gently rounded controls (8px for buttons, fields and the error summary; 6px for nav links, the menu button and focus outlines). Content regions have no corners at all: they are bands and rows. The one recurring geometry is the circle: the cycle ring, its 11px-radius nodes, the hollow node marks beside the hero promises, and the round-capped arcs (10px stroke) of the logo. +Gently rounded controls (8px for buttons, fields and the error summary; 6px for nav links, the menu button and focus outlines). Content regions have no corners at all: they are bands and rows. The one recurring geometry is the circle: the cycle ring, its 11px-radius nodes and the round-capped arcs (10px stroke) of the logo. ## Components @@ -241,14 +241,20 @@ Live only on the night surface. The system's container. A list whose children each carry a top hairline, the last also a bottom one. Rows use a two-column grid from `sm` (title column 12–20rem, description fills), titles in Title Small Ink, descriptions in Body Muted. The FAQ is a row list of `details`: 1.125rem/500 summaries at 24px padding, a drawn plus (two 1.5px Slate Ink bars) that collapses to a minus on open (300ms). ### Navigation -Sticky 4rem header on Cool Ground, transparent bottom border that turns Hairline on scroll. Desktop links are Label weight in Slate Ink, hover Ink, 8px/12px padding. A language switch in Muted and a small primary "Hablemos" button stay visible at every width. Below `md`, a 36px menu button toggles a full-width panel of 1rem/500 links separated by hairlines, with the Menu-drop shadow. +Sticky 4rem header on Cool Ground, transparent bottom border that turns Hairline on scroll. Desktop links (from `lg`, 1024px) are Label weight in Slate Ink, hover Ink, 8px/12px padding, never wrapping. A language switch in Muted and a small primary "Hablemos" button stay visible at every width. Below `lg` (phones and tablets), a 36px menu button toggles a full-width panel of 1rem/500 links separated by hairlines, with the Menu-drop shadow. ### The Cycle Diagram (signature) A 600-unit SVG: a 250-radius ring split into two round-capped 10px arcs, orange on the right (0° to 180°) and blue on the left, with a small gap at top and bottom. Four 11px nodes at 0° (Relevamiento), 90° (Propuesta), 180° (Iteraciones), 270° (Soporte) (white fill, 5px stroke in their arc's hue); labels sit inside the ring at 23px/600 Ink with a 17px/500 tabular degree beneath in Muted (side labels sit 52 units below their node so they never share a line with the centre); "2π" at 76px/600 (-0.04em) sits above centre over a 19px caption. - **Iteration loop:** a 90-radius inner circle tangent to the ring at 180°, drawn as the logo in miniature (orange right half, blue left half, 7px round-capped, gaps top and bottom), holding the "Iteraciones / 180°" label. The ring is presence for the whole turn; the loop is iterative development. Never draw development as a single segment of the ring. - **Draw on load:** arcs draw over 1.1s (blue delayed 0.45s, the loop's halves at 0.75s and 0.95s), nodes scale in from 0 staggered 0.25s apart, all on `ease-out` and only under `prefers-reduced-motion: no-preference`. - **Sticky follow:** in the process section the active stage's node scales to 1.45 and fills with its arc hue; inactive nodes keep their opaque white fill (the arc never shows through) and only their outline lightens to #ffcaa5 (orange side) or #a9cfff (blue side); labels drop to 55%, degrees 75% (0.4s transform, 0.3s fill/stroke/opacity). Never dim a node with opacity. -- **Iteration turn:** while the iterations stage (180°) is active, the loop rotates 360° every 1.8s on `ease-out` and a 17px tabular counter under its label reads "Iteración 1, 2, 3…" (static "×N" under reduced motion). +- **The turn fills (sticky cycle only):** the ring starts as a 20%-opacity track; full-colour progress arcs fill with the stage being read (0°, 90°, 180°, 270°) via `stroke-dashoffset` driven by `--pa`/`--pb` (0.6s `ease-out`, interruptible). When the closing line ("…la vuelta empieza de nuevo") reaches 55% of the viewport, the ring closes to 360°, the 0° stage becomes active again and its node pulses once (scale 1.45→1.9→1.45, 0.9s). Scrolling back above the line reopens it at the last stage read. Reduced motion keeps the progress (it is state) but drops the transition and the pulse. +- **Iteration turn:** while the iterations stage (180°) is active, the loop rotates 360° every 1.8s on `ease-out` and a 17px tabular counter under its label reads "Iteración 1, 2, 3" and loops back to 1 (never an ever-growing number) (empty whenever the loop is not turning: under reduced motion and at every other stage; it resets on exit, never a placeholder). + +- **Mini cycle (below `lg`):** where the sticky cycle does not exist, each process stage carries a 24px glyph above its degree: the two arcs at 1.8px with that stage's node filled in its arc hue at its own angle (the 180° glyph adds the tiny inner loop). Static, no motion; hidden from `lg` up. + +- **The visitor's 0° (contact close):** under the promises, a 48px ring (3.5px arcs) with its 0° node lit, beside one line of copy: writing in puts the visitor at 0°, where the conversation and discovery start. It draws once (0.9s, node at 0.7s) the first time it is 60% in view; static under reduced motion. It never sits above a heading. +- **Thanks page:** the full cycle sits in the right five columns (below the steps on mobile) with `active` 0: Relevamiento lit, the rest dimmed, and the centre caption replaced by "tu vuelta empezó". It draws on load like the hero. ### Night Contact Surface The page's close and footer on solid Ink. Headline in white, lede in `night-text`, captions and footer in `night-muted`, links white with a 40% white underline that goes solid on hover. Check marks are drawn 1.8px strokes in `night-text`. Focus outlines switch to `night-focus`, selection to Turn Orange. The footer sits on the same ground separated by a 10% white hairline. diff --git a/src/_data/i18n.js b/src/_data/i18n.js index 211d146..99e3945 100644 --- a/src/_data/i18n.js +++ b/src/_data/i18n.js @@ -23,7 +23,7 @@ module.exports = { skip: "Saltar al contenido", }, hero: { - title: "Software a\u00a0medida, de\u00a0punta\u00a0a\u00a0punta.", + title: "Software a\u00a0medida, de\u00a0punta a\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", @@ -119,7 +119,7 @@ module.exports = { faq: { title: "Antes de escribirnos", items: [ - { q: "¿Cuánto tardan en responder?", a: "Respondemos cada consulta en un día hábil." }, + { q: "¿Cuánto tardan en responder?", a: "Respondemos cada consulta en 1 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.", @@ -142,6 +142,7 @@ module.exports = { "Propuesta escrita antes de cualquier compromiso.", "Usamos tus datos solo para responderte.", ], + startTurn: "Escribirnos te pone en el 0°: la conversación y el relevamiento empiezan ahí.", orEmail: "¿Prefieres el correo?", form: { name: "Nombre", @@ -149,10 +150,10 @@ module.exports = { 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…", + namePh: "Cómo te llamas", + companyPh: "Dónde trabajas", + emailPh: "Dónde te respondemos", + messagePh: "Por ejemplo: hoy llevamos los pedidos en planillas y…", submit: "Enviar mensaje", sending: "Enviando…", privacy: @@ -172,13 +173,14 @@ module.exports = { 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:", + lede: "Te respondemos en 1 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", + center: "tu vuelta empezó", }, }, @@ -300,7 +302,7 @@ module.exports = { faq: { title: "Before you write", items: [ - { q: "How fast do you reply?", a: "We reply to every inquiry within one business day." }, + { q: "How fast do you reply?", a: "We reply to every inquiry within 1 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.", @@ -323,6 +325,7 @@ module.exports = { "Written proposal before any commitment.", "We only use your details to reply to you.", ], + startTurn: "Writing to us puts you at 0°: the conversation and discovery start there.", orEmail: "Prefer email?", form: { name: "Name", @@ -330,10 +333,10 @@ module.exports = { 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…", + namePh: "What should we call you", + companyPh: "Where you work", + emailPh: "Where we’ll reply", + messagePh: "For example: today we track orders in spreadsheets and…", submit: "Send message", sending: "Sending…", privacy: @@ -353,13 +356,14 @@ module.exports = { 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:", + lede: "We will reply within 1 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", + center: "your turn has begun", }, }, }; diff --git a/src/_includes/cycle.njk b/src/_includes/cycle.njk index 89c3e5d..ad9e32d 100644 --- a/src/_includes/cycle.njk +++ b/src/_includes/cycle.njk @@ -5,7 +5,7 @@ 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) %} +{% macro cycle(c, id, draw=false, sticky=false, active=none, center=none) %} {% set nodes = [ { x: 300, y: 50, lx: 300, ly: 140, side: "a" }, { x: 550, y: 300, lx: 455, ly: 352, side: "a" }, @@ -13,11 +13,16 @@ { x: 50, y: 300, lx: 145, ly: 352, side: "b" } ] %} {% set degs = ["0°", "90°", "180°", "270°"] %} - + {{ c.title }} {{ c.desc }} - - + + + {% if sticky %} + {# Progress: the turn fills as the reader moves through the stages and closes at the end #} + + + {% endif %} {# Iteration loop: a small 2π inside the ring #} {% endfor %} {% if sticky %} - + {% endif %} {% endmacro %} diff --git a/src/_includes/landing.njk b/src/_includes/landing.njk index 6b65456..8b1a140 100644 --- a/src/_includes/landing.njk +++ b/src/_includes/landing.njk @@ -1,7 +1,8 @@ {% from "cycle.njk" import cycle %} {% set t = i18n[lang] %} {% set pageTitle = t.meta.title %} -{% macro nodeIcon() %}{% endmacro %} +{% macro checkIcon() %}{% endmacro %} +{% macro miniCycle(i) %}{% set pos = [[12,3],[21,12],[12,21],[3,12]] %}{% set fill = "#ff7f2a" if i < 3 else "#0079ff" %}{% endmacro %} {% macro arrow() %}{% endmacro %} @@ -17,14 +18,14 @@ 2piDev -