Skip to content

A local-first multi-agent app development platform, built on PenguinHarness

16.0 KB
Raw Blame
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Survey One-Pager — Lieflat Report Template · Porcelain Rail</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;0,8..60,700;1,8..60,400&display=swap" rel="stylesheet">
<style>
  /* ═══════════════════════════════════════════════════════════════
     LIEFLAT REPORT TEMPLATE 01 · SURVEY ONE-PAGER
     场景:调研 / 白皮书一页摘要(对外发布、公众号头图、PDF 附页)
     排版参考:WARC "Health of creativity"(主栏 + 彩色侧栏轨道,
               衬线大标题混排无衬线正文)—— 只学排版和字体。
     色板正本 = color-presets.js 的 PORCELAIN 一套,不新增色值。
     图表正本 = lieflat gallery:
       图A  L15 ballot tally   · lupi-gallery.html  "What they fear, tick by tick"
       图B  L14 hundred field  · lupi-gallery.html  "A hundred of us, four minds"
       图C  F5  tick rows      · basics-gallery.html "Six teams, shipped and counted"
     彩色加墨规则(INK_BOOST):发丝线宽 ×1.8,透明度地板 .85。
     ═══════════════════════════════════════════════════════════════ */
  :root{
    /* PORCELAIN preset roles */
    --bg:#F7F2EB; --txt:#081F5C;
    --mut:rgba(8,31,92,.60); --lab:rgba(8,31,92,.72);
    --faint:rgba(8,31,92,.32); --quiet:rgba(8,31,92,.15);
    --track:rgba(8,31,92,.12); --grid:rgba(8,31,92,.16);
    --data:#334EAC; --data2:#7096D1; --hero:#081F5C; --faintdata:#BAD6EB;
    --railbg:#334EAC; --raildark:#081F5C;
  }
  *{margin:0;padding:0;box-sizing:border-box}
  body{background:var(--bg);color:var(--txt);font-family:'Inter',sans-serif;
    -webkit-font-smoothing:antialiased;font-variant-numeric:tabular-nums lining-nums;
    display:flex;justify-content:center;padding:48px 24px}
  .sheet{width:1080px;max-width:1080px;background:var(--bg);
    display:grid;grid-template-columns:1fr 300px}

  /* ── 主栏 ── */
  .main{padding:56px 48px 44px 8px}
  .serif{font-family:'Source Serif 4',serif}
  h1{font-family:'Source Serif 4',serif;font-size:52px;font-weight:400;
    letter-spacing:-.01em;line-height:1.03;margin-bottom:8px}
  h1 b{font-weight:700}
  .dek{font-family:'Source Serif 4',serif;font-size:26px;font-weight:400;
    line-height:1.25;margin:44px 0 6px;max-width:520px}
  .qhead{font-family:'Source Serif 4',serif;font-size:26px;line-height:1.25;
    margin:60px 0 0;max-width:520px}
  .kick{font-size:10px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
    color:var(--mut);margin-bottom:14px}
  .kick .n{color:var(--data)}
  .claim{font-size:13.5px;font-weight:700;letter-spacing:-.01em;margin:34px 0 4px}
  .body{font-size:12.5px;line-height:1.7;color:var(--lab);max-width:520px;margin-top:8px}
  .body u{text-decoration-color:var(--data2);text-underline-offset:3px}
  .srcline{font-size:9px;font-weight:600;letter-spacing:.11em;text-transform:uppercase;
    color:var(--faint);margin-top:10px}
  .fig{margin-top:14px}
  .fig svg{width:100%;height:auto;display:block}
  svg text{font-family:'Inter',sans-serif}

  /* ── 底部小倍数 callout(纯排字,不占图额度)── */
  .traits{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:44px;
    border-top:1px solid var(--txt);padding-top:24px}
  .traits .t .big{font-size:30px;font-weight:800;letter-spacing:-.03em;color:var(--data)}
  .traits .t .nm{font-size:10.5px;font-weight:700;margin-top:8px}
  .traits .t .ds{font-size:10.5px;line-height:1.55;color:var(--mut);margin-top:5px}

  /* ── 侧栏轨道 ── */
  .rail{display:flex;flex-direction:column}
  .rail .top{background:var(--railbg);color:var(--bg);padding:56px 30px 48px;flex:1}
  .rail .bot{background:var(--raildark);color:var(--bg);padding:44px 30px 52px}
  .rail h3{font-size:16px;font-weight:700;letter-spacing:-.01em;line-height:1.3;margin-bottom:18px}
  .rail p{font-size:11.5px;line-height:1.75;opacity:.88}
  .rail p+p{margin-top:12px}
  .rail .lbl{font-size:9px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
    opacity:.6;margin-bottom:12px}
  .rail .link{font-size:11px;font-weight:700;margin-top:20px;text-decoration:underline;
    text-underline-offset:3px}

  /* ── 动画(mono-tokens MOTION.css 原样)── */
  .pop{transform-box:fill-box;transform-origin:center;animation:pop .5s cubic-bezier(.2,.7,.3,1.3) both}
  @keyframes pop{from{transform:scale(0)}to{transform:none}}
  .fade{animation:fade .9s ease both}
  @keyframes fade{from{opacity:0}}
  .draw{stroke-dasharray:1;stroke-dashoffset:1;animation:draw 1s cubic-bezier(.4,0,.2,1) both}
  @keyframes draw{to{stroke-dashoffset:0}}
  @media(max-width:640px){body{padding:24px 10px}}
  @media (prefers-reduced-motion:reduce){
    .pop,.fade{animation:none}
    .draw{animation:none;stroke-dasharray:none;stroke-dashoffset:0}
  }
