Sync GitHub b1f9a06
Browse files- docs/assets/loop-hero-scene.js +2 -2
- docs/index.html +76 -16
docs/assets/loop-hero-scene.js
CHANGED
|
@@ -417,9 +417,9 @@ if (container && hero) {
|
|
| 417 |
renderer.setSize(width, height, false);
|
| 418 |
camera.aspect = width / height;
|
| 419 |
camera.fov = mobile ? 34 : 31;
|
| 420 |
-
camera.position.z = mobile ? 9.
|
| 421 |
camera.updateProjectionMatrix();
|
| 422 |
-
layoutScaleX = mobile ? 1.02 : 1.
|
| 423 |
layoutScaleY = mobile ? 1.12 : 1.04;
|
| 424 |
root.position.y = mobile ? -0.02 : -0.28;
|
| 425 |
flowMaterial.opacity = mobile ? 0.42 : 0.28;
|
|
|
|
| 417 |
renderer.setSize(width, height, false);
|
| 418 |
camera.aspect = width / height;
|
| 419 |
camera.fov = mobile ? 34 : 31;
|
| 420 |
+
camera.position.z = mobile ? 9.2 : 12.2;
|
| 421 |
camera.updateProjectionMatrix();
|
| 422 |
+
layoutScaleX = mobile ? 1.02 : 1.46;
|
| 423 |
layoutScaleY = mobile ? 1.12 : 1.04;
|
| 424 |
root.position.y = mobile ? -0.02 : -0.28;
|
| 425 |
flowMaterial.opacity = mobile ? 0.42 : 0.28;
|
docs/index.html
CHANGED
|
@@ -141,10 +141,31 @@
|
|
| 141 |
|
| 142 |
main { overflow: hidden; }
|
| 143 |
section { padding: 86px 0; border-top: 1px solid var(--line); }
|
| 144 |
-
.hero { position: relative; isolation: isolate; min-height:
|
| 145 |
.hero .wrap { position: relative; z-index: 1; }
|
| 146 |
.hero-copy { position: relative; z-index: 2; }
|
| 147 |
-
.hero-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 148 |
.hero-scene canvas { display: block; width: 100%; height: 100%; opacity: 0.96; }
|
| 149 |
.hero-scene[data-scene-state="fallback"] { display: none; }
|
| 150 |
.mental-model { padding: 18px 0 52px; }
|
|
@@ -201,6 +222,22 @@
|
|
| 201 |
font-size: 0.82rem;
|
| 202 |
}
|
| 203 |
.loop-stage-detail strong { color: var(--ink); }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 204 |
.hero-visual { max-width: 780px; margin: 0 auto; }
|
| 205 |
.hero-visual picture, .hero-visual img, .diagram img { display: block; width: 100%; height: auto; }
|
| 206 |
.diagram-scroll { width: 100%; overflow: hidden; }
|
|
@@ -465,12 +502,28 @@
|
|
| 465 |
.links.open .mobile-nav-only { display: block; }
|
| 466 |
.links.open a[aria-current="location"]::after { display: none; }
|
| 467 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 468 |
@media (max-width: 820px) {
|
| 469 |
.wrap { width: min(var(--maxw), calc(100% - 32px)); }
|
| 470 |
.links.open { left: -16px; right: -16px; padding-inline: 16px; }
|
| 471 |
section { padding: 68px 0; }
|
| 472 |
-
.hero { min-height: 0; padding: 52px 0
|
| 473 |
-
.hero-scene {
|
| 474 |
.hero-scene canvas { opacity: 1; }
|
| 475 |
h1 { font-size: 3rem; }
|
| 476 |
h2 { font-size: 2rem; }
|
|
@@ -505,18 +558,21 @@
|
|
| 505 |
.section-label { margin-bottom: 9px; font-size: 0.68rem; }
|
| 506 |
.section-head { gap: 12px; margin-bottom: 24px; }
|
| 507 |
.section-intro { font-size: 0.95rem; }
|
| 508 |
-
.hero { min-height: 0; padding: 34px 0
|
| 509 |
.hero-kicker { max-width: 330px; margin: 0 auto 10px; line-height: 1.45; }
|
| 510 |
.tagline { margin-top: 14px; font-size: 1.18rem; }
|
| 511 |
.lead { margin-top: 10px; font-size: 0.95rem; line-height: 1.55; }
|
| 512 |
.actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 19px; }
|
| 513 |
.actions .button { min-width: 0; min-height: 44px; padding-inline: 8px; font-size: 0.82rem; }
|
| 514 |
-
.hero-
|
|
|
|
|
|
|
| 515 |
.hero-scene canvas { opacity: 1; }
|
| 516 |
.loop-stage-rail { margin-top: 20px; }
|
| 517 |
.loop-stage { min-height: 42px; padding-inline: 5px; font-size: 0.68rem; }
|
| 518 |
.loop-stage-number { font-size: 0.59rem; }
|
| 519 |
.loop-stage-detail { min-height: 40px; margin-top: 8px; font-size: 0.75rem; line-height: 1.45; }
|
|
|
|
| 520 |
.mental-model { padding: 38px 0 44px; }
|
| 521 |
.definition { margin-bottom: 22px; font-size: 0.88rem; line-height: 1.55; }
|
| 522 |
.definition-full { display: none; }
|
|
@@ -714,17 +770,21 @@
|
|
| 714 |
<a class="button" href="#choose">Choose a loop</a>
|
| 715 |
</div>
|
| 716 |
</div>
|
| 717 |
-
<div class="
|
| 718 |
-
<
|
| 719 |
-
|
| 720 |
-
|
| 721 |
-
|
| 722 |
-
|
| 723 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 724 |
</div>
|
| 725 |
-
<p class="loop-stage-detail" id="loop-stage-detail" aria-live="polite"><strong>Verify:</strong> gate completion with tests, evals, traces, or review.</p>
|
| 726 |
</div>
|
| 727 |
-
<div class="hero-scene" data-loop-scene aria-hidden="true"></div>
|
| 728 |
</section>
|
| 729 |
|
| 730 |
<section class="mental-model" aria-label="Loop Engineering mental model">
|
|
@@ -1395,6 +1455,6 @@
|
|
| 1395 |
});
|
| 1396 |
});
|
| 1397 |
</script>
|
| 1398 |
-
<script type="module" src="assets/loop-hero-scene.js?v=
|
| 1399 |
</body>
|
| 1400 |
</html>
|
|
|
|
| 141 |
|
| 142 |
main { overflow: hidden; }
|
| 143 |
section { padding: 86px 0; border-top: 1px solid var(--line); }
|
| 144 |
+
.hero { position: relative; isolation: isolate; min-height: 0; overflow: hidden; padding: 64px 0 20px; border-top: 0; text-align: center; }
|
| 145 |
.hero .wrap { position: relative; z-index: 1; }
|
| 146 |
.hero-copy { position: relative; z-index: 2; }
|
| 147 |
+
.hero-system {
|
| 148 |
+
display: grid;
|
| 149 |
+
grid-template-columns: minmax(280px, 0.72fr) minmax(500px, 1.28fr);
|
| 150 |
+
gap: 28px;
|
| 151 |
+
align-items: center;
|
| 152 |
+
width: min(100%, 1080px);
|
| 153 |
+
margin: 34px auto 0;
|
| 154 |
+
padding: 16px 0;
|
| 155 |
+
border-top: 1px solid var(--line-strong);
|
| 156 |
+
border-bottom: 1px solid var(--line-strong);
|
| 157 |
+
}
|
| 158 |
+
.hero-inspector { min-width: 0; }
|
| 159 |
+
.hero-scene {
|
| 160 |
+
position: relative;
|
| 161 |
+
z-index: 0;
|
| 162 |
+
min-width: 0;
|
| 163 |
+
width: 100%;
|
| 164 |
+
height: 220px;
|
| 165 |
+
border-left: 1px solid var(--line);
|
| 166 |
+
overflow: hidden;
|
| 167 |
+
pointer-events: none;
|
| 168 |
+
}
|
| 169 |
.hero-scene canvas { display: block; width: 100%; height: 100%; opacity: 0.96; }
|
| 170 |
.hero-scene[data-scene-state="fallback"] { display: none; }
|
| 171 |
.mental-model { padding: 18px 0 52px; }
|
|
|
|
| 222 |
font-size: 0.82rem;
|
| 223 |
}
|
| 224 |
.loop-stage-detail strong { color: var(--ink); }
|
| 225 |
+
.hero-system .loop-stage-rail {
|
| 226 |
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
| 227 |
+
width: 100%;
|
| 228 |
+
max-width: none;
|
| 229 |
+
margin: 0;
|
| 230 |
+
}
|
| 231 |
+
.hero-system .loop-stage:nth-child(odd) { border-left: 0; }
|
| 232 |
+
.hero-system .loop-stage:nth-child(n+3) { border-top: 1px solid var(--line); }
|
| 233 |
+
.hero-inspector .loop-stage-detail {
|
| 234 |
+
min-height: 64px;
|
| 235 |
+
max-width: none;
|
| 236 |
+
margin: 14px 0 0;
|
| 237 |
+
border-left: 3px solid var(--blue);
|
| 238 |
+
padding: 9px 0 0 14px;
|
| 239 |
+
text-align: left;
|
| 240 |
+
}
|
| 241 |
.hero-visual { max-width: 780px; margin: 0 auto; }
|
| 242 |
.hero-visual picture, .hero-visual img, .diagram img { display: block; width: 100%; height: auto; }
|
| 243 |
.diagram-scroll { width: 100%; overflow: hidden; }
|
|
|
|
| 502 |
.links.open .mobile-nav-only { display: block; }
|
| 503 |
.links.open a[aria-current="location"]::after { display: none; }
|
| 504 |
}
|
| 505 |
+
@media (max-width: 920px) {
|
| 506 |
+
.hero-system {
|
| 507 |
+
grid-template-columns: 1fr;
|
| 508 |
+
gap: 0;
|
| 509 |
+
width: min(100%, 760px);
|
| 510 |
+
margin-top: 28px;
|
| 511 |
+
padding-top: 16px;
|
| 512 |
+
}
|
| 513 |
+
.hero-inspector { padding-bottom: 16px; }
|
| 514 |
+
.hero-scene { height: 210px; border-top: 1px solid var(--line); border-left: 0; }
|
| 515 |
+
.hero-system .loop-stage-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
| 516 |
+
.hero-system .loop-stage:nth-child(n) { border-top: 0; border-left: 1px solid var(--line); }
|
| 517 |
+
.hero-system .loop-stage:nth-child(3n+1) { border-left: 0; }
|
| 518 |
+
.hero-system .loop-stage:nth-child(n+4) { border-top: 1px solid var(--line); }
|
| 519 |
+
.hero-inspector .loop-stage-detail { min-height: 42px; }
|
| 520 |
+
}
|
| 521 |
@media (max-width: 820px) {
|
| 522 |
.wrap { width: min(var(--maxw), calc(100% - 32px)); }
|
| 523 |
.links.open { left: -16px; right: -16px; padding-inline: 16px; }
|
| 524 |
section { padding: 68px 0; }
|
| 525 |
+
.hero { min-height: 0; padding: 52px 0 32px; }
|
| 526 |
+
.hero-scene { width: 100%; height: 200px; }
|
| 527 |
.hero-scene canvas { opacity: 1; }
|
| 528 |
h1 { font-size: 3rem; }
|
| 529 |
h2 { font-size: 2rem; }
|
|
|
|
| 558 |
.section-label { margin-bottom: 9px; font-size: 0.68rem; }
|
| 559 |
.section-head { gap: 12px; margin-bottom: 24px; }
|
| 560 |
.section-intro { font-size: 0.95rem; }
|
| 561 |
+
.hero { min-height: 0; padding: 34px 0 20px; }
|
| 562 |
.hero-kicker { max-width: 330px; margin: 0 auto 10px; line-height: 1.45; }
|
| 563 |
.tagline { margin-top: 14px; font-size: 1.18rem; }
|
| 564 |
.lead { margin-top: 10px; font-size: 0.95rem; line-height: 1.55; }
|
| 565 |
.actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 19px; }
|
| 566 |
.actions .button { min-width: 0; min-height: 44px; padding-inline: 8px; font-size: 0.82rem; }
|
| 567 |
+
.hero-system { margin-top: 22px; padding-top: 12px; padding-bottom: 0; }
|
| 568 |
+
.hero-inspector { padding-bottom: 12px; }
|
| 569 |
+
.hero-scene { width: 100%; height: 170px; }
|
| 570 |
.hero-scene canvas { opacity: 1; }
|
| 571 |
.loop-stage-rail { margin-top: 20px; }
|
| 572 |
.loop-stage { min-height: 42px; padding-inline: 5px; font-size: 0.68rem; }
|
| 573 |
.loop-stage-number { font-size: 0.59rem; }
|
| 574 |
.loop-stage-detail { min-height: 40px; margin-top: 8px; font-size: 0.75rem; line-height: 1.45; }
|
| 575 |
+
.hero-inspector .loop-stage-detail { min-height: 44px; margin-top: 10px; padding-top: 8px; }
|
| 576 |
.mental-model { padding: 38px 0 44px; }
|
| 577 |
.definition { margin-bottom: 22px; font-size: 0.88rem; line-height: 1.55; }
|
| 578 |
.definition-full { display: none; }
|
|
|
|
| 770 |
<a class="button" href="#choose">Choose a loop</a>
|
| 771 |
</div>
|
| 772 |
</div>
|
| 773 |
+
<div class="hero-system">
|
| 774 |
+
<div class="hero-inspector">
|
| 775 |
+
<div class="loop-stage-rail" role="group" aria-label="Inspect the loop lifecycle">
|
| 776 |
+
<button class="loop-stage" type="button" data-loop-stage="0" aria-pressed="false"><span class="loop-stage-number">01</span><span>Intake</span></button>
|
| 777 |
+
<button class="loop-stage" type="button" data-loop-stage="1" aria-pressed="false"><span class="loop-stage-number">02</span><span>Delegate</span></button>
|
| 778 |
+
<button class="loop-stage" type="button" data-loop-stage="2" aria-pressed="false"><span class="loop-stage-number">03</span><span>Act</span></button>
|
| 779 |
+
<button class="loop-stage" type="button" data-loop-stage="3" aria-pressed="true"><span class="loop-stage-number">04</span><span>Verify</span></button>
|
| 780 |
+
<button class="loop-stage" type="button" data-loop-stage="4" aria-pressed="false"><span class="loop-stage-number">05</span><span>Persist</span></button>
|
| 781 |
+
<button class="loop-stage" type="button" data-loop-stage="5" aria-pressed="false"><span class="loop-stage-number">06</span><span>Decide</span></button>
|
| 782 |
+
</div>
|
| 783 |
+
<p class="loop-stage-detail" id="loop-stage-detail" aria-live="polite"><strong>Verify:</strong> gate completion with tests, evals, traces, or review.</p>
|
| 784 |
+
</div>
|
| 785 |
+
<div class="hero-scene" data-loop-scene aria-hidden="true"></div>
|
| 786 |
</div>
|
|
|
|
| 787 |
</div>
|
|
|
|
| 788 |
</section>
|
| 789 |
|
| 790 |
<section class="mental-model" aria-label="Loop Engineering mental model">
|
|
|
|
| 1455 |
});
|
| 1456 |
});
|
| 1457 |
</script>
|
| 1458 |
+
<script type="module" src="assets/loop-hero-scene.js?v=12"></script>
|
| 1459 |
</body>
|
| 1460 |
</html>
|