Redesign landing page around the 2π work cycle
- Replace fabricated proof (testimonials, AI portraits, case images, unsourced metrics) with the real offer: a small senior team present for the whole turn, a written proposal, and iterative delivery. - New cycle diagram built from the logo's arcs: four stages with an inner iteration loop that turns while the iterations stage is read. - Accessible contact form (email type, autocomplete, announced errors, sending state, honeypot, captcha on) and no PII sent to PostHog. - English version at /en/ and /en/thanks/, all copy in _data/i18n.js. - Contrast fixes, mobile menu, self-hosted Schibsted Grotesk. - Add PRODUCT.md and DESIGN.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
45
src/_includes/cycle.njk
Normal file
45
src/_includes/cycle.njk
Normal file
@@ -0,0 +1,45 @@
|
||||
{#
|
||||
The 2π cycle: being present for the whole turn.
|
||||
Outer ring = the logo's two arcs (orange, blue) with four stages at 0°, 90°, 180°, 270°.
|
||||
At 180° an inner loop, tangent to the ring, is the iteration engine: a small 2π that turns
|
||||
many times (refine → build → deliver). Labels sit inside the ring.
|
||||
Geometry: viewBox 600×600, centre (300,300), ring radius 250; loop centre (300,460), radius 90.
|
||||
#}
|
||||
{% macro cycle(c, id, draw=false, sticky=false) %}
|
||||
{% set nodes = [
|
||||
{ x: 300, y: 50, lx: 300, ly: 140, side: "a" },
|
||||
{ x: 550, y: 300, lx: 455, ly: 352, side: "a" },
|
||||
{ x: 300, y: 550, lx: 300, ly: 452, side: "a" },
|
||||
{ x: 50, y: 300, lx: 145, ly: 352, side: "b" }
|
||||
] %}
|
||||
{% set degs = ["0°", "90°", "180°", "270°"] %}
|
||||
<svg class="cycle{% if draw %} cycle-draw{% endif %}" id="{{ id }}" viewBox="-12 -12 624 624" role="img" aria-labelledby="{{ id }}-title {{ id }}-desc"{% if sticky %} data-active="0"{% endif %}>
|
||||
<title id="{{ id }}-title">{{ c.title }}</title>
|
||||
<desc id="{{ id }}-desc">{{ c.desc }}</desc>
|
||||
<path class="arc arc-a" pathLength="1" d="M 326.1 51.4 A 250 250 0 0 1 326.1 548.6" />
|
||||
<path class="arc arc-b" pathLength="1" d="M 273.9 548.6 A 250 250 0 0 1 273.9 51.4" />
|
||||
|
||||
{# Iteration loop: a small 2π inside the ring #}
|
||||
<g class="loop" aria-hidden="true">
|
||||
<g class="loop-spin">
|
||||
<path class="arc loop-arc arc-a" pathLength="1" d="M 312.5 370.9 A 90 90 0 0 1 312.5 549.1" />
|
||||
<path class="arc loop-arc arc-b" pathLength="1" d="M 287.5 549.1 A 90 90 0 0 1 287.5 370.9" />
|
||||
</g>
|
||||
</g>
|
||||
|
||||
{% for n in nodes %}
|
||||
<g class="stage stage-{{ loop.index0 }}" aria-hidden="true">
|
||||
<g class="node node-{{ n.side }}"><circle cx="{{ n.x }}" cy="{{ n.y }}" r="11" /></g>
|
||||
<text class="label" x="{{ n.lx }}" y="{{ n.ly }}" text-anchor="middle">{{ c.labels[loop.index0] }}</text>
|
||||
<text class="deg" x="{{ n.lx }}" y="{{ n.ly + 26 }}" text-anchor="middle">{{ degs[loop.index0] }}</text>
|
||||
</g>
|
||||
{% endfor %}
|
||||
{% if sticky %}
|
||||
<text class="loop-count" x="300" y="505" text-anchor="middle" aria-hidden="true" data-loop-count data-word="{{ c.iteration }}">×N</text>
|
||||
{% endif %}
|
||||
<g aria-hidden="true">
|
||||
<text class="pi" x="300" y="268" text-anchor="middle">2π</text>
|
||||
<text class="center" x="300" y="302" text-anchor="middle">{{ c.center }}</text>
|
||||
</g>
|
||||
</svg>
|
||||
{% endmacro %}
|
||||
Reference in New Issue
Block a user