</style>
</head>
<body>
<div class="sheet">

  <!-- ══ 主栏 ══ -->
  <div class="main">
    <h1>State of <b>shipping</b></h1>

    <div class="dek">How often do small teams actually ship what they plan?</div>

    <!-- 图A · L15 ballot tally(多选题百分比:各项独立 0–100)
         模板:lupi-gallery.html · "What they fear, tick by tick" -->
    <div class="kick" style="margin-top:30px"><span class="n">Q1</span> · What slows a release down</div>
    <div class="claim">Review queues beat everything else — including scope creep</div>
    <div class="fig">
      <svg id="tally" viewBox="0 0 400 280" preserveAspectRatio="xMidYMid meet"></svg>
    </div>
    <div class="srcline">Ballot tally · one tick = one respondent of 100 · multi-select</div>

    <div class="qhead">And how do they <i>feel</i> about their own pace?</div>

    <!-- 图B · L14 hundred field(100% 构成 → 单位分解成 100 人)
         模板:lupi-gallery.html · "A hundred of us, four minds" -->
    <div class="kick" style="margin-top:26px"><span class="n">Q2</span> · Self-reported shipping mood</div>
    <div class="claim">Confident and anxious are nearly the same crowd size</div>
    <div class="fig">
      <svg id="field" viewBox="0 0 400 330" preserveAspectRatio="xMidYMid meet"></svg>
    </div>
    <div class="srcline">Hundred field · one dot = one respondent · 38 + 34 + 16 + 12 = 100</div>

    <!-- 图C · F5 tick rows(少类目比较)
         模板:basics-gallery.html · "Six teams, shipped and counted" -->
    <div class="kick" style="margin-top:44px"><span class="n">Q3</span> · Releases shipped last quarter, by team size</div>
    <div class="claim">Two-person teams out-ship everyone per head</div>
    <div class="fig">
      <svg id="rows" viewBox="0 0 400 250" preserveAspectRatio="xMidYMid meet"></svg>
    </div>
    <div class="srcline">Tick rows · one tick = one release · dot marks every fifth</div>

    <!-- 底部三特征 callout:纯数字排字,不占图额度 -->
    <div class="kick" style="margin-top:52px">3 habits of teams that ship on time</div>
    <div class="traits">
      <div class="t"><div class="big">×2</div><div class="nm">Smaller batches</div>
        <div class="ds">On-time teams cut scope twice as often as they extend deadlines.</div></div>
      <div class="t"><div class="big">54%</div><div class="nm">Same-day review</div>
        <div class="ds">More than half review every PR the day it opens.</div></div>
      <div class="t"><div class="big">63%</div><div class="nm">Public changelog</div>
        <div class="ds">Nearly two-thirds publish what shipped, every single week.</div></div>
    </div>
  </div>

  <!-- ══ 侧栏轨道 ══ -->
  <div class="rail">
    <div class="top">
      <div class="lbl">About this survey</div>
      <h3>How often do teams ship what they planned?</h3>
      <p>Every quarter we ask small software teams the same three questions about their release habits: what slows them down, how they feel about their pace, and what they actually shipped.</p>
      <p>This edition compares 100 teams of one to twenty people. We look at whether the things teams blame — reviews, scope, meetings — line up with what their release logs say.</p>
      <p>As team size grows, does shipping confidence grow with it? The short answer: no. The long answer is on the left.</p>
    </div>
    <div class="bot">
      <div class="lbl">Methodology</div>
      <p>A “release” is any user-visible change shipped to production, self-reported and cross-checked against public changelogs where available.</p>
      <p>Respondents were surveyed between April and June 2026. Multi-select questions allow totals over 100.</p>
      <div class="link">yoursite.com/survey</div>
    </div>
  </div>
