redesign-landing #1
@@ -1,10 +1,11 @@
|
|||||||
module.exports = function(eleventyConfig) {
|
module.exports = function(eleventyConfig) {
|
||||||
eleventyConfig.addPassthroughCopy("src/css");
|
eleventyConfig.addPassthroughCopy("src/css");
|
||||||
eleventyConfig.addPassthroughCopy("src/images");
|
eleventyConfig.addPassthroughCopy("src/images");
|
||||||
|
eleventyConfig.addPassthroughCopy("src/fonts");
|
||||||
return {
|
return {
|
||||||
dir: {
|
dir: {
|
||||||
input: "src",
|
input: "src",
|
||||||
output: "_site"
|
output: "_site"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
53
.impeccable/config.json
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
{
|
||||||
|
"detector": {
|
||||||
|
"ignoreRules": [],
|
||||||
|
"ignoreFiles": [],
|
||||||
|
"ignoreValues": [
|
||||||
|
{
|
||||||
|
"rule": "oversized-h1",
|
||||||
|
"value": "*",
|
||||||
|
"files": [
|
||||||
|
".impeccable/mocks/decision/model-pick.html"
|
||||||
|
],
|
||||||
|
"createdAt": "2026-11-05T19:07:39.284Z",
|
||||||
|
"reason": "Claude: throwaway decision-round sketch, not shipped; the real headline is set during the build"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"rule": "oversized-h1",
|
||||||
|
"value": "*",
|
||||||
|
"files": [
|
||||||
|
".impeccable/mocks/decision/canon.html"
|
||||||
|
],
|
||||||
|
"createdAt": "2026-11-05T19:07:39.300Z",
|
||||||
|
"reason": "Claude: throwaway decision-round sketch, not shipped; the real headline is set during the build"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"rule": "design-system-font",
|
||||||
|
"value": "*",
|
||||||
|
"files": [
|
||||||
|
".impeccable/mocks/decision/assigned.html"
|
||||||
|
],
|
||||||
|
"createdAt": "2026-11-05T19:39:51.890Z",
|
||||||
|
"reason": "Claude: throwaway direction-round sketch, not shipped; fonts predate DESIGN.md by design"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"rule": "design-system-font",
|
||||||
|
"value": "*",
|
||||||
|
"files": [
|
||||||
|
".impeccable/mocks/decision/model-pick.html"
|
||||||
|
],
|
||||||
|
"createdAt": "2026-11-05T19:39:51.908Z",
|
||||||
|
"reason": "Claude: throwaway direction-round sketch, not shipped; fonts predate DESIGN.md by design"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"rule": "design-system-font",
|
||||||
|
"value": "*",
|
||||||
|
"files": [
|
||||||
|
".impeccable/mocks/decision/canon.html"
|
||||||
|
],
|
||||||
|
"createdAt": "2026-11-05T19:39:51.924Z",
|
||||||
|
"reason": "Claude: throwaway direction-round sketch, not shipped; fonts predate DESIGN.md by design"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
43
.impeccable/critique/2026-11-05T18-24-26Z__src-index-njk.md
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
---
|
||||||
|
target: landing page
|
||||||
|
total_score: 17
|
||||||
|
max_score: 32
|
||||||
|
na_heuristics: 7,10
|
||||||
|
p0_count: 1
|
||||||
|
p1_count: 2
|
||||||
|
target_identity: "file:/Users/jose/personal-projects/2pidev/landing-page/src/index.njk"
|
||||||
|
target_fingerprint: "sha256:8d4959929cfe09375799e91b4b332f136deedb4783fdb1c23274f77c0317d7f2"
|
||||||
|
target_path: /Users/jose/personal-projects/2pidev/landing-page/src/index.njk
|
||||||
|
timestamp: 2026-11-05T18-24-26Z
|
||||||
|
slug: src-index-njk
|
||||||
|
---
|
||||||
|
# Critique: src/index.njk (2piDev landing, Persuade)
|
||||||
|
Method: dual-agent (A: design review · B: detector). Browser overlay skipped (no browser automation); A used headless Playwright screenshots at 1440 and 390.
|
||||||
|
|
||||||
|
## Heuristics (17/32, 53%, Acceptable; 7 and 10 n/a)
|
||||||
|
1 Status 2: no submit loading state; errors not announced.
|
||||||
|
2 Real world 2: English service names in Spanish copy; voseo/tú mixed; "99" used as a quote glyph.
|
||||||
|
3 Control 2: no nav or CTA in the header under 640px.
|
||||||
|
4 Consistency 2: "Explorar portfolio completo" goes to the form; #soluciones and #casos are swapped in meaning.
|
||||||
|
5 Error prevention 2: email is type=text; no required/autocomplete; no double-submit guard; _captcha=false.
|
||||||
|
6 Recognition 3: persistent labels.
|
||||||
|
7 n/a. 8 Aesthetic 2: three 6-card walls; letter-tile placeholder icons. 9 Error recovery 2: clear copy, but red-500 contrast and no aria-invalid/aria-describedby/focus. 10 n/a.
|
||||||
|
|
||||||
|
## Specificity
|
||||||
|
Generic agency template: orange/navy gradient hero, stat chip, eyebrow pill, three 6-card grids, logo strip, cases, testimonials. The 2π brand idea goes unused. Detector: index.html 36 / URL 38 findings (low-contrast ~27, hero-eyebrow-chip, kicker-above-heading, oversized-h1, overused-font Inter 82%, undersized-ui-text 10.9px eyebrow, stragglers). dark-glow likely FP; flame/50 numerals and the "99" glyph are decorative, low relevance; OpenReplay script-error is environmental. The .njk scan was clean only because .njk gets regex-only scanning.
|
||||||
|
|
||||||
|
## Priority issues
|
||||||
|
- [P0] Credibility evidence looks fabricated: AI headshots (files swapped, :293/:295), three cases share case-collage.png (:277), the hero image shows "NEXUS ENTERPRISE" with garbled UI text, and stats contradict (+94% / +40% / +8%, "100% Escalabilidad"). Fix: remove until real; one sourced claim; real work imagery. -> distill / clarify
|
||||||
|
- [P1] Primary CTA white on #f97316 is 2.8:1 (tailwind.css:31); text-flame is 2.8:1; white heading on the orange gradient (:315); gracias button 3.6:1. Fix: ember/orange-700 for button fills; flame stays decorative. -> colorize / audit
|
||||||
|
- [P1] Contact form at the conversion moment: type=email, autocomplete, aria-invalid/describedby, focus first error, red-700, "Enviando…" state, response-time/privacy line. Analytics sends name/company/email; OpenReplay loads without consent. -> harden / clarify
|
||||||
|
- [P2] Mobile has no nav or CTA in the header (:61, :67); page is ~11,000px. Fix: compact Contacto CTA at every width or a sticky bottom CTA. -> adapt
|
||||||
|
- [P2] Copy: "detallar" should be "deleitar" (:148); register mixed; English titles; "(c)"; "Engineering elegance" vs "Engineered Elegance"; letter icons. -> clarify
|
||||||
|
|
||||||
|
## Personas
|
||||||
|
Jordan: doesn't know who 2piDev is; the portfolio link leads to a form; nothing on next steps. Riley: identical case images, AI faces, contradictory stats, open spam form. Casey: no header CTA, email keyboard missing, AWS logo hidden.
|
||||||
|
|
||||||
|
## Minor
|
||||||
|
Hover lift on cards that aren't clickable; Google Fonts @import blocks rendering; gracias page has an off-palette green, no logo, no next steps; eyebrow at 10.9px; stragglers.
|
||||||
|
|
||||||
|
## Questions
|
||||||
|
What persuades once every unprovable number and face is gone? Why doesn't 2π show up anywhere? Who is the one buyer?
|
||||||
44
.impeccable/critique/2026-11-05T20-15-53Z__src-index-njk.md
Normal file
@@ -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?
|
||||||
45
.impeccable/critique/2026-11-06T00-05-13Z__src-index-njk.md
Normal file
@@ -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?
|
||||||
164
.impeccable/design.json
Normal file
@@ -0,0 +1,164 @@
|
|||||||
|
{
|
||||||
|
"schemaVersion": 2,
|
||||||
|
"generatedAt": "2026-11-05T00:00:00Z",
|
||||||
|
"title": "Design System: 2piDev",
|
||||||
|
"extensions": {
|
||||||
|
"colorMeta": {
|
||||||
|
"ground": { "role": "neutral", "displayName": "Cool Ground", "canonical": "#fbfcfe", "tonalRamp": ["#1d2129", "#3a3f4a", "#5b616d", "#838995", "#aeb3bd", "#d3d7df", "#eceff4", "#fbfcfe"] },
|
||||||
|
"surface": { "role": "neutral", "displayName": "White", "canonical": "#ffffff", "tonalRamp": ["#222222", "#444444", "#666666", "#888888", "#aaaaaa", "#cccccc", "#eeeeee", "#ffffff"] },
|
||||||
|
"ink": { "role": "primary", "displayName": "Ink", "canonical": "#0b1220", "tonalRamp": ["#0b1220", "#1c2536", "#3a4354", "#5b6475", "#8e98ad", "#c3cad8", "#e4e7ee", "#f6f7fa"] },
|
||||||
|
"ink-2": { "role": "neutral", "displayName": "Slate Ink", "canonical": "#3a4354", "tonalRamp": ["#0b1220", "#1c2536", "#3a4354", "#5b6475", "#8e98ad", "#c3cad8", "#e4e7ee", "#f6f7fa"] },
|
||||||
|
"ink-soft": { "role": "primary", "displayName": "Soft Ink", "canonical": "#1c2536", "tonalRamp": ["#0b1220", "#1c2536", "#3a4354", "#5b6475", "#8e98ad", "#c3cad8", "#e4e7ee", "#f6f7fa"] },
|
||||||
|
"muted": { "role": "neutral", "displayName": "Muted Slate", "canonical": "#5b6475", "tonalRamp": ["#0b1220", "#1c2536", "#3a4354", "#5b6475", "#8e98ad", "#c3cad8", "#e4e7ee", "#f6f7fa"] },
|
||||||
|
"line": { "role": "neutral", "displayName": "Hairline", "canonical": "#e4e7ee", "tonalRamp": ["#0b1220", "#1c2536", "#3a4354", "#5b6475", "#8e98ad", "#cfd4de", "#e4e7ee", "#f6f7fa"] },
|
||||||
|
"orange-brand": { "role": "secondary", "displayName": "Turn Orange", "canonical": "#ff7f2a", "tonalRamp": ["#3d1702", "#6b2a05", "#b54a08", "#e0640f", "#ff7f2a", "#ffa66a", "#ffd7bd", "#fff1e8"] },
|
||||||
|
"orange-text": { "role": "secondary", "displayName": "Burnt Orange Text", "canonical": "#b54a08", "tonalRamp": ["#3d1702", "#6b2a05", "#b54a08", "#e0640f", "#ff7f2a", "#ffa66a", "#ffd7bd", "#fff1e8"] },
|
||||||
|
"blue-brand": { "role": "tertiary", "displayName": "Turn Blue", "canonical": "#0079ff", "tonalRamp": ["#001a3d", "#002f6b", "#0062d1", "#0079ff", "#4b9dff", "#8fc2ff", "#cfe4ff", "#eef5ff"] },
|
||||||
|
"blue-text": { "role": "tertiary", "displayName": "Deep Blue Text", "canonical": "#0062d1", "tonalRamp": ["#001a3d", "#002f6b", "#0062d1", "#0079ff", "#4b9dff", "#8fc2ff", "#cfe4ff", "#eef5ff"] },
|
||||||
|
"night": { "role": "neutral", "displayName": "Night", "canonical": "#0b1220", "tonalRamp": ["#0b1220", "#111a2c", "#1c2536", "#5a6684", "#74809d", "#9aa4b8", "#c3cad8", "#e4e7ee"] },
|
||||||
|
"night-field": { "role": "neutral", "displayName": "Night Field", "canonical": "#111a2c", "tonalRamp": ["#0b1220", "#111a2c", "#1c2536", "#5a6684", "#74809d", "#9aa4b8", "#c3cad8", "#e4e7ee"] },
|
||||||
|
"night-edge": { "role": "neutral", "displayName": "Night Edge", "canonical": "#5a6684", "tonalRamp": ["#0b1220", "#111a2c", "#1c2536", "#5a6684", "#74809d", "#9aa4b8", "#c3cad8", "#e4e7ee"] },
|
||||||
|
"night-text": { "role": "neutral", "displayName": "Night Text", "canonical": "#c3cad8", "tonalRamp": ["#0b1220", "#111a2c", "#1c2536", "#5a6684", "#74809d", "#9aa4b8", "#c3cad8", "#e4e7ee"] },
|
||||||
|
"night-muted": { "role": "neutral", "displayName": "Night Muted", "canonical": "#9aa4b8", "tonalRamp": ["#0b1220", "#111a2c", "#1c2536", "#5a6684", "#74809d", "#9aa4b8", "#c3cad8", "#e4e7ee"] },
|
||||||
|
"night-focus": { "role": "tertiary", "displayName": "Night Focus Blue", "canonical": "#8fc2ff", "tonalRamp": ["#001a3d", "#002f6b", "#0062d1", "#0079ff", "#4b9dff", "#8fc2ff", "#cfe4ff", "#eef5ff"] },
|
||||||
|
"night-error": { "role": "neutral", "displayName": "Night Error", "canonical": "#ff8a80", "tonalRamp": ["#3d0a06", "#6b140c", "#b32a1e", "#e04a3c", "#ff8a80", "#ffaba3", "#ffd2cd", "#fff0ee"] },
|
||||||
|
"night-error-text": { "role": "neutral", "displayName": "Night Error Text", "canonical": "#ffaba3", "tonalRamp": ["#3d0a06", "#6b140c", "#b32a1e", "#e04a3c", "#ff8a80", "#ffaba3", "#ffd2cd", "#fff0ee"] }
|
||||||
|
},
|
||||||
|
"typographyMeta": {
|
||||||
|
"display": { "displayName": "Display", "purpose": "Page H1 only, capped near 15ch, balanced wrapping." },
|
||||||
|
"headline": { "displayName": "Headline", "purpose": "Section H2s." },
|
||||||
|
"title": { "displayName": "Title", "purpose": "Process stage titles." },
|
||||||
|
"title-sm": { "displayName": "Title Small", "purpose": "Row titles, team terms; FAQ questions at weight 500." },
|
||||||
|
"lede": { "displayName": "Lede", "purpose": "Paragraph under each H2, max ~35rem, Slate Ink." },
|
||||||
|
"body": { "displayName": "Body", "purpose": "Row and stage copy, max ~34-40rem." },
|
||||||
|
"label": { "displayName": "Label", "purpose": "Buttons, nav, promises, 'you receive' lines. Never uppercase." },
|
||||||
|
"numeral": { "displayName": "Degree Numeral", "purpose": "Degree markers (0°, 72°, 144°, 216°, 288°), step numbers, year; always tabular." }
|
||||||
|
},
|
||||||
|
"shadows": [
|
||||||
|
{ "name": "button-lift", "value": "0 1px 2px rgba(11, 18, 32, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08)", "purpose": "Primary button only." },
|
||||||
|
{ "name": "menu-drop", "value": "0 12px 24px -12px rgba(11, 18, 32, 0.18)", "purpose": "Open mobile menu panel under the header." },
|
||||||
|
{ "name": "field-focus-glow", "value": "0 0 0 3px rgba(0, 121, 255, 0.35)", "purpose": "Focused fields on the night surface." }
|
||||||
|
],
|
||||||
|
"motion": [
|
||||||
|
{ "name": "ease-out", "value": "cubic-bezier(0.16, 1, 0.3, 1)", "purpose": "Cycle draw, node entrance and active-node scale (CSS var --ease-out)." },
|
||||||
|
{ "name": "duration-control", "value": "150ms", "purpose": "Button and field colour transitions." },
|
||||||
|
{ "name": "duration-header", "value": "200ms", "purpose": "Header hairline on scroll; button arrow nudge (translateX 2px)." },
|
||||||
|
{ "name": "duration-faq", "value": "300ms", "purpose": "FAQ plus-to-minus rotation; cycle opacity changes." },
|
||||||
|
{ "name": "cycle-node-scale", "value": "400ms", "purpose": "Active stage node scale to 1.45 in the sticky cycle." },
|
||||||
|
{ "name": "cycle-draw", "value": "1100ms, blue arc delayed 450ms; nodes 500ms staggered 250ms from 50ms", "purpose": "Draw-on-load of the hero cycle; only under prefers-reduced-motion: no-preference." }
|
||||||
|
],
|
||||||
|
"breakpoints": [
|
||||||
|
{ "name": "sm", "value": "640px" },
|
||||||
|
{ "name": "md", "value": "768px" },
|
||||||
|
{ "name": "lg", "value": "1024px" }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"components": [
|
||||||
|
{
|
||||||
|
"name": "Primary Button",
|
||||||
|
"kind": "button",
|
||||||
|
"refersTo": "button-primary",
|
||||||
|
"description": "Ink-filled main action with a trailing arrow that nudges on hover; one per view.",
|
||||||
|
"html": "<a class=\"ds-btn-primary\" href=\"#\">Cuéntanos tu proyecto <svg class=\"ds-arrow\" width=\"16\" height=\"16\" 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></a>",
|
||||||
|
"css": ".ds-btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 8px; background: #0b1220; color: #fff; font-family: 'Schibsted Grotesk', ui-sans-serif, system-ui, sans-serif; font-size: 0.9375rem; font-weight: 500; text-decoration: none; box-shadow: 0 1px 2px rgba(11,18,32,0.18), inset 0 1px 0 rgba(255,255,255,0.08); transition: background-color 150ms, color 150ms; } .ds-btn-primary:hover { background: #1c2536; } .ds-btn-primary .ds-arrow { transition: transform 200ms; } .ds-btn-primary:hover .ds-arrow { transform: translateX(2px); } .ds-btn-primary:focus-visible { outline: 2px solid #0062d1; outline-offset: 3px; }"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Secondary Button",
|
||||||
|
"kind": "button",
|
||||||
|
"refersTo": "button-secondary",
|
||||||
|
"description": "White, hairline-bordered companion to the primary.",
|
||||||
|
"html": "<a class=\"ds-btn-secondary\" href=\"#\">Cómo trabajamos</a>",
|
||||||
|
"css": ".ds-btn-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 8px; border: 1px solid #e4e7ee; background: #fff; color: #0b1220; font-family: 'Schibsted Grotesk', ui-sans-serif, system-ui, sans-serif; font-size: 0.9375rem; font-weight: 500; text-decoration: none; transition: background-color 150ms, border-color 150ms; } .ds-btn-secondary:hover { border-color: #cfd4de; background: #f6f7fa; } .ds-btn-secondary:focus-visible { outline: 2px solid #0062d1; outline-offset: 3px; }"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Light Button (night)",
|
||||||
|
"kind": "button",
|
||||||
|
"refersTo": "button-light",
|
||||||
|
"description": "White submit button on the night contact surface.",
|
||||||
|
"html": "<div style=\"background:#0b1220;padding:24px\"><button class=\"ds-btn-light\" type=\"button\">Enviar mensaje</button></div>",
|
||||||
|
"css": ".ds-btn-light { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 8px; background: #fff; color: #0b1220; font-family: 'Schibsted Grotesk', ui-sans-serif, system-ui, sans-serif; font-size: 0.9375rem; font-weight: 500; cursor: pointer; transition: background-color 150ms; } .ds-btn-light:hover { background: #e9ecf2; } .ds-btn-light:focus-visible { outline: 2px solid #8fc2ff; outline-offset: 3px; }"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Night Field",
|
||||||
|
"kind": "input",
|
||||||
|
"refersTo": "field",
|
||||||
|
"description": "Text field on the night surface with label, blue focus glow and error state.",
|
||||||
|
"html": "<div class=\"ds-night-wrap\"><label class=\"ds-field-label\" for=\"ds-f1\">Nombre</label><input class=\"ds-field\" id=\"ds-f1\" placeholder=\"Ana García\"><label class=\"ds-field-label\" for=\"ds-f2\" style=\"margin-top:20px\">Email</label><input class=\"ds-field\" id=\"ds-f2\" aria-invalid=\"true\" value=\"ana@\"><p class=\"ds-field-error\">Escribe un email válido.</p></div>",
|
||||||
|
"css": ".ds-night-wrap { background: #0b1220; padding: 24px; font-family: 'Schibsted Grotesk', ui-sans-serif, system-ui, sans-serif; } .ds-field-label { display: flex; justify-content: space-between; font-size: 0.875rem; font-weight: 500; color: #fff; } .ds-field { display: block; width: 100%; margin-top: 8px; padding: 12px 16px; border: 1px solid #5a6684; border-radius: 8px; background: #111a2c; color: #fff; font: inherit; font-size: 1rem; caret-color: #0079ff; transition: border-color 150ms; } .ds-field::placeholder { color: #8e98ad; } .ds-field:hover { border-color: #74809d; } .ds-field:focus { outline: none; border-color: #8fc2ff; box-shadow: 0 0 0 3px rgba(0,121,255,0.35); } .ds-field[aria-invalid=\"true\"] { border-color: #ff8a80; } .ds-field-error { margin-top: 8px; font-size: 0.875rem; color: #ffaba3; }"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Hairline Rows",
|
||||||
|
"kind": "custom",
|
||||||
|
"refersTo": "line",
|
||||||
|
"description": "The system's container: rows separated by 1px hairlines, title column plus description.",
|
||||||
|
"html": "<ul class=\"ds-rows\"><li><h3>Procesos manuales</h3><p>Personas copiando datos entre planillas, correos y sistemas, todos los días.</p></li><li><h3>Información dispersa</h3><p>Cada área tiene su propia versión de los números.</p></li></ul>",
|
||||||
|
"css": ".ds-rows { list-style: none; margin: 0; padding: 0; font-family: 'Schibsted Grotesk', ui-sans-serif, system-ui, sans-serif; } .ds-rows > li { display: grid; grid-template-columns: 12rem 1fr; gap: 32px; padding: 28px 0; border-top: 1px solid #e4e7ee; } .ds-rows > li:last-child { border-bottom: 1px solid #e4e7ee; } .ds-rows h3 { margin: 0; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; color: #0b1220; } .ds-rows p { margin: 0; line-height: 1.75; color: #5b6475; }"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "FAQ Row",
|
||||||
|
"kind": "custom",
|
||||||
|
"refersTo": "line",
|
||||||
|
"description": "Disclosure row with a drawn plus that collapses to a minus when open.",
|
||||||
|
"html": "<div class=\"ds-faq\"><details open><summary>¿Cuánto tardan en responder?<span class=\"ds-plus\"></span></summary><p>Respondemos cada consulta en un día hábil.</p></details><details><summary>¿Con quién voy a hablar?<span class=\"ds-plus\"></span></summary><p>Con los ingenieros que construyen.</p></details></div>",
|
||||||
|
"css": ".ds-faq { font-family: 'Schibsted Grotesk', ui-sans-serif, system-ui, sans-serif; } .ds-faq details { border-top: 1px solid #e4e7ee; } .ds-faq details:last-child { border-bottom: 1px solid #e4e7ee; } .ds-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; list-style: none; cursor: pointer; font-size: 1.125rem; font-weight: 500; color: #0b1220; } .ds-faq summary::-webkit-details-marker { display: none; } .ds-faq summary:hover { color: #3a4354; } .ds-plus { position: relative; width: 16px; height: 16px; flex: none; } .ds-plus::before, .ds-plus::after { content: ''; position: absolute; left: 0; top: 50%; width: 16px; height: 1.5px; background: #3a4354; transform: translateY(-50%); transition: transform 300ms; } .ds-plus::after { transform: translateY(-50%) rotate(90deg); } .ds-faq details[open] .ds-plus::after { transform: translateY(-50%) rotate(0deg); } .ds-faq p { margin: -8px 0 0; padding-bottom: 28px; max-width: 40rem; line-height: 1.75; color: #3a4354; }"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Header Navigation",
|
||||||
|
"kind": "nav",
|
||||||
|
"refersTo": "nav-link",
|
||||||
|
"description": "Sticky 4rem header: wordmark, slate nav links, language switch and small primary CTA.",
|
||||||
|
"html": "<header class=\"ds-header\"><span class=\"ds-mark\">2piDev</span><nav><a class=\"ds-nav-link\" href=\"#\">Cómo trabajamos</a><a class=\"ds-nav-link\" href=\"#\">Qué construimos</a><a class=\"ds-nav-link\" href=\"#\">Equipo</a></nav><div class=\"ds-tools\"><a class=\"ds-lang\" href=\"#\">EN</a><a class=\"ds-btn-sm\" href=\"#\">Hablemos</a></div></header>",
|
||||||
|
"css": ".ds-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 4rem; padding: 0 32px; background: #fbfcfe; border-bottom: 1px solid #e4e7ee; font-family: 'Schibsted Grotesk', ui-sans-serif, system-ui, sans-serif; } .ds-mark { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; color: #0b1220; } .ds-nav-link { padding: 8px 12px; border-radius: 6px; font-size: 0.9375rem; font-weight: 500; color: #3a4354; text-decoration: none; transition: color 150ms; } .ds-nav-link:hover { color: #0b1220; } .ds-nav-link:focus-visible, .ds-lang:focus-visible, .ds-btn-sm:focus-visible { outline: 2px solid #0062d1; outline-offset: 3px; } .ds-tools { display: flex; align-items: center; gap: 6px; } .ds-lang { padding: 8px 10px; border-radius: 6px; font-size: 0.875rem; font-weight: 500; color: #5b6475; text-decoration: none; } .ds-lang:hover { color: #0b1220; } .ds-btn-sm { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 8px; background: #0b1220; color: #fff; font-size: 0.875rem; font-weight: 500; text-decoration: none; box-shadow: 0 1px 2px rgba(11,18,32,0.18), inset 0 1px 0 rgba(255,255,255,0.08); } .ds-btn-sm:hover { background: #1c2536; }"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Cycle Diagram",
|
||||||
|
"kind": "custom",
|
||||||
|
"refersTo": "orange-brand",
|
||||||
|
"description": "Signature: the two logo arcs as one full turn, five degree-marked stage nodes, 2π at the centre; active node scales and fills.",
|
||||||
|
"html": "<svg class=\"ds-cycle\" viewBox=\"-12 -12 624 624\" role=\"img\" aria-label=\"Ciclo 2π\"><path class=\"ds-arc ds-arc-a\" d=\"M 326.1 51.4 A 250 250 0 0 1 326.1 548.6\"/><path class=\"ds-arc ds-arc-b\" d=\"M 273.9 548.6 A 250 250 0 0 1 273.9 51.4\"/><g class=\"ds-node ds-active ds-node-a\"><circle cx=\"300\" cy=\"50\" r=\"11\"/></g><g class=\"ds-node ds-node-a\"><circle cx=\"537.8\" cy=\"222.7\" r=\"11\"/></g><g class=\"ds-node ds-node-a\"><circle cx=\"446.9\" cy=\"502.3\" r=\"11\"/></g><g class=\"ds-node ds-node-b\"><circle cx=\"153.1\" cy=\"502.3\" r=\"11\"/></g><g class=\"ds-node ds-node-b\"><circle cx=\"62.2\" cy=\"222.7\" r=\"11\"/></g><text class=\"ds-label\" x=\"300\" y=\"140\" text-anchor=\"middle\">Relevamiento</text><text class=\"ds-deg\" x=\"300\" y=\"166\" text-anchor=\"middle\">0°</text><text class=\"ds-label\" x=\"452\" y=\"250\" text-anchor=\"middle\">Propuesta</text><text class=\"ds-deg\" x=\"452\" y=\"276\" text-anchor=\"middle\">72°</text><text class=\"ds-pi\" x=\"300\" y=\"318\" text-anchor=\"middle\">2π</text><text class=\"ds-center\" x=\"300\" y=\"352\" text-anchor=\"middle\">una vuelta completa</text></svg>",
|
||||||
|
"css": ".ds-cycle { display: block; width: 100%; max-width: 360px; height: auto; overflow: visible; font-family: 'Schibsted Grotesk', ui-sans-serif, system-ui, sans-serif; } .ds-arc { fill: none; stroke-width: 10; stroke-linecap: round; } .ds-arc-a { stroke: #ff7f2a; } .ds-arc-b { stroke: #0079ff; } .ds-node { transform-box: fill-box; transform-origin: center; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); } .ds-node circle { fill: #fff; stroke-width: 5; transition: fill 0.3s ease, stroke 0.3s ease; } .ds-node-a circle { stroke: #ffcaa5; } .ds-node-b circle { stroke: #a9cfff; } .ds-node-a.ds-active circle { stroke: #ff7f2a; } .ds-node-b.ds-active circle { stroke: #0079ff; } .ds-node.ds-active { transform: scale(1.45); } .ds-node-a.ds-active circle { fill: #ff7f2a; } .ds-label { fill: #0b1220; font-size: 23px; font-weight: 600; letter-spacing: -0.01em; } .ds-deg { fill: #5b6475; font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; } .ds-pi { fill: #0b1220; font-size: 76px; font-weight: 600; letter-spacing: -0.04em; } .ds-center { fill: #5b6475; font-size: 19px; font-weight: 500; }"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Night Contact Surface",
|
||||||
|
"kind": "card",
|
||||||
|
"refersTo": "night-surface",
|
||||||
|
"description": "Solid ink close: white headline, softened lede, drawn check list, underlined email link.",
|
||||||
|
"html": "<section class=\"ds-night\"><h2>Cuéntanos qué necesitas resolver.</h2><p class=\"ds-night-lede\">Con unas líneas alcanza.</p><ul><li><svg width=\"16\" height=\"16\" 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>Respuesta en 1 día hábil.</li></ul><p class=\"ds-night-muted\">¿Prefieres el correo? <a href=\"#\">hola@2pidev.com</a></p></section>",
|
||||||
|
"css": ".ds-night { background: #0b1220; color: #fff; padding: 48px 32px; font-family: 'Schibsted Grotesk', ui-sans-serif, system-ui, sans-serif; } .ds-night h2 { margin: 0; font-size: 2.25rem; font-weight: 600; line-height: 1.08; letter-spacing: -0.032em; } .ds-night-lede { margin: 20px 0 0; font-size: 1.125rem; line-height: 1.6; color: #c3cad8; } .ds-night ul { list-style: none; margin: 36px 0 0; padding: 0; } .ds-night li { display: flex; align-items: flex-start; gap: 12px; color: #c3cad8; } .ds-night li svg { margin-top: 4px; flex: none; } .ds-night-muted { margin: 40px 0 0; color: #9aa4b8; } .ds-night a { font-weight: 500; color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); text-underline-offset: 0.2em; text-decoration-thickness: 1px; } .ds-night a:hover { text-decoration-color: #fff; } .ds-night a:focus-visible { outline: 2px solid #8fc2ff; outline-offset: 3px; border-radius: 6px; }"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"narrative": {
|
||||||
|
"northStar": "The Full Turn",
|
||||||
|
"overview": "2π is a full turn, so the system is drawn as one cycle on a quiet sheet of paper. A cool near-white ground, dark ink type and hairline rules carry everything; the logo's two arcs (orange and blue) are the only colour, and they are spent almost entirely on the cycle diagram and its stage markers. The craft register is the clean modern studio site done carefully: tight display tracking, generous section rhythm, tabular degree numerals, no ornament that the content does not earn.\n\nDensity is calm and editorial. Content sits in hairline-ruled rows rather than boxes, alternating sections switch between the ground and pure white with a rule at each seam, and the page closes on a solid ink \"night\" surface that holds the contact form. Depth is almost flat: one soft lift on the primary button and the mobile menu, a blue glow on focused fields, nothing else.\n\nThe world refuses card-grid walls, stat chips, eyebrow kickers, stock or generated imagery, and decorative colour outside the cycle.",
|
||||||
|
"keyCharacteristics": [
|
||||||
|
"Cool white ground, ink type, hairline rules instead of containers.",
|
||||||
|
"The two logo hues appear only as the cycle and its stage markers.",
|
||||||
|
"One typeface (Schibsted Grotesk) at semibold with negative tracking for headings.",
|
||||||
|
"Stages marked in degrees (0°, 72°, 144°, 216°, 288°), always tabular.",
|
||||||
|
"Dark ink primary buttons; the page closes on a solid ink night surface."
|
||||||
|
],
|
||||||
|
"rules": [
|
||||||
|
{ "name": "The Two Arcs Rule", "body": "Orange and blue belong to the cycle: its arcs, nodes and degree numerals, plus direct derivatives of the logo mark (the thanks-page ring, selection and caret tints). They never fill buttons, backgrounds, icons or headings.", "section": "colors" },
|
||||||
|
{ "name": "The Contrast Twin Rule", "body": "Each brand hue has a text twin (`orange-text`, `blue-text`). Brand values draw strokes; text twins set type.", "section": "colors" },
|
||||||
|
{ "name": "The Tight Heading Rule", "body": "Every heading is semibold with negative tracking proportional to size (-0.04em display, -0.032em headline, -0.025em title, -0.01em small title). Body and labels are never tracked.", "section": "typography" },
|
||||||
|
{ "name": "The Degree Rule", "body": "Sequence is expressed in degrees of the turn, always tabular, never as \"Step 01\" or a kicker above the heading.", "section": "typography" },
|
||||||
|
{ "name": "The Hairline-Not-Box Rule", "body": "Group content with 1px `line` rules between rows, never with shadowed cards. A header gains its bottom hairline only once the page scrolls.", "section": "elevation" }
|
||||||
|
],
|
||||||
|
"dos": [
|
||||||
|
"Do separate content with 1px `#e4e7ee` hairline rows and alternate ground/white bands with a rule at each seam.",
|
||||||
|
"Do keep orange and blue on the cycle, its nodes and degree numerals; set numerals as text in `orange-text` / `blue-text`.",
|
||||||
|
"Do set every heading in Schibsted Grotesk 600 with negative tracking, and every numeral tabular.",
|
||||||
|
"Do use the Ink primary button for the single main action per view and the bordered white secondary beside it.",
|
||||||
|
"Do gate every entrance animation behind `prefers-reduced-motion: no-preference`, using `cubic-bezier(0.16, 1, 0.3, 1)`.",
|
||||||
|
"Do draw icons as thin round-capped SVG strokes in ink or the current text colour."
|
||||||
|
],
|
||||||
|
"donts": [
|
||||||
|
"Don't build card grids, stat chips or boxed feature tiles; rows and bands carry structure.",
|
||||||
|
"Don't put eyebrow kickers or uppercase labels above headings.",
|
||||||
|
"Don't fill buttons, backgrounds or headings with the brand orange or blue.",
|
||||||
|
"Don't use stock photos, generated imagery, fabricated logos or metrics.",
|
||||||
|
"Don't add shadows beyond the three in the vocabulary.",
|
||||||
|
"Don't introduce a second typeface or a monospace for numbers."
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
24
.impeccable/surfaces/src-index-njk.md
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
version: 1
|
||||||
|
slug: "src-index-njk"
|
||||||
|
primary_target: "src/index.njk"
|
||||||
|
related_targets: ["src/en/index.njk","src/gracias.njk"]
|
||||||
|
---
|
||||||
|
|
||||||
|
# Surface: landing page (src/index.njk + /en/)
|
||||||
|
|
||||||
|
Mode: Persuade. Audience: SME owners, ops managers, CTOs comparing vendors at their desk. Action: send the contact form. Proof: process, two promises (reply in 1 business day, written proposal before committing), honesty about a small senior team. No testimonials, cases, metrics or generated imagery. Spanish (tú) + English at /en/.
|
||||||
|
|
||||||
|
## Direction contract
|
||||||
|
|
||||||
|
THESIS: The category standard (clean modern studio site) executed at Linear/Stripe craft, owning one idea: 2π is a full turn, so the whole offer is drawn as one cycle. Refuses card-grid walls, stat chips, eyebrows, stock imagery.
|
||||||
|
|
||||||
|
OWN-WORLD: Cool white ground (#fbfcfe), ink #0b1220, hairline #e4e7ee rules instead of boxes; the logo's orange #ff7f2a and blue #0079ff appear only as the two arcs of the cycle and tiny stage markers; dark ink primary buttons; Schibsted Grotesk throughout (self-hosted; replaced Geist at the user's request) with tight display tracking and tabular degree numerals; the contact close on solid ink.
|
||||||
|
|
||||||
|
STORY: Visitor learns that 2piDev is a small senior team that takes custom software from survey to support, sees exactly what each stage hands them, reads the two promises, and writes in.
|
||||||
|
|
||||||
|
FIRST VIEWPORT: Left: H1 "Software a medida, de punta a punta." at ~4.5rem, two-sentence subcopy, primary CTA "Cuéntanos tu proyecto" + secondary "Cómo trabajamos", the two promises as a quiet line. Right: the cycle diagram (two logo arcs, four stage nodes, an inner two-tone iteration loop at 180°, labels inside the ring), drawn on load. Header with nav, ES/EN and a "Hablemos" CTA at every width.
|
||||||
|
|
||||||
|
FORM: Category standard (standing exit, chosen by the user over the rolled "Orden de trabajo" and the pick "Cartel de obra"); not on the grounded list. Signature interaction: in "Cómo trabajamos" the cycle sticks beside the four stages on desktop and its active node follows the stage being read; while the iterations stage is read, the inner loop turns and counts "Iteración 1, 2, 3…". Stages are marked in degrees (0°, 90°, 180°, 270°). The ring means being present for the whole turn; the inner loop means development is iterative (refine → build → deliver), never waterfall. seed:43024f826098094c
|
||||||
|
|
||||||
|
FINISH: unreviewed and undocumented is unfinished; this build ends with the finish review, the verdict, DESIGN.md, and every shipping raster carrying its provenance
|
||||||
278
DESIGN.md
Normal file
@@ -0,0 +1,278 @@
|
|||||||
|
---
|
||||||
|
name: 2piDev
|
||||||
|
description: A small senior software studio drawn as one full turn, from survey to support.
|
||||||
|
colors:
|
||||||
|
ground: "#fbfcfe"
|
||||||
|
surface: "#ffffff"
|
||||||
|
ink: "#0b1220"
|
||||||
|
ink-2: "#3a4354"
|
||||||
|
ink-soft: "#1c2536"
|
||||||
|
muted: "#5b6475"
|
||||||
|
line: "#e4e7ee"
|
||||||
|
orange-brand: "#ff7f2a"
|
||||||
|
orange-text: "#b54a08"
|
||||||
|
blue-brand: "#0079ff"
|
||||||
|
blue-text: "#0062d1"
|
||||||
|
night: "#0b1220"
|
||||||
|
night-field: "#111a2c"
|
||||||
|
night-edge: "#5a6684"
|
||||||
|
night-text: "#c3cad8"
|
||||||
|
night-muted: "#9aa4b8"
|
||||||
|
night-focus: "#8fc2ff"
|
||||||
|
night-error: "#ff8a80"
|
||||||
|
night-error-text: "#ffaba3"
|
||||||
|
typography:
|
||||||
|
display:
|
||||||
|
fontFamily: "Schibsted Grotesk, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif"
|
||||||
|
fontSize: "clamp(2.6rem, 1.6rem + 4.2vw, 4.75rem)"
|
||||||
|
fontWeight: 600
|
||||||
|
lineHeight: 1.02
|
||||||
|
letterSpacing: "-0.04em"
|
||||||
|
headline:
|
||||||
|
fontFamily: "Schibsted Grotesk, ui-sans-serif, system-ui, sans-serif"
|
||||||
|
fontSize: "clamp(1.9rem, 1.4rem + 1.9vw, 2.85rem)"
|
||||||
|
fontWeight: 600
|
||||||
|
lineHeight: 1.08
|
||||||
|
letterSpacing: "-0.032em"
|
||||||
|
title:
|
||||||
|
fontFamily: "Schibsted Grotesk, ui-sans-serif, system-ui, sans-serif"
|
||||||
|
fontSize: "1.5rem"
|
||||||
|
fontWeight: 600
|
||||||
|
lineHeight: 1.33
|
||||||
|
letterSpacing: "-0.025em"
|
||||||
|
title-sm:
|
||||||
|
fontFamily: "Schibsted Grotesk, ui-sans-serif, system-ui, sans-serif"
|
||||||
|
fontSize: "1.125rem"
|
||||||
|
fontWeight: 600
|
||||||
|
lineHeight: 1.55
|
||||||
|
letterSpacing: "-0.01em"
|
||||||
|
lede:
|
||||||
|
fontFamily: "Schibsted Grotesk, ui-sans-serif, system-ui, sans-serif"
|
||||||
|
fontSize: "clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem)"
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 1.6
|
||||||
|
body:
|
||||||
|
fontFamily: "Schibsted Grotesk, ui-sans-serif, system-ui, sans-serif"
|
||||||
|
fontSize: "1rem"
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 1.75
|
||||||
|
label:
|
||||||
|
fontFamily: "Schibsted Grotesk, ui-sans-serif, system-ui, sans-serif"
|
||||||
|
fontSize: "0.9375rem"
|
||||||
|
fontWeight: 500
|
||||||
|
lineHeight: 1.5
|
||||||
|
numeral:
|
||||||
|
fontFamily: "Schibsted Grotesk, ui-sans-serif, system-ui, sans-serif"
|
||||||
|
fontSize: "1rem"
|
||||||
|
fontWeight: 500
|
||||||
|
fontFeature: "tnum"
|
||||||
|
rounded:
|
||||||
|
sm: "6px"
|
||||||
|
md: "8px"
|
||||||
|
full: "9999px"
|
||||||
|
spacing:
|
||||||
|
gutter-mobile: "20px"
|
||||||
|
gutter: "32px"
|
||||||
|
row-y: "24px"
|
||||||
|
row-y-lg: "28px"
|
||||||
|
stage-y: "40px"
|
||||||
|
stage-y-lg: "56px"
|
||||||
|
section-y: "80px"
|
||||||
|
section-y-lg: "112px"
|
||||||
|
shell: "76rem"
|
||||||
|
components:
|
||||||
|
button-primary:
|
||||||
|
backgroundColor: "{colors.ink}"
|
||||||
|
textColor: "{colors.surface}"
|
||||||
|
typography: "{typography.label}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "0 20px"
|
||||||
|
height: "44px"
|
||||||
|
button-primary-hover:
|
||||||
|
backgroundColor: "{colors.ink-soft}"
|
||||||
|
button-secondary:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.label}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "0 20px"
|
||||||
|
height: "44px"
|
||||||
|
button-small:
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "0 14px"
|
||||||
|
height: "36px"
|
||||||
|
button-light:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.label}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "0 20px"
|
||||||
|
height: "44px"
|
||||||
|
field:
|
||||||
|
backgroundColor: "{colors.night-field}"
|
||||||
|
textColor: "{colors.surface}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "12px 16px"
|
||||||
|
nav-link:
|
||||||
|
textColor: "{colors.ink-2}"
|
||||||
|
typography: "{typography.label}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
padding: "8px 12px"
|
||||||
|
nav-link-hover:
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
night-surface:
|
||||||
|
backgroundColor: "{colors.night}"
|
||||||
|
textColor: "{colors.surface}"
|
||||||
|
---
|
||||||
|
|
||||||
|
# Design System: 2piDev
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
**Creative North Star: "The Full Turn"**
|
||||||
|
|
||||||
|
2π is a full turn, so the system is drawn as one cycle on a quiet sheet of paper. A cool near-white ground, dark ink type and hairline rules carry everything; the logo's two arcs (orange and blue) are the only colour, and they are spent almost entirely on the cycle diagram and its stage markers. The craft register is the clean modern studio site done carefully: tight display tracking, generous section rhythm, tabular degree numerals, no ornament that the content does not earn.
|
||||||
|
|
||||||
|
Density is calm and editorial. Content sits in hairline-ruled rows rather than boxes, alternating sections switch between the ground and pure white with a rule at each seam, and the page closes on a solid ink "night" surface that holds the contact form. Depth is almost flat: one soft lift on the primary button and the mobile menu, a blue glow on focused fields, nothing else.
|
||||||
|
|
||||||
|
The world refuses card-grid walls, stat chips, eyebrow kickers, stock or generated imagery, and decorative colour outside the cycle.
|
||||||
|
|
||||||
|
**Key Characteristics:**
|
||||||
|
- Cool white ground, ink type, hairline rules instead of containers.
|
||||||
|
- The two logo hues appear only as the cycle and its stage markers.
|
||||||
|
- One typeface (Schibsted Grotesk) at semibold with negative tracking for headings.
|
||||||
|
- Stages marked in degrees (0°, 90°, 180°, 270°), always tabular.
|
||||||
|
- Dark ink primary buttons; the page closes on a solid ink night surface.
|
||||||
|
|
||||||
|
## Colors
|
||||||
|
|
||||||
|
A near-monochrome ink-on-cool-white palette with two saturated logo hues held in reserve for the cycle.
|
||||||
|
|
||||||
|
### Primary
|
||||||
|
- **Ink** (`ink`): headings, primary button fill, cycle labels and the 2π mark, the night surface. The system's dominant voice.
|
||||||
|
- **Soft Ink** (`ink-soft`): primary button hover only.
|
||||||
|
|
||||||
|
### Secondary
|
||||||
|
- **Turn Orange** (`orange-brand`): the first arc of the cycle (stages 0°, 90°, 180°) and its nodes, and the right half of the iteration loop; the thanks mark; selection fill on the night surface; tinted as `#ffd7bd` for text selection on light ground.
|
||||||
|
- **Burnt Orange Text** (`orange-text`): degree numerals for the orange stages when set as text on light ground, where the brand orange would fail contrast.
|
||||||
|
|
||||||
|
### Tertiary
|
||||||
|
- **Turn Blue** (`blue-brand`): the second arc of the cycle (270°) and its node, and the left half of the iteration loop; text caret in inputs; the focus-glow tint on fields.
|
||||||
|
- **Deep Blue Text** (`blue-text`): degree numerals for the blue stages as text, and the global focus outline on light ground.
|
||||||
|
|
||||||
|
### Neutral
|
||||||
|
- **Cool Ground** (`ground`): page background and header; also `theme-color`.
|
||||||
|
- **White** (`surface`): alternating section bands, secondary button fill, cycle node fill.
|
||||||
|
- **Slate Ink** (`ink-2`): lede, nav links, stage body copy.
|
||||||
|
- **Muted Slate** (`muted`): row descriptions, language switch, cycle degree and centre captions.
|
||||||
|
- **Hairline** (`line`): every rule, row divider, section seam and secondary button border.
|
||||||
|
- **Night** (`night`, `night-field`, `night-edge`, `night-text`, `night-muted`): the contact surface and footer: ink ground, a slightly lifted field fill, a mid-slate field edge, softened body text and muted captions. `night-focus` is the focus colour on night; `night-error` / `night-error-text` carry validation.
|
||||||
|
|
||||||
|
### Named Rules
|
||||||
|
**The Two Arcs Rule.** Orange and blue belong to the cycle: its arcs, nodes and degree numerals, plus direct derivatives of the logo mark (the thanks-page ring, selection and caret tints). They never fill buttons, backgrounds, icons or headings.
|
||||||
|
|
||||||
|
**The Contrast Twin Rule.** Each brand hue has a text twin (`orange-text`, `blue-text`). Brand values draw strokes; text twins set type.
|
||||||
|
|
||||||
|
## Typography
|
||||||
|
|
||||||
|
**Display Font:** Schibsted Grotesk (self-hosted variable woff2, weights 400–900, with ui-sans-serif / system-ui fallback)
|
||||||
|
**Body Font:** Schibsted Grotesk
|
||||||
|
**Label/Mono Font:** none; numerals use `tabular-nums` instead of a mono face.
|
||||||
|
|
||||||
|
**Character:** A single newsroom-born grotesk does all the work. Headings are semibold and pulled tight; body stays at regular weight with open leading.
|
||||||
|
|
||||||
|
### Hierarchy
|
||||||
|
- **Display** (600, fluid 2.6rem to 4.75rem, 1.02): page H1 only, capped near 15ch; balanced wrapping.
|
||||||
|
- **Headline** (600, fluid 1.9rem to 2.85rem, 1.08): section H2s.
|
||||||
|
- **Title** (600, 1.5rem, -0.025em): process stage titles.
|
||||||
|
- **Title Small** (600, 1.125rem, -0.01em): row titles, team terms, FAQ questions (at 500).
|
||||||
|
- **Lede** (400, fluid ~1.06rem to 1.19rem, 1.6): the paragraph under each H2, max ~35rem, in Slate Ink.
|
||||||
|
- **Body** (400, 1rem, 1.75): row and stage copy, max ~34–40rem, `text-wrap: pretty`.
|
||||||
|
- **Label** (500, 0.9375rem): buttons, nav, promises, "you receive" lines. Never uppercase.
|
||||||
|
- **Numeral** (500, tabular): degree markers, step numbers, the copyright year.
|
||||||
|
|
||||||
|
### Named Rules
|
||||||
|
**The Tight Heading Rule.** Every heading is semibold with negative tracking proportional to size (-0.04em display, -0.032em headline, -0.025em title, -0.01em small title). Body and labels are never tracked.
|
||||||
|
|
||||||
|
**The Degree Rule.** Sequence is expressed in degrees of the turn, always tabular, never as "Step 01" or a kicker above the heading.
|
||||||
|
|
||||||
|
## Layout
|
||||||
|
|
||||||
|
A single shell (max 76rem, 20px gutters, 32px from `sm`) with a 12-column grid at `lg` (1024px). Sections breathe at 80px vertical padding, 112px from `sm`. Section pattern: H2 (and lede) on the left 4–6 columns, hairline rows on the right 6–8 columns; on mobile everything stacks in one column. The hero splits 1.12fr / 0.88fr with the cycle on the right, max ~33rem wide.
|
||||||
|
|
||||||
|
Sections alternate between Cool Ground and White bands with a hairline at each seam. Rows inside a list sit at 24–28px vertical padding; process stages at 40px (56px at `lg`), offset by a fixed degree column (3.75rem, 4.5rem from `sm`). In "How we work" the cycle sticks at `top: 7rem` beside the stages on desktop and is hidden below `lg`. The sticky header is 4rem; anchors scroll with a 5rem offset. Breakpoints: `sm` 640px, `md` 768px (desktop nav appears), `lg` 1024px.
|
||||||
|
|
||||||
|
## Elevation & Depth
|
||||||
|
|
||||||
|
Flat by default; depth comes from tonal bands (ground vs white vs night) and hairlines. Only three shadows exist.
|
||||||
|
|
||||||
|
### Shadow Vocabulary
|
||||||
|
- **Button lift** (`box-shadow: 0 1px 2px rgba(11,18,32,0.18), inset 0 1px 0 rgba(255,255,255,0.08)`): primary button only.
|
||||||
|
- **Menu drop** (`box-shadow: 0 12px 24px -12px rgba(11,18,32,0.18)`): the open mobile menu panel under the header.
|
||||||
|
- **Field focus glow** (`box-shadow: 0 0 0 3px rgba(0,121,255,0.35)`): focused fields on night.
|
||||||
|
|
||||||
|
### Named Rules
|
||||||
|
**The Hairline-Not-Box Rule.** Group content with 1px `line` rules between rows, never with shadowed cards. A header gains its bottom hairline only once the page scrolls.
|
||||||
|
|
||||||
|
## 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 and the round-capped arcs (10px stroke) of the logo.
|
||||||
|
|
||||||
|
## Components
|
||||||
|
|
||||||
|
### Buttons
|
||||||
|
Dark, compact and confident; a 2px arrow nudge is the only flourish.
|
||||||
|
- **Shape:** gently curved (8px), min-height 44px (36px small).
|
||||||
|
- **Primary:** Ink fill, white label, 20px side padding, Button-lift shadow; hover to Soft Ink. Trailing arrow shifts 2px right on hover (200ms).
|
||||||
|
- **Secondary:** White fill, Hairline border, Ink label; hover border `#cfd4de` and fill `#f6f7fa`.
|
||||||
|
- **Light (night only):** White fill, Ink label; hover `#e9ecf2`. The submit button is Light, full width on mobile, with an inline spinner and 80% opacity while busy.
|
||||||
|
- **Focus:** global 2px outline (`blue-text` on light, `night-focus` on night) at 3px offset.
|
||||||
|
|
||||||
|
### Inputs / Fields
|
||||||
|
Live only on the night surface.
|
||||||
|
- **Style:** `night-field` fill, 1px `night-edge` border, 8px radius, 12px/16px padding, white text, placeholder `#8e98ad`, caret Turn Blue.
|
||||||
|
- **Hover:** border `#74809d`.
|
||||||
|
- **Focus:** border `night-focus` plus Field-focus glow; no outline.
|
||||||
|
- **Error:** border `night-error`, message below in `night-error-text` at 0.875rem; a summary block above the form uses a 60% `night-error` border over a 10% tint with `#ffd2cd` text.
|
||||||
|
- **Labels:** white 0.875rem/500 above the field; optional hints right-aligned in `night-muted` at 0.75rem.
|
||||||
|
|
||||||
|
### Hairline Rows
|
||||||
|
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 (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.
|
||||||
|
- **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.
|
||||||
|
|
||||||
|
## Do's and Don'ts
|
||||||
|
|
||||||
|
### Do:
|
||||||
|
- **Do** separate content with 1px `#e4e7ee` hairline rows and alternate ground/white bands with a rule at each seam.
|
||||||
|
- **Do** keep orange and blue on the cycle, its nodes and degree numerals; set numerals as text in `orange-text` / `blue-text`.
|
||||||
|
- **Do** set every heading in Schibsted Grotesk 600 with negative tracking, and every numeral tabular.
|
||||||
|
- **Do** use the Ink primary button for the single main action per view and the bordered white secondary beside it.
|
||||||
|
- **Do** gate every entrance animation behind `prefers-reduced-motion: no-preference`, using `cubic-bezier(0.16, 1, 0.3, 1)`.
|
||||||
|
- **Do** draw icons as thin round-capped SVG strokes in ink or the current text colour.
|
||||||
|
|
||||||
|
### Don't:
|
||||||
|
- **Don't** build card grids, stat chips or boxed feature tiles; rows and bands carry structure.
|
||||||
|
- **Don't** put eyebrow kickers or uppercase labels above headings.
|
||||||
|
- **Don't** fill buttons, backgrounds or headings with the brand orange or blue.
|
||||||
|
- **Don't** use stock photos, generated imagery, fabricated logos or metrics.
|
||||||
|
- **Don't** add shadows beyond the three in the vocabulary.
|
||||||
|
- **Don't** introduce a second typeface or a monospace for numbers.
|
||||||
67
PRODUCT.md
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
# Product
|
||||||
|
|
||||||
|
<!-- impeccable:product-schema 1 -->
|
||||||
|
|
||||||
|
## Platform
|
||||||
|
|
||||||
|
web
|
||||||
|
|
||||||
|
## Users
|
||||||
|
|
||||||
|
Companies that need custom software built. Three buyer types are all in scope; none takes priority:
|
||||||
|
|
||||||
|
- **SME owner / general manager:** often non-technical. Their business runs on spreadsheets and manual processes, and growth is exposing it.
|
||||||
|
- **Operations / area manager at a mid-size company:** needs an internal system and has to justify the project internally.
|
||||||
|
- **CTO / tech lead:** wants a senior external team for a specific build or extra capacity, and will judge architecture and stack.
|
||||||
|
|
||||||
|
Their job on the landing page: decide whether 2piDev is a credible, competent partner worth a first conversation, then request one through the contact form.
|
||||||
|
|
||||||
|
## Product Purpose
|
||||||
|
|
||||||
|
2piDev is a small software studio (2–5 people) that designs, builds and runs custom software for companies: internal systems, process automation, integrations, web and mobile apps, and cloud infrastructure. The landing page exists to turn a qualified visitor into a contact request. Success means a booked consultation from a buyer who fits.
|
||||||
|
|
||||||
|
## Positioning
|
||||||
|
|
||||||
|
What 2piDev can truthfully claim, and a larger agency cannot:
|
||||||
|
|
||||||
|
- **Business-first:** every engagement starts by surveying the business process (relevamiento) before any code is written, and the team speaks the client's language, not jargon.
|
||||||
|
- **Senior team only:** clients work directly with experienced engineers. There are no juniors and no account-manager layer in between.
|
||||||
|
- **Full cycle, end to end:** one team owns discovery, design, build, deployment and ongoing support.
|
||||||
|
|
||||||
|
The name carries this: **2π is a full turn, 360°**, meaning complete, end-to-end work. This is a confirmed brand meaning, not decoration.
|
||||||
|
|
||||||
|
## Operating Context
|
||||||
|
|
||||||
|
- Buyers evaluate the studio from the landing page, often comparing several vendors, before reaching out.
|
||||||
|
- The conversion path is a contact form (name, company, email, message) sent through FormSubmit, which redirects to `/gracias`.
|
||||||
|
- Analytics: PostHog (key via `POSTHOG_API_KEY`) and an OpenReplay session-recording snippet are currently on the page.
|
||||||
|
|
||||||
|
## Capabilities and Constraints
|
||||||
|
|
||||||
|
- Services offered (from the current site): custom software, process automation, systems integration, web and mobile apps (iOS/Android), cloud architecture.
|
||||||
|
- Working stack: .NET, TypeScript, React, PostgreSQL, AWS.
|
||||||
|
- Site stack: static Eleventy + Tailwind CSS, built with Bun, served by Nginx through Docker on Dokploy. There is no backend; the form posts to FormSubmit.
|
||||||
|
- Languages: Spanish (neutral Latin American, **tú**) is primary; English is built alongside it for English-speaking clients.
|
||||||
|
- Response time: every inquiry gets a reply within **1 business day** (confirmed). A written proposal is delivered before the client commits (confirmed).
|
||||||
|
- **Undecided:** where the studio is based and whether to say so publicly; pricing or engagement model; whether to keep OpenReplay session recording.
|
||||||
|
|
||||||
|
## Brand Commitments
|
||||||
|
|
||||||
|
- Name: **2piDev**, with the 2π mark (`src/images/logo.svg`, `logo-64x64.png`, `favicon.svg`).
|
||||||
|
- 2π = full circle / 360° = end-to-end delivery (confirmed meaning).
|
||||||
|
- Voice: direct and plain, business language before technical language; it should sound like senior people.
|
||||||
|
|
||||||
|
## Evidence on Hand
|
||||||
|
|
||||||
|
- **No publishable proof exists yet:** no client names, quotes, case studies, screenshots, metrics or logos.
|
||||||
|
- The current testimonials (`testimonial-*.png`, names and quotes) are fictional and the portraits are generated (stated in README.md). The case images (`case-collage.png`), hero image (`hero-dashboard.png`) and results image (`results-dashboard.png`) are generated.
|
||||||
|
- Every metric on the current page (+94%, +40%, +8%, -60%, "100% Escalabilidad") is unsourced.
|
||||||
|
- Future work must **not** fabricate testimonials, client names, logos, case studies, screenshots or metrics. Persuade with the positioning, the process, the team's expertise and honesty, until real evidence exists.
|
||||||
|
- Technology logos (`tech-*.svg`) are real third-party marks, usable to show the stack.
|
||||||
|
|
||||||
|
## Product Principles
|
||||||
|
|
||||||
|
1. **Claim only what is true.** A small senior team with an honest page beats a template that pretends to be a big agency.
|
||||||
|
2. **Business before technology.** Lead with the buyer's problem and outcome; show the stack as supporting evidence for the technical buyer.
|
||||||
|
3. **End to end is the promise.** Everything should reinforce that one team takes the work from survey to support: the full turn.
|
||||||
|
4. **Lower the cost of a first conversation.** Make it obvious what happens after someone gets in touch, and make it safe to do so.
|
||||||
31
README.md
@@ -14,7 +14,12 @@ Landing institucional de 2piDev construida con Eleventy y Tailwind CSS. El sitio
|
|||||||
```txt
|
```txt
|
||||||
.
|
.
|
||||||
├── src/
|
├── src/
|
||||||
│ ├── index.njk # Landing principal
|
│ ├── index.njk # Landing en español (usa _includes/landing.njk)
|
||||||
|
│ ├── en/ # Versión en inglés (/en/, /en/thanks/)
|
||||||
|
│ ├── gracias.njk # Página de gracias (usa _includes/thanks.njk)
|
||||||
|
│ ├── _includes/ # Plantillas: landing, thanks, head, diagrama del ciclo
|
||||||
|
│ ├── _data/i18n.js # Todos los textos, en español e inglés
|
||||||
|
│ ├── fonts/ # Schibsted Grotesk, servida localmente
|
||||||
│ ├── css/
|
│ ├── css/
|
||||||
│ │ ├── tailwind.css # CSS fuente con directivas Tailwind
|
│ │ ├── tailwind.css # CSS fuente con directivas Tailwind
|
||||||
│ │ └── styles.css # CSS compilado que Eleventy copia al build
|
│ │ └── styles.css # CSS compilado que Eleventy copia al build
|
||||||
@@ -102,29 +107,15 @@ Los assets viven en `src/images/` y se copian automáticamente a `_site/images/`
|
|||||||
Incluye:
|
Incluye:
|
||||||
|
|
||||||
- Logo principal y favicon.
|
- Logo principal y favicon.
|
||||||
- Imágenes generadas/originales para hero, resultados y casos de éxito.
|
|
||||||
- Retratos ficticios generados para testimonios.
|
|
||||||
- Logos SVG de tecnologías: `.NET`, TypeScript, React, PostgreSQL y AWS.
|
- Logos SVG de tecnologías: `.NET`, TypeScript, React, PostgreSQL y AWS.
|
||||||
|
|
||||||
Para reemplazar una imagen, conservar el mismo nombre de archivo evita cambios en el HTML. Si se cambia el nombre, actualizar la referencia en `src/index.njk`.
|
La landing no usa testimonios, casos, métricas ni imágenes generadas: solo se publica evidencia real. Ver `PRODUCT.md`.
|
||||||
|
|
||||||
## Contenido Principal
|
## Contenido Principal
|
||||||
|
|
||||||
Toda la landing está en `src/index.njk`. Las secciones actuales son:
|
La estructura está en `src/_includes/landing.njk` y todos los textos en `src/_data/i18n.js` (claves `es` y `en`). Para cambiar un texto, editarlo en ambos idiomas.
|
||||||
|
|
||||||
- Header con navegación y CTA.
|
Secciones: header, hero con el diagrama del ciclo (2π), problema, cómo trabajamos (ciclo de cinco etapas), equipo, qué construimos, preguntas y contacto.
|
||||||
- Hero principal.
|
|
||||||
- Problemas frecuentes de empresas en crecimiento.
|
|
||||||
- Soluciones digitales.
|
|
||||||
- Resultados y métricas.
|
|
||||||
- Método de trabajo.
|
|
||||||
- Stack tecnológico.
|
|
||||||
- Casos de éxito.
|
|
||||||
- Testimonios.
|
|
||||||
- Formulario de contacto.
|
|
||||||
- Footer.
|
|
||||||
|
|
||||||
Algunas listas, como servicios, pasos, tecnologías, casos y testimonios, están definidas como arrays dentro del template para facilitar edición rápida.
|
|
||||||
|
|
||||||
## Convenciones
|
## Convenciones
|
||||||
|
|
||||||
@@ -163,10 +154,10 @@ git push
|
|||||||
|
|
||||||
## Mantenimiento
|
## Mantenimiento
|
||||||
|
|
||||||
Si se agregan nuevas tecnologías, sumar el SVG a `src/images/` y actualizar el array `techs` en `src/index.njk`.
|
Si se agregan nuevas tecnologías, sumar el SVG a `src/images/` y actualizar la lista de tecnologías en `src/_includes/landing.njk`.
|
||||||
|
|
||||||
Si se agregan nuevas secciones o componentes visuales, preferir mantenerlos en el mismo template mientras la landing siga siendo simple. Crear layouts/includes de Eleventy solo cuando haya repetición real o más páginas.
|
Si se agregan nuevas secciones o componentes visuales, preferir mantenerlos en el mismo template mientras la landing siga siendo simple. Crear layouts/includes de Eleventy solo cuando haya repetición real o más páginas.
|
||||||
|
|
||||||
## Licencias y Uso de Imágenes
|
## Licencias y Uso de Imágenes
|
||||||
|
|
||||||
Los retratos de testimonios son ficticios y generados para este proyecto. Los logos de tecnologías pertenecen a sus respectivas marcas. Las imágenes de producto/interfaz usadas como visuales de la landing deben mantenerse como assets locales del proyecto para que el deploy sea reproducible.
|
Los logos de tecnologías pertenecen a sus respectivas marcas. La fuente Schibsted Grotesk se distribuye bajo SIL Open Font License.
|
||||||
|
|||||||
369
src/_data/i18n.js
Normal file
@@ -0,0 +1,369 @@
|
|||||||
|
// 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 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",
|
||||||
|
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 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.",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
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.",
|
||||||
|
],
|
||||||
|
startTurn: "Escribirnos te pone en el 0°: la conversación y el relevamiento empiezan ahí.",
|
||||||
|
orEmail: "¿Prefieres el correo?",
|
||||||
|
form: {
|
||||||
|
name: "Nombre",
|
||||||
|
company: "Empresa",
|
||||||
|
companyHint: "Opcional",
|
||||||
|
email: "Email",
|
||||||
|
message: "¿Qué necesitas resolver?",
|
||||||
|
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:
|
||||||
|
"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 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ó",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
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 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.",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
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.",
|
||||||
|
],
|
||||||
|
startTurn: "Writing to us puts you at 0°: the conversation and discovery start there.",
|
||||||
|
orEmail: "Prefer email?",
|
||||||
|
form: {
|
||||||
|
name: "Name",
|
||||||
|
company: "Company",
|
||||||
|
companyHint: "Optional",
|
||||||
|
email: "Email",
|
||||||
|
message: "What do you need to solve?",
|
||||||
|
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:
|
||||||
|
"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 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",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
@@ -1,4 +1,7 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
|
url: 'https://www.2pidev.com',
|
||||||
|
email: 'hola@2pidev.com',
|
||||||
|
year: new Date().getFullYear(),
|
||||||
posthogKey: process.env.POSTHOG_API_KEY || null,
|
posthogKey: process.env.POSTHOG_API_KEY || null,
|
||||||
posthogHost: process.env.POSTHOG_API_HOST || 'https://us.i.posthog.com',
|
posthogHost: process.env.POSTHOG_API_HOST || 'https://us.i.posthog.com',
|
||||||
}
|
}
|
||||||
|
|||||||
50
src/_includes/cycle.njk
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
{#
|
||||||
|
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, 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" },
|
||||||
|
{ 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" style="--pa:0;--pb:0"{% elif active != none %} data-active="{{ active }}"{% endif %}>
|
||||||
|
<title id="{{ id }}-title">{{ c.title }}</title>
|
||||||
|
<desc id="{{ id }}-desc">{{ c.desc }}</desc>
|
||||||
|
<path class="arc arc-a{% if sticky %} track{% endif %}" pathLength="1" d="M 326.1 51.4 A 250 250 0 0 1 326.1 548.6" />
|
||||||
|
<path class="arc arc-b{% if sticky %} track{% endif %}" pathLength="1" d="M 273.9 548.6 A 250 250 0 0 1 273.9 51.4" />
|
||||||
|
{% if sticky %}
|
||||||
|
{# Progress: the turn fills as the reader moves through the stages and closes at the end #}
|
||||||
|
<path class="arc arc-a progress progress-a" pathLength="1" d="M 326.1 51.4 A 250 250 0 0 1 326.1 548.6" />
|
||||||
|
<path class="arc arc-b progress progress-b" pathLength="1" d="M 273.9 548.6 A 250 250 0 0 1 273.9 51.4" />
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{# 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 }}"></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">{{ center or 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>
|
||||||
462
src/_includes/landing.njk
Normal file
@@ -0,0 +1,462 @@
|
|||||||
|
{% from "cycle.njk" import cycle %}
|
||||||
|
{% set t = i18n[lang] %}
|
||||||
|
{% set pageTitle = t.meta.title %}
|
||||||
|
{% macro checkIcon() %}<svg viewBox="0 0 16 16" fill="none" aria-hidden="true"><path d="M3 8.5l3.2 3L13 4.5" stroke="#0b1220" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>{% endmacro %}
|
||||||
|
{% macro miniCycle(i) %}{% set pos = [[12,3],[21,12],[12,21],[3,12]] %}{% set fill = "#ff7f2a" if i < 3 else "#0079ff" %}<svg class="mini-cycle" viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="M13.2 3.1A9 9 0 0 1 13.2 20.9" stroke="#ff7f2a" stroke-width="1.8" stroke-linecap="round"/><path d="M10.8 20.9A9 9 0 0 1 10.8 3.1" stroke="#0079ff" stroke-width="1.8" stroke-linecap="round"/>{% if i == 2 %}<path d="M12.6 12.6a3.6 3.6 0 0 1 0 7.2" stroke="#ff7f2a" stroke-width="1.4" stroke-linecap="round"/><path d="M11.4 19.8a3.6 3.6 0 0 1 0-7.2" stroke="#0079ff" stroke-width="1.4" stroke-linecap="round"/>{% endif %}<circle cx="{{ pos[i][0] }}" cy="{{ pos[i][1] }}" r="3" fill="{{ fill }}" stroke="#fbfcfe" stroke-width="1.6"/></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 lg:flex" aria-label="{{ t.nav.main }}">
|
||||||
|
<a class="nav-link" href="#process">{{ t.nav.process }}</a>
|
||||||
|
<a class="nav-link" href="#team">{{ t.nav.team }}</a>
|
||||||
|
<a class="nav-link" href="#services">{{ t.nav.services }}</a>
|
||||||
|
<a class="nav-link" href="#faq">{{ t.nav.faq }}</a>
|
||||||
|
</nav>
|
||||||
|
<div class="flex items-center gap-1.5">
|
||||||
|
<button class="menu-btn lg: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 lg: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="#team">{{ t.nav.team }}</a>
|
||||||
|
<a href="#services">{{ t.nav.services }}</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">{{ checkIcon() }}{{ t.hero.promises[0] }}</li>
|
||||||
|
<li class="promise">{{ checkIcon() }}{{ 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' }}">{{ miniCycle(loop.index0) }}{{ 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 data-cycle-close 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>
|
||||||
|
<div class="start-turn mt-10 flex items-center gap-4 border-t border-white/10 pt-8" data-start-turn>
|
||||||
|
<svg class="h-12 w-12 flex-none" viewBox="0 0 48 48" fill="none" aria-hidden="true">
|
||||||
|
<path class="st-arc" pathLength="1" d="M26.4 4.1A20 20 0 0 1 26.4 43.9" stroke="#ff7f2a" stroke-width="3.5" stroke-linecap="round"/>
|
||||||
|
<path class="st-arc st-arc-b" pathLength="1" d="M21.6 43.9A20 20 0 0 1 21.6 4.1" stroke="#0079ff" stroke-width="3.5" stroke-linecap="round"/>
|
||||||
|
<circle class="st-node" cx="24" cy="4" r="4.5" fill="#ff7f2a" stroke="#0b1220" stroke-width="2.5"/>
|
||||||
|
</svg>
|
||||||
|
<p class="text-[0.9375rem] leading-6 text-night-text">{{ t.contact.startTurn }}</p>
|
||||||
|
</div>
|
||||||
|
<p class="mt-8 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: 1024px)').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) {
|
||||||
|
// The ring fills with the reader: 0°, 90°, 180°, 270°, and closes (360°) at the closing line.
|
||||||
|
// Orange arc spans 6°–174°, blue 186°–354° (pathLength 1 each).
|
||||||
|
var closeLine = document.querySelector('[data-cycle-close]');
|
||||||
|
var closed = false; // while the closing line is in view, the turn stays closed
|
||||||
|
var lastStage = '0';
|
||||||
|
function setProgress(deg) {
|
||||||
|
var pa = Math.min(Math.max((deg - 6) / 168, 0), 1);
|
||||||
|
var pb = Math.min(Math.max((deg - 186) / 168, 0), 1);
|
||||||
|
cycleEl.style.setProperty('--pa', pa);
|
||||||
|
cycleEl.style.setProperty('--pb', pb);
|
||||||
|
}
|
||||||
|
var io = new IntersectionObserver(function (entries) {
|
||||||
|
entries.forEach(function (entry) {
|
||||||
|
if (!entry.isIntersecting) return;
|
||||||
|
var i = entry.target.getAttribute('data-stage');
|
||||||
|
lastStage = i;
|
||||||
|
if (closed) return;
|
||||||
|
setProgress(i * 90);
|
||||||
|
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); });
|
||||||
|
// The turn closes as soon as the closing line comes into view (while the ring is still whole),
|
||||||
|
// and reopens at 270° if the reader scrolls back above it.
|
||||||
|
if (closeLine) {
|
||||||
|
new IntersectionObserver(function (entries) {
|
||||||
|
var e = entries[0];
|
||||||
|
if (e.isIntersecting) {
|
||||||
|
closed = true;
|
||||||
|
setProgress(360);
|
||||||
|
cycleEl.setAttribute('data-active', '0');
|
||||||
|
cycleEl.setAttribute('data-complete', '');
|
||||||
|
stages.forEach(function (s) { s.removeAttribute('data-current'); });
|
||||||
|
} else if (closed && e.boundingClientRect.top > 0) {
|
||||||
|
closed = false;
|
||||||
|
cycleEl.removeAttribute('data-complete');
|
||||||
|
setProgress(lastStage * 90);
|
||||||
|
cycleEl.setAttribute('data-active', lastStage);
|
||||||
|
stages.forEach(function (s) { s.toggleAttribute('data-current', s.getAttribute('data-stage') === lastStage); });
|
||||||
|
}
|
||||||
|
}, { rootMargin: '0px 0px -45% 0px' }).observe(closeLine);
|
||||||
|
}
|
||||||
|
|
||||||
|
// 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 = turn % 3 + 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; counter.textContent = ''; }
|
||||||
|
}).observe(cycleEl, { attributes: true, attributeFilter: ['data-active'] });
|
||||||
|
}
|
||||||
|
|
||||||
|
// The visitor's own turn: the small ring by the form draws once when it comes into view
|
||||||
|
var startTurn = document.querySelector('[data-start-turn]');
|
||||||
|
if (startTurn && 'IntersectionObserver' in window) {
|
||||||
|
startTurn.classList.add('is-waiting');
|
||||||
|
var sto = new IntersectionObserver(function (entries) {
|
||||||
|
if (!entries[0].isIntersecting) return;
|
||||||
|
startTurn.classList.remove('is-waiting');
|
||||||
|
startTurn.classList.add('is-drawn');
|
||||||
|
sto.disconnect();
|
||||||
|
}, { threshold: 0.6 });
|
||||||
|
sto.observe(startTurn);
|
||||||
|
}
|
||||||
|
|
||||||
|
// 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>
|
||||||
47
src/_includes/thanks.njk
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
{% from "cycle.njk" import cycle %}
|
||||||
|
{% 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 | replace(site.email, '<a class="font-medium text-ink underline decoration-line underline-offset-4 hover:decoration-ink" href="mailto:' + site.email + '">' + site.email + '</a>') | safe }}</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 class="mx-auto w-full max-w-[22rem] lg:col-span-5 lg:max-w-[28rem]">
|
||||||
|
{{ cycle(t.cycle, "cycle-thanks", true, false, 0, t.thanks.center) }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -1,84 +1,528 @@
|
|||||||
@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 base;
|
||||||
@tailwind components;
|
@tailwind components;
|
||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
|
|
||||||
|
/* ---------- Base ---------- */
|
||||||
@layer base {
|
@layer base {
|
||||||
|
:root {
|
||||||
|
--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
|
||||||
|
--header-h: 4rem;
|
||||||
|
color-scheme: light;
|
||||||
|
}
|
||||||
|
|
||||||
html {
|
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 {
|
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 {
|
::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 {
|
@layer components {
|
||||||
.section-shell {
|
.shell {
|
||||||
@apply mx-auto w-full max-w-6xl px-5 sm:px-6 lg:px-8;
|
@apply mx-auto w-full max-w-shell px-5 sm:px-8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.eyebrow {
|
.skip-link {
|
||||||
@apply text-[0.68rem] font-bold uppercase tracking-[0.16em] text-azure;
|
@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 {
|
/* Header */
|
||||||
@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;
|
.site-header {
|
||||||
|
@apply sticky top-0 z-50 border-b border-transparent bg-ground transition-colors duration-200;
|
||||||
|
height: var(--header-h);
|
||||||
}
|
}
|
||||||
|
.site-header[data-scrolled] {
|
||||||
.btn-secondary {
|
@apply border-line;
|
||||||
@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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-link {
|
.nav-link {
|
||||||
@apply text-sm font-semibold text-slate-700 transition hover:text-azure;
|
@apply whitespace-nowrap 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 {
|
/* Buttons */
|
||||||
@apply rounded-lg border border-line bg-white p-5 shadow-sm transition hover:-translate-y-1 hover:shadow-soft;
|
.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 {
|
/* Type */
|
||||||
@apply flex h-9 w-9 items-center justify-center rounded-md text-base font-black text-white;
|
.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 {
|
.section {
|
||||||
background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
|
@apply py-20 sm:py-28;
|
||||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
||||||
box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
|
|
||||||
backdrop-filter: blur(16px);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.dash-screen {
|
/* Promise marks: small arcs from the logo */
|
||||||
background:
|
.promise {
|
||||||
radial-gradient(circle at 20% 18%, rgba(249, 115, 22, 0.18), transparent 30%),
|
@apply inline-flex items-center gap-2 text-[0.9375rem] text-ink-2;
|
||||||
radial-gradient(circle at 80% 18%, rgba(0, 110, 230, 0.22), transparent 32%),
|
}
|
||||||
linear-gradient(135deg, #10243f 0%, #071323 52%, #132d4b 100%);
|
.promise svg {
|
||||||
|
@apply h-4 w-4 flex-none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dash-grid {
|
/* Cycle diagram */
|
||||||
background-image:
|
.cycle {
|
||||||
linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
|
@apply block h-auto w-full;
|
||||||
linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
|
overflow: visible;
|
||||||
background-size: 28px 28px;
|
}
|
||||||
|
.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;
|
||||||
|
}
|
||||||
|
/* Sticky cycle: the ring is a faint track that fills as the reader advances */
|
||||||
|
.cycle .track {
|
||||||
|
opacity: 0.2;
|
||||||
|
}
|
||||||
|
.cycle .progress {
|
||||||
|
stroke-dasharray: 1;
|
||||||
|
}
|
||||||
|
.cycle .progress-a {
|
||||||
|
stroke-dashoffset: calc(1 - var(--pa, 1));
|
||||||
|
}
|
||||||
|
.cycle .progress-b {
|
||||||
|
stroke-dashoffset: calc(1 - var(--pb, 1));
|
||||||
|
}
|
||||||
|
@media (prefers-reduced-motion: no-preference) {
|
||||||
|
.cycle .progress {
|
||||||
|
transition: stroke-dashoffset 0.6s var(--ease-out);
|
||||||
|
}
|
||||||
|
.cycle[data-complete] .stage-0 .node {
|
||||||
|
animation: node-pulse 0.9s var(--ease-out) 0.45s;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/* "Writing to us is your 0°": hidden only while JS waits for it to scroll in; drawn once */
|
||||||
|
@media (prefers-reduced-motion: no-preference) {
|
||||||
|
.start-turn.is-waiting .st-arc {
|
||||||
|
stroke-dasharray: 1;
|
||||||
|
stroke-dashoffset: 1;
|
||||||
|
}
|
||||||
|
.start-turn.is-waiting .st-node {
|
||||||
|
transform: scale(0);
|
||||||
|
}
|
||||||
|
.start-turn .st-node {
|
||||||
|
transform-box: fill-box;
|
||||||
|
transform-origin: center;
|
||||||
|
}
|
||||||
|
.start-turn.is-drawn .st-arc {
|
||||||
|
stroke-dasharray: 1;
|
||||||
|
animation: cycle-draw 0.9s var(--ease-out) both;
|
||||||
|
}
|
||||||
|
.start-turn.is-drawn .st-arc-b {
|
||||||
|
animation-delay: 0.3s;
|
||||||
|
}
|
||||||
|
.start-turn.is-drawn .st-node {
|
||||||
|
animation: cycle-node 0.5s var(--ease-out) 0.7s both;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.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 {
|
@media (prefers-reduced-motion: no-preference) {
|
||||||
@apply h-2 rounded-full bg-slate-700;
|
.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) backwards;
|
||||||
|
}
|
||||||
|
.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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.metric-fill {
|
/* Active stage (sticky cycle in "How we work", thanks page): its node comes forward.
|
||||||
@apply block h-full rounded-full;
|
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 {
|
||||||
|
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) {
|
||||||
|
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 {
|
||||||
|
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 {
|
||||||
|
fill: #0079ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.case-display {
|
/* Process stages */
|
||||||
background:
|
.stage-item {
|
||||||
linear-gradient(180deg, rgba(6, 24, 50, 0.05), rgba(6, 24, 50, 0.16)),
|
@apply border-t border-line py-10 first:border-t-0 first:pt-0 lg:py-14;
|
||||||
linear-gradient(135deg, #10243f, #071323 48%, #123965);
|
}
|
||||||
|
.stage-deg {
|
||||||
|
@apply tnum text-base font-medium;
|
||||||
|
}
|
||||||
|
/* Below lg there is no sticky cycle: each stage carries a mini cycle with its own node marked */
|
||||||
|
.mini-cycle {
|
||||||
|
@apply mb-1 block h-6 w-6 lg:hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 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;
|
||||||
|
}
|
||||||
|
/* Placeholders are hints, never values: dimmer than typed text (#7a849d ≈ 4.6:1 on the field) */
|
||||||
|
.field::placeholder {
|
||||||
|
color: #7a849d;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
.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 node-pulse {
|
||||||
|
40% {
|
||||||
|
transform: scale(1.9);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes cycle-node {
|
||||||
|
from {
|
||||||
|
transform: scale(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
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
|
layout: thanks.njk
|
||||||
title: Gracias | 2piDev
|
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
|
layout: landing.njk
|
||||||
title: 2piDev | Software a medida
|
lang: es
|
||||||
description: Soluciones digitales de élite para empresas que necesitan operar, crecer y vender con sistemas a medida.
|
|
||||||
---
|
---
|
||||||
<!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>
|
|
||||||
|
|||||||
@@ -4,24 +4,21 @@ module.exports = {
|
|||||||
theme: {
|
theme: {
|
||||||
extend: {
|
extend: {
|
||||||
colors: {
|
colors: {
|
||||||
ink: "#071323",
|
ground: "#fbfcfe",
|
||||||
muted: "#637083",
|
ink: { DEFAULT: "#0b1220", 2: "#3a4354", soft: "#1c2536" },
|
||||||
paper: "#f7f8fc",
|
muted: "#5b6475",
|
||||||
line: "#dde3ed",
|
line: "#e4e7ee",
|
||||||
flame: "#f97316",
|
orange: { brand: "#ff7f2a", text: "#b54a08" },
|
||||||
ember: "#b94700",
|
blue: { brand: "#0079ff", text: "#0062d1" },
|
||||||
azure: "#006ee6",
|
night: { DEFAULT: "#0b1220", field: "#111a2c", edge: "#5a6684", text: "#c3cad8", muted: "#9aa4b8" },
|
||||||
navy: "#061832"
|
|
||||||
},
|
},
|
||||||
fontFamily: {
|
fontFamily: {
|
||||||
sans: ["Inter", "ui-sans-serif", "system-ui", "sans-serif"],
|
sans: ["Schibsted Grotesk", "ui-sans-serif", "system-ui", "-apple-system", "Segoe UI", "sans-serif"],
|
||||||
display: ["Rajdhani", "Inter", "ui-sans-serif", "system-ui", "sans-serif"]
|
|
||||||
},
|
},
|
||||||
boxShadow: {
|
maxWidth: {
|
||||||
soft: "0 18px 50px rgba(15, 35, 63, 0.12)",
|
shell: "76rem",
|
||||||
panel: "0 22px 70px rgba(6, 24, 50, 0.22)"
|
},
|
||||||
}
|
},
|
||||||
}
|
|
||||||
},
|
},
|
||||||
plugins: []
|
plugins: [],
|
||||||
};
|
};
|
||||||
|
|||||||