docs(website): introduce the worked homepage examples

This commit is contained in:
N0zoM1z0 2026-10-09 16:52:45 +08:00
parent fef38e4d22
commit f6f5c16097
2 changed files with 18 additions and 0 deletions

View File

@ -1389,6 +1389,19 @@ pre code {
box-decoration-break: clone;
-webkit-box-decoration-break: clone;
}
.home-examples-intro {
max-width: 760px;
margin: 0 0 2.5rem;
color: var(--muted);
font-size: 1.05rem;
}
.home-examples-intro strong {
display: block;
margin-bottom: 0.5rem;
color: var(--ink);
font-size: 1.5rem;
font-weight: 600;
}
.case-brief {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);

View File

@ -385,6 +385,11 @@
<section class="section" id="dinosaur">
<div class="container">
<p class="home-examples-intro">
<strong>Let's try two examples.</strong>
Use REA to change a game's speed, then explain a calculator's
percentage rule.
</p>
<div class="section-heading">
<p class="eyebrow">Example 01 · Chrome’s dinosaur game</p>
<h2>Why does the dinosaur get faster?</h2>