</div>

<script>
/* ── mono-tokens 内联(几何/工具函数与正本一致)── */
const NS='http://www.w3.org/2000/svg';
const el=(p,t,a)=>{const n=document.createElementNS(NS,t);for(const k in a)n.setAttribute(k,a[k]);p.appendChild(n);return n};
const txt=(p,a,s)=>{const n=el(p,'text',a);n.textContent=s;return n};
const tip=(n,s)=>{const t=document.createElementNS(NS,'title');t.textContent=s;n.appendChild(t)};
const rnd=(i,k)=>Math.abs(((i*73856093)^(k*19349663))%1000)/1000;
const D2R=Math.PI/180;
const pol=(cx,cy,r,deg)=>[cx+r*Math.cos(deg*D2R),cy+r*Math.sin(deg*D2R)];
const obsReveal=(id,fn)=>{
  const n=document.getElementById(id);
  const go=()=>{n.innerHTML='';fn(n)};
  const io=new IntersectionObserver(es=>{if(es[0].isIntersecting){go();io.disconnect()}},{threshold:.3});
  io.observe(n); n.style.cursor='pointer'; n.addEventListener('click',go);
};

/* ── PORCELAIN preset(color-presets.js 原值)── */
const P={BG:'#F7F2EB',TXT:'#081F5C',DATA:'#334EAC',DATA2:'#7096D1',HERO:'#081F5C',
  FAINTDATA:'#BAD6EB',MUT:'rgba(8,31,92,.60)',FAINT:'rgba(8,31,92,.32)',
  GRID:'rgba(8,31,92,.16)',CAT4:['#081F5C','#334EAC','#7096D1','#BAD6EB']};

/* ════ 图A · L15 ballot tally ════
   结构照搬 lupi-gallery "ballot tally":每行 100 根发丝 tick,
   选中的上墨。彩色加墨:picked 线宽 .9→1.6,未选 .55→1.0。 */
