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:
55
src/_includes/head.njk
Normal file
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>
|
||||
Reference in New Issue
Block a user