(()=>{
const ASK=[['WAITING ON CODE REVIEW',57],['SCOPE GREW MID-SPRINT',44],['MEETINGS ATE THE WEEK',38],['CI PIPELINE FLAKED',21]];
obsReveal('tally',s=>{
  ASK.forEach(([name,v],i)=>{
    const base=64+i*58;
    txt(s,{x:24,y:base-26,'font-size':7.5,'font-weight':700,fill:P.MUT,
      'letter-spacing':'.08em',class:'fade',style:`animation-delay:${i*.1}s`},name);
    el(s,'line',{x1:24,y1:base,x2:376,y2:base,stroke:P.GRID,'stroke-width':.8,
      class:'fade',style:`animation-delay:${i*.1}s`});
    for(let k=0;k<100;k++){
      const x=24+k*3.5,picked=k<v;
      const h=picked?12+rnd(k+1,i+2)*5:4.5+rnd(k+1,i+5)*2;
      el(s,'line',{x1:x,y1:base,x2:x,y2:base-h,
        stroke:picked?(i===0?P.HERO:P.DATA):P.FAINTDATA,'stroke-width':picked?1.6:1,
        opacity:picked?1:.85,
        class:'fade',style:`animation-delay:${i*.1+k*.006}s`});
      if(k%10===0)el(s,'circle',{cx:x,cy:base+4.5,r:.9,fill:P.FAINTDATA,
        class:'fade',style:`animation-delay:${i*.1+k*.006}s`});
    }
    const lab=txt(s,{x:24+(v-1)*3.5+9,y:base-11,'font-size':11,'font-weight':800,
      fill:i===0?P.HERO:P.DATA,
      style:`paint-order:stroke;stroke:${P.BG};stroke-width:3px;animation-delay:${.5+i*.1}s`,
      class:'fade'},v);
    tip(lab,`${v} of 100 picked this — they could pick several`);
  });
  txt(s,{x:200,y:272,'font-size':7,'font-weight':600,fill:P.FAINT,'text-anchor':'middle',
    'letter-spacing':'.12em',class:'fade',style:'animation-delay:1.1s'},
    'ONE TICK = ONE RESPONDENT · DOT MARKS EVERY TENTH');
});
})();

/* ════ 图B · L14 hundred field ════
   结构照搬 lupi-gallery "hundred field":golden-angle 撒布,
   1 点 = 1 人,四簇 = 四种心态,虚线星座线连簇心。
   色阶用 PORCELAIN.CAT4 按份额从深到浅。spoke 线宽 .6→1.1(×1.8)。 */
(()=>{
const SEG=[['CONFIDENT',38,P.CAT4[0]],['ANXIOUS',34,P.CAT4[1]],['DETACHED',16,P.CAT4[2]],['BURNED OUT',12,P.CAT4[3]]];
const POS=[[128,142],[278,118],[182,254],[320,240]];
obsReveal('field',s=>{
  [[0,1],[0,2],[1,3],[2,3]].forEach(([a,b],k)=>{
    el(s,'line',{x1:POS[a][0],y1:POS[a][1],x2:POS[b][0],y2:POS[b][1],
      stroke:P.GRID,'stroke-width':.8,'stroke-dasharray':'2 5',
      class:'fade',style:`animation-delay:${.9+k*.1}s`});
  });
  SEG.forEach(([name,v,shade],ci)=>{
    const [cx,cy]=POS[ci];
    let edge=0;
    for(let k=0;k<v;k++){
      const a=k*137.508+ci*55;
      const rr=4+Math.sqrt(k)*5.9+rnd(k+1,ci+2)*3;
      edge=Math.max(edge,rr);
      const [x,y]=pol(cx,cy,rr,a);
      if(k%5===0)el(s,'line',{x1:cx,y1:cy,x2:x,y2:y,stroke:P.FAINTDATA,'stroke-width':1.1,
        opacity:.85,class:'fade',style:`animation-delay:${ci*.14+k*.012}s`});
      const dot=el(s,'circle',{cx:x,cy:y,r:1.5+rnd(k+2,ci+3)*1.7,fill:shade,opacity:.9,
        class:'pop',style:`animation-delay:${ci*.14+k*.012}s`});
      tip(dot,`${name} — one of ${v} in 100`);
    }
    el(s,'circle',{cx,cy,r:2.4,fill:P.HERO,class:'pop',style:`animation-delay:${ci*.14}s`});
    txt(s,{x:cx,y:cy+edge+13,'font-size':8,'font-weight':800,fill:P.TXT,'text-anchor':'middle',
      'letter-spacing':'.1em',style:`paint-order:stroke;stroke:${P.BG};stroke-width:3px;animation-delay:${.5+ci*.12}s`,
      class:'fade'},`${name} · ${v}`);
  });
  txt(s,{x:200,y:322,'font-size':7,'font-weight':600,fill:P.FAINT,'text-anchor':'middle',
    'letter-spacing':'.12em',class:'fade',style:'animation-delay:1.3s'},
    'ONE DOT = ONE PERSON · 38 + 34 + 16 + 12 = 100');
});
})();

/* ════ 图C · F5 tick rows ════
   结构照搬 basics-gallery "tick rows":一行 = 一种团队规模的发布队列,
   1 tick = 1 次发布。tick 线宽 .9→1.6,透明度地板 .85。
   HERO 只给第一行(人均最高的主角行)。 */
(()=>{
const D=[['SOLO',26],['2–3 PPL',34],['4–6 PPL',28],['7–10 PPL',19],['11–20 PPL',12]];
obsReveal('rows',s=>{
  const y0=i=>44+i*44,X0=104,PX=6.9;
  D.forEach(([name,v],i)=>{
    const y=y0(i),hero=i===1;
    txt(s,{x:94,y:y+3,'font-size':8,'font-weight':700,fill:P.MUT,'text-anchor':'end',
      'letter-spacing':'.08em',class:'fade',style:`animation-delay:${i*.08}s`},name);
    el(s,'line',{x1:X0,y1:y+9,x2:X0+36*PX,y2:y+9,stroke:P.GRID,'stroke-width':.8,
      class:'fade',style:`animation-delay:${i*.08}s`});
    for(let k=0;k<v;k++){
      const x=X0+k*PX+PX/2,h=9+rnd(k+1,i+2)*6;
      el(s,'line',{x1:x,y1:y+9,x2:x,y2:y+9-h,stroke:hero?P.HERO:P.DATA,'stroke-width':1.6,
        opacity:.85+rnd(k+3,i+5)*.15,class:'fade',style:`animation-delay:${i*.08+k*.012}s`});
      if(k%5===4)el(s,'circle',{cx:x,cy:y+13,r:.9,fill:P.FAINTDATA,
        class:'fade',style:`animation-delay:${i*.08+k*.012}s`});
    }
    const lab=txt(s,{x:X0+v*PX+10,y:y+4,'font-size':11,'font-weight':800,
      fill:hero?P.HERO:P.DATA,
      class:'fade',style:`animation-delay:${.4+i*.08}s`},v);
    tip(lab,`${name} — ${v} releases`);
  });
  txt(s,{x:200,y:242,'font-size':7,'font-weight':600,fill:P.FAINT,'text-anchor':'middle',
    'letter-spacing':'.12em',class:'fade',style:'animation-delay:.9s'},
    'ONE TICK = ONE RELEASE · DOT MARKS EVERY FIFTH');
});
})();

</script>
<script>
/* ── fit-width:视口比版心窄时整页等比缩小,不重排 ──
   报告是一张版面,不是响应式网页。窄屏塌成单栏会得到一个
   设计时不存在的版式;等比缩小则保留构图,跟 PDF 的「适合宽度」一致。
   机制同模板 11。 */
(()=>{
  const sheet=document.querySelector('.sheet');
  const W=1080;
  const fit=()=>{
    const cs=getComputedStyle(document.body);
    const avail=document.documentElement.clientWidth
      -parseFloat(cs.paddingLeft)-parseFloat(cs.paddingRight);
    sheet.style.zoom=Math.min(1,avail/W);
  };
  fit();
  addEventListener('resize',fit);
})();
</script>
</body>
</html>