網站導覽

v2.1.0
行銷區塊

文章列表

文章、資源或案例研究:一張圖片、一段摘要、作者,以及進入內容的入口。

文章列表呈現有哪些內容可讀:一張圖片、作為入口的標題、一句說明內容的話,以及作者和日期。同一個區塊可以列出部落格的文章、一整套指南,或一組案例研究,因為這三者都是標題、摘要加上出處。每篇內容都是一張卡片。

文章列表

<section class="container-inline px-lg py-4xl" aria-labelledby="articles-title">  <div class="flex flex-col gap-2xl max-w(1040) mx-auto">    <header class="flex flex-wrap items-end justify-between gap-md">      <div class="flex flex-col gap-sm max-w(560)">        <p class="eyebrow">Blog</p>        <h2 class="heading heading-2xl" id="articles-title">          Notes from the people who build Atlas.        </h2>      </div>      <a class="btn" href="#articles-title">All articles</a>    </header>    <ul class="grid gap-md m(0) p(0) grid-cols(3)@container(--5xl)">      <li class="card card-split">        <img class="card-media" src="/demo/scenes/wallpaper-stone-mist-16x9.webp" alt>        <header class="card-header">          <h3 class="card-title">            <a class="card-link" href="#articles-title">How cold builds got under a minute</a>          </h3>          <p class="card-description">            Dependency caches are now restored before the install step. What changed in the pipeline, and what it did to forty real projects.          </p>          <span class="badge card-action">Engineering</span>        </header>        <div class="card-body flex flex-wrap items-center gap-xs mt-auto fg-text-muted">          <span class="avatar avatar-sm">            <img class="avatar-image" src="/demo/people/pohan-chen.webp" alt width="256" height="256">          </span>          <span class="fg-text-strong">Po-han Chen</span>          <span aria-hidden="true">·</span>          <time datetime="2026-11-10">10 Nov 2026</time>        </div>      </li>      <li class="card card-split">        <img class="card-media" src="/demo/scenes/interior-desk-window-16x9.webp" alt>        <header class="card-header">          <h3 class="card-title">            <a class="card-link" href="#articles-title">Review the page, not a screenshot of it</a>          </h3>          <p class="card-description">            Comments on previews stay with the element they were left on, from one deployment to the next. Here is how a review reads now.          </p>          <span class="badge card-action">Product</span>        </header>        <div class="card-body flex flex-wrap items-center gap-xs mt-auto fg-text-muted">          <span class="avatar avatar-sm">            <img class="avatar-image" src="/demo/people/misaki-sato.webp" alt width="256" height="256">          </span>          <span class="fg-text-strong">Misaki Sato</span>          <span aria-hidden="true">·</span>          <time datetime="2026-11-03">3 Nov 2026</time>        </div>      </li>      <li class="card card-split">        <img class="card-media" src="/demo/scenes/wallpaper-window-light-16x9.webp" alt>        <header class="card-header">          <h3 class="card-title">            <a class="card-link" href="#articles-title">Rolling back without a meeting</a>          </h3>          <p class="card-description">            A deployment never changes, so going back is choosing an earlier one. A walk through the first minute of an incident.          </p>          <span class="badge card-action">Guide</span>        </header>        <div class="card-body flex flex-wrap items-center gap-xs mt-auto fg-text-muted">          <span class="avatar avatar-sm">            <img class="avatar-image" src="/demo/people/kenta-nakamura.webp" alt width="256" height="256">          </span>          <span class="fg-text-strong">Kenta Nakamura</span>          <span aria-hidden="true">·</span>          <time datetime="2026-10-27">27 Oct 2026</time>        </div>      </li>    </ul>  </div></section>
<section className="container-inline px-lg py-4xl" aria-labelledby="articles-title">  <div className="flex flex-col gap-2xl max-w(1040) mx-auto">    <header className="flex flex-wrap items-end justify-between gap-md">      <div className="flex flex-col gap-sm max-w(560)">        <p className="eyebrow">Blog</p>        <h2 className="heading heading-2xl" id="articles-title">          Notes from the people who build Atlas.        </h2>      </div>      <a className="btn" href="#articles-title">All articles</a>    </header>    <ul className="grid gap-md m(0) p(0) grid-cols(3)@container(--5xl)">      <li className="card card-split">        <img className="card-media" src="/demo/scenes/wallpaper-stone-mist-16x9.webp" alt="" />        <header className="card-header">          <h3 className="card-title">            <a className="card-link" href="#articles-title">How cold builds got under a minute</a>          </h3>          <p className="card-description">            Dependency caches are now restored before the install step. What changed in the pipeline, and what it did to forty real projects.          </p>          <span className="badge card-action">Engineering</span>        </header>        <div className="card-body flex flex-wrap items-center gap-xs mt-auto fg-text-muted">          <span className="avatar avatar-sm">            <img className="avatar-image" src="/demo/people/pohan-chen.webp" alt="" width="256" height="256" />          </span>          <span className="fg-text-strong">Po-han Chen</span>          <span aria-hidden="true">·</span>          <time dateTime="2026-11-10">10 Nov 2026</time>        </div>      </li>      <li className="card card-split">        <img className="card-media" src="/demo/scenes/interior-desk-window-16x9.webp" alt="" />        <header className="card-header">          <h3 className="card-title">            <a className="card-link" href="#articles-title">              Review the page, not a screenshot of it            </a>          </h3>          <p className="card-description">            Comments on previews stay with the element they were left on, from one deployment to the next. Here is how a review reads now.          </p>          <span className="badge card-action">Product</span>        </header>        <div className="card-body flex flex-wrap items-center gap-xs mt-auto fg-text-muted">          <span className="avatar avatar-sm">            <img className="avatar-image" src="/demo/people/misaki-sato.webp" alt="" width="256" height="256" />          </span>          <span className="fg-text-strong">Misaki Sato</span>          <span aria-hidden="true">·</span>          <time dateTime="2026-11-03">3 Nov 2026</time>        </div>      </li>      <li className="card card-split">        <img className="card-media" src="/demo/scenes/wallpaper-window-light-16x9.webp" alt="" />        <header className="card-header">          <h3 className="card-title">            <a className="card-link" href="#articles-title">Rolling back without a meeting</a>          </h3>          <p className="card-description">            A deployment never changes, so going back is choosing an earlier one. A walk through the first minute of an incident.          </p>          <span className="badge card-action">Guide</span>        </header>        <div className="card-body flex flex-wrap items-center gap-xs mt-auto fg-text-muted">          <span className="avatar avatar-sm">            <img className="avatar-image" src="/demo/people/kenta-nakamura.webp" alt="" width="256" height="256" />          </span>          <span className="fg-text-strong">Kenta Nakamura</span>          <span aria-hidden="true">·</span>          <time dateTime="2026-10-27">27 Oct 2026</time>        </div>      </li>    </ul>  </div></section>
<section class="container-inline px-lg py-4xl" aria-labelledby="articles-title">  <div class="flex flex-col gap-2xl max-w(1040) mx-auto">    <header class="flex flex-wrap items-end justify-between gap-md">      <div class="flex flex-col gap-sm max-w(560)">        <p class="eyebrow">Blog</p>        <h2 class="heading heading-2xl" id="articles-title">          Notes from the people who build Atlas.        </h2>      </div>      <a class="btn" href="#articles-title">All articles</a>    </header>    <ul class="grid gap-md m(0) p(0) grid-cols(3)@container(--5xl)">      <li class="card card-split">        <img class="card-media" src="/demo/scenes/wallpaper-stone-mist-16x9.webp" alt>        <header class="card-header">          <h3 class="card-title">            <a class="card-link" href="#articles-title">How cold builds got under a minute</a>          </h3>          <p class="card-description">            Dependency caches are now restored before the install step. What changed in the pipeline, and what it did to forty real projects.          </p>          <span class="badge card-action">Engineering</span>        </header>        <div class="card-body flex flex-wrap items-center gap-xs mt-auto fg-text-muted">          <span class="avatar avatar-sm">            <img class="avatar-image" src="/demo/people/pohan-chen.webp" alt width="256" height="256">          </span>          <span class="fg-text-strong">Po-han Chen</span>          <span aria-hidden="true">·</span>          <time datetime="2026-11-10">10 Nov 2026</time>        </div>      </li>      <li class="card card-split">        <img class="card-media" src="/demo/scenes/interior-desk-window-16x9.webp" alt>        <header class="card-header">          <h3 class="card-title">            <a class="card-link" href="#articles-title">Review the page, not a screenshot of it</a>          </h3>          <p class="card-description">            Comments on previews stay with the element they were left on, from one deployment to the next. Here is how a review reads now.          </p>          <span class="badge card-action">Product</span>        </header>        <div class="card-body flex flex-wrap items-center gap-xs mt-auto fg-text-muted">          <span class="avatar avatar-sm">            <img class="avatar-image" src="/demo/people/misaki-sato.webp" alt width="256" height="256">          </span>          <span class="fg-text-strong">Misaki Sato</span>          <span aria-hidden="true">·</span>          <time datetime="2026-11-03">3 Nov 2026</time>        </div>      </li>      <li class="card card-split">        <img class="card-media" src="/demo/scenes/wallpaper-window-light-16x9.webp" alt>        <header class="card-header">          <h3 class="card-title">            <a class="card-link" href="#articles-title">Rolling back without a meeting</a>          </h3>          <p class="card-description">            A deployment never changes, so going back is choosing an earlier one. A walk through the first minute of an incident.          </p>          <span class="badge card-action">Guide</span>        </header>        <div class="card-body flex flex-wrap items-center gap-xs mt-auto fg-text-muted">          <span class="avatar avatar-sm">            <img class="avatar-image" src="/demo/people/kenta-nakamura.webp" alt width="256" height="256">          </span>          <span class="fg-text-strong">Kenta Nakamura</span>          <span aria-hidden="true">·</span>          <time datetime="2026-10-27">27 Oct 2026</time>        </div>      </li>    </ul>  </div></section>
<template>  <section class="container-inline px-lg py-4xl" aria-labelledby="articles-title">    <div class="flex flex-col gap-2xl max-w(1040) mx-auto">      <header class="flex flex-wrap items-end justify-between gap-md">        <div class="flex flex-col gap-sm max-w(560)">          <p class="eyebrow">Blog</p>          <h2 class="heading heading-2xl" id="articles-title">            Notes from the people who build Atlas.          </h2>        </div>        <a class="btn" href="#articles-title">All articles</a>      </header>      <ul class="grid gap-md m(0) p(0) grid-cols(3)@container(--5xl)">        <li class="card card-split">          <img class="card-media" src="/demo/scenes/wallpaper-stone-mist-16x9.webp" alt>          <header class="card-header">            <h3 class="card-title">              <a class="card-link" href="#articles-title">How cold builds got under a minute</a>            </h3>            <p class="card-description">              Dependency caches are now restored before the install step. What changed in the pipeline, and what it did to forty real projects.            </p>            <span class="badge card-action">Engineering</span>          </header>          <div class="card-body flex flex-wrap items-center gap-xs mt-auto fg-text-muted">            <span class="avatar avatar-sm">              <img class="avatar-image" src="/demo/people/pohan-chen.webp" alt width="256" height="256">            </span>            <span class="fg-text-strong">Po-han Chen</span>            <span aria-hidden="true">·</span>            <time datetime="2026-11-10">10 Nov 2026</time>          </div>        </li>        <li class="card card-split">          <img class="card-media" src="/demo/scenes/interior-desk-window-16x9.webp" alt>          <header class="card-header">            <h3 class="card-title">              <a class="card-link" href="#articles-title">                Review the page, not a screenshot of it              </a>            </h3>            <p class="card-description">              Comments on previews stay with the element they were left on, from one deployment to the next. Here is how a review reads now.            </p>            <span class="badge card-action">Product</span>          </header>          <div class="card-body flex flex-wrap items-center gap-xs mt-auto fg-text-muted">            <span class="avatar avatar-sm">              <img class="avatar-image" src="/demo/people/misaki-sato.webp" alt width="256" height="256">            </span>            <span class="fg-text-strong">Misaki Sato</span>            <span aria-hidden="true">·</span>            <time datetime="2026-11-03">3 Nov 2026</time>          </div>        </li>        <li class="card card-split">          <img class="card-media" src="/demo/scenes/wallpaper-window-light-16x9.webp" alt>          <header class="card-header">            <h3 class="card-title">              <a class="card-link" href="#articles-title">Rolling back without a meeting</a>            </h3>            <p class="card-description">              A deployment never changes, so going back is choosing an earlier one. A walk through the first minute of an incident.            </p>            <span class="badge card-action">Guide</span>          </header>          <div class="card-body flex flex-wrap items-center gap-xs mt-auto fg-text-muted">            <span class="avatar avatar-sm">              <img class="avatar-image" src="/demo/people/kenta-nakamura.webp" alt width="256" height="256">            </span>            <span class="fg-text-strong">Kenta Nakamura</span>            <span aria-hidden="true">·</span>            <time datetime="2026-10-27">27 Oct 2026</time>          </div>        </li>      </ul>    </div>  </section></template>

區塊提供可直接複製的標記,沿用頁面的文字顏色和字級。預覽在 body 上設定 fg-text-body text-sm。每個區塊都是尺寸容器,會依自身寬度重新排列。

#組成

  • 標題群組附上前往其餘內容的入口。 標題位於開頭側,「All articles」(所有文章)位於同一列的結尾側,使用 flex flex-wrap items-end justify-between;區塊較窄時,按鈕會換行到標題下方。三張卡片只是其中一部分,按鈕則說明其餘的在哪裡。
  • 每篇內容都是放在清單項目上的 card card-split。 區塊寬度達 64rem 後,三張卡片以 grid-cols(3)@container(--5xl) 並排,圖片在上方。未達這個寬度時上下堆疊,每張卡片在自身寬度有 28rem 時把圖片放在文字旁,到了手機的寬度再回到上方。這由卡片依自身寬度決定;區塊只決定欄數。
  • 標題就是入口。 它是一個 <a class="card-link">,點擊範圍涵蓋整張卡片,因此圖片和內距也都屬於這個連結。摘要和作者那一行位於這個點擊範圍之上,文字仍然可以選取。
  • 一段說明內容的摘要,最多兩句,放在 card-description 中。只重複標題的摘要,白白浪費了這一行。
  • 內容的類型是 card-action 中的中性徽章,位於標頭的結尾側。它是文字,而且不帶色相:類型不是狀態。
  • 作者和日期,寫在低調的一行。 一個頭像、以高對比文字色呈現的姓名,以及放在 <time> 中的日期。mt-auto 把這一行固定在卡片底部,因此三張長度不同的卡片會結束在同一條線上。

依最新到最舊排列各篇內容,並在日期中寫出年份。

當某一篇應該領頭時,例如由一篇案例研究帶出一整套指南,就把區塊的一半給它:一個圖文、較大的標題和它的摘要。旁邊的三篇各是一個標題加一行文字,以細線分隔。區塊寬度達 64rem 後,兩半並排;未達時精選內容排在前面。

精選內容

<section class="container-inline px-lg py-4xl" aria-labelledby="resources-title">  <div class="flex flex-col gap-2xl max-w(1040) mx-auto">    <header class="flex flex-col gap-sm max-w(560)">      <p class="eyebrow">Resources</p>      <h2 class="heading heading-2xl" id="resources-title">        Guides and stories from teams on Atlas.      </h2>    </header>    <div class="grid gap-2xl items-start grid-cols(2)@container(--5xl)">      <article class="flex flex-col gap-md">        <div class="figure">          <img class="figure-media" src="/demo/scenes/interior-linen-armchair-3x2.webp" alt width="2000" height="1333" style="--figure-ratio: 3 / 2">        </div>        <p class="flex flex-wrap items-center gap-xs m(0) mt-xs fg-text-muted">          <span class="badge">Case study</span>          <time datetime="2026-11-12">12 Nov 2026</time>          <span aria-hidden="true">·</span>          <span>8 min read</span>        </p>        <h3 class="heading heading-lg">          <a class="link link-quiet" href="#resources-title">            How Orbit moved forty services in a quarter          </a>        </h3>        <p class="m(0) leading-md max-w(480)">          Orbit kept a deploy calendar and froze every Friday. This is the order they moved their services in, what they left for last, and the week the calendar went away.        </p>        <p class="flex items-center gap-xs m(0) fg-text-muted">          <span class="avatar avatar-sm">            <img class="avatar-image" src="/demo/people/jihoon-park.webp" alt width="256" height="256">          </span>          <span class="fg-text-strong">Ji-hoon Park</span>        </p>      </article>      <ul class="flex flex-col m(0) p(0)">        <li class="flex flex-col gap-xs pb-lg">          <p class="flex flex-wrap items-center gap-xs m(0) fg-text-muted">            <span class="badge">Guide</span>            <time datetime="2026-11-05">5 Nov 2026</time>            <span aria-hidden="true">·</span>            <span>5 min read</span>          </p>          <h3 class="heading heading-sm">            <a class="link link-quiet" href="#resources-title">              A preview for every branch, at its own address            </a>          </h3>          <p class="m(0) leading-md">            Set up previews for a repository, share one, and keep the rest behind a sign-in.          </p>        </li>        <li class="flex flex-col gap-xs py-lg bt(1) bt-solid b-line-hair">          <p class="flex flex-wrap items-center gap-xs m(0) fg-text-muted">            <span class="badge">Engineering</span>            <time datetime="2026-10-29">29 Oct 2026</time>            <span aria-hidden="true">·</span>            <span>7 min read</span>          </p>          <h3 class="heading heading-sm">            <a class="link link-quiet" href="#resources-title">              What fourteen regions taught us about latency            </a>          </h3>          <p class="m(0) leading-md">            Where the last hundred milliseconds go, measured from the edge and not from a laptop.          </p>        </li>        <li class="flex flex-col gap-xs pt-lg bt(1) bt-solid b-line-hair">          <p class="flex flex-wrap items-center gap-xs m(0) fg-text-muted">            <span class="badge">Guide</span>            <time datetime="2026-10-21">21 Oct 2026</time>            <span aria-hidden="true">·</span>            <span>3 min read</span>          </p>          <h3 class="heading heading-sm">            <a class="link link-quiet" href="#resources-title">              Custom domains, and certificates that renew            </a>          </h3>          <p class="m(0) leading-md">            Point a domain at a project and let Atlas keep its certificate current.          </p>        </li>      </ul>    </div>  </div></section>
<section className="container-inline px-lg py-4xl" aria-labelledby="resources-title">  <div className="flex flex-col gap-2xl max-w(1040) mx-auto">    <header className="flex flex-col gap-sm max-w(560)">      <p className="eyebrow">Resources</p>      <h2 className="heading heading-2xl" id="resources-title">        Guides and stories from teams on Atlas.      </h2>    </header>    <div className="grid gap-2xl items-start grid-cols(2)@container(--5xl)">      <article className="flex flex-col gap-md">        <div className="figure">          <img className="figure-media" src="/demo/scenes/interior-linen-armchair-3x2.webp" alt="" width="2000" height="1333" style={{ '--figure-ratio': '3 / 2' } as React.CSSProperties} />        </div>        <p className="flex flex-wrap items-center gap-xs m(0) mt-xs fg-text-muted">          <span className="badge">Case study</span>          <time dateTime="2026-11-12">12 Nov 2026</time>          <span aria-hidden="true">·</span>          <span>8 min read</span>        </p>        <h3 className="heading heading-lg">          <a className="link link-quiet" href="#resources-title">            How Orbit moved forty services in a quarter          </a>        </h3>        <p className="m(0) leading-md max-w(480)">          Orbit kept a deploy calendar and froze every Friday. This is the order they moved their services in, what they left for last, and the week the calendar went away.        </p>        <p className="flex items-center gap-xs m(0) fg-text-muted">          <span className="avatar avatar-sm">            <img className="avatar-image" src="/demo/people/jihoon-park.webp" alt="" width="256" height="256" />          </span>          <span className="fg-text-strong">Ji-hoon Park</span>        </p>      </article>      <ul className="flex flex-col m(0) p(0)">        <li className="flex flex-col gap-xs pb-lg">          <p className="flex flex-wrap items-center gap-xs m(0) fg-text-muted">            <span className="badge">Guide</span>            <time dateTime="2026-11-05">5 Nov 2026</time>            <span aria-hidden="true">·</span>            <span>5 min read</span>          </p>          <h3 className="heading heading-sm">            <a className="link link-quiet" href="#resources-title">              A preview for every branch, at its own address            </a>          </h3>          <p className="m(0) leading-md">            Set up previews for a repository, share one, and keep the rest behind a sign-in.          </p>        </li>        <li className="flex flex-col gap-xs py-lg bt(1) bt-solid b-line-hair">          <p className="flex flex-wrap items-center gap-xs m(0) fg-text-muted">            <span className="badge">Engineering</span>            <time dateTime="2026-10-29">29 Oct 2026</time>            <span aria-hidden="true">·</span>            <span>7 min read</span>          </p>          <h3 className="heading heading-sm">            <a className="link link-quiet" href="#resources-title">              What fourteen regions taught us about latency            </a>          </h3>          <p className="m(0) leading-md">            Where the last hundred milliseconds go, measured from the edge and not from a laptop.          </p>        </li>        <li className="flex flex-col gap-xs pt-lg bt(1) bt-solid b-line-hair">          <p className="flex flex-wrap items-center gap-xs m(0) fg-text-muted">            <span className="badge">Guide</span>            <time dateTime="2026-10-21">21 Oct 2026</time>            <span aria-hidden="true">·</span>            <span>3 min read</span>          </p>          <h3 className="heading heading-sm">            <a className="link link-quiet" href="#resources-title">              Custom domains, and certificates that renew            </a>          </h3>          <p className="m(0) leading-md">            Point a domain at a project and let Atlas keep its certificate current.          </p>        </li>      </ul>    </div>  </div></section>
<section class="container-inline px-lg py-4xl" aria-labelledby="resources-title">  <div class="flex flex-col gap-2xl max-w(1040) mx-auto">    <header class="flex flex-col gap-sm max-w(560)">      <p class="eyebrow">Resources</p>      <h2 class="heading heading-2xl" id="resources-title">        Guides and stories from teams on Atlas.      </h2>    </header>    <div class="grid gap-2xl items-start grid-cols(2)@container(--5xl)">      <article class="flex flex-col gap-md">        <div class="figure">          <img class="figure-media" src="/demo/scenes/interior-linen-armchair-3x2.webp" alt width="2000" height="1333" style="--figure-ratio: 3 / 2">        </div>        <p class="flex flex-wrap items-center gap-xs m(0) mt-xs fg-text-muted">          <span class="badge">Case study</span>          <time datetime="2026-11-12">12 Nov 2026</time>          <span aria-hidden="true">·</span>          <span>8 min read</span>        </p>        <h3 class="heading heading-lg">          <a class="link link-quiet" href="#resources-title">            How Orbit moved forty services in a quarter          </a>        </h3>        <p class="m(0) leading-md max-w(480)">          Orbit kept a deploy calendar and froze every Friday. This is the order they moved their services in, what they left for last, and the week the calendar went away.        </p>        <p class="flex items-center gap-xs m(0) fg-text-muted">          <span class="avatar avatar-sm">            <img class="avatar-image" src="/demo/people/jihoon-park.webp" alt width="256" height="256">          </span>          <span class="fg-text-strong">Ji-hoon Park</span>        </p>      </article>      <ul class="flex flex-col m(0) p(0)">        <li class="flex flex-col gap-xs pb-lg">          <p class="flex flex-wrap items-center gap-xs m(0) fg-text-muted">            <span class="badge">Guide</span>            <time datetime="2026-11-05">5 Nov 2026</time>            <span aria-hidden="true">·</span>            <span>5 min read</span>          </p>          <h3 class="heading heading-sm">            <a class="link link-quiet" href="#resources-title">              A preview for every branch, at its own address            </a>          </h3>          <p class="m(0) leading-md">            Set up previews for a repository, share one, and keep the rest behind a sign-in.          </p>        </li>        <li class="flex flex-col gap-xs py-lg bt(1) bt-solid b-line-hair">          <p class="flex flex-wrap items-center gap-xs m(0) fg-text-muted">            <span class="badge">Engineering</span>            <time datetime="2026-10-29">29 Oct 2026</time>            <span aria-hidden="true">·</span>            <span>7 min read</span>          </p>          <h3 class="heading heading-sm">            <a class="link link-quiet" href="#resources-title">              What fourteen regions taught us about latency            </a>          </h3>          <p class="m(0) leading-md">            Where the last hundred milliseconds go, measured from the edge and not from a laptop.          </p>        </li>        <li class="flex flex-col gap-xs pt-lg bt(1) bt-solid b-line-hair">          <p class="flex flex-wrap items-center gap-xs m(0) fg-text-muted">            <span class="badge">Guide</span>            <time datetime="2026-10-21">21 Oct 2026</time>            <span aria-hidden="true">·</span>            <span>3 min read</span>          </p>          <h3 class="heading heading-sm">            <a class="link link-quiet" href="#resources-title">              Custom domains, and certificates that renew            </a>          </h3>          <p class="m(0) leading-md">            Point a domain at a project and let Atlas keep its certificate current.          </p>        </li>      </ul>    </div>  </div></section>
<template>  <section class="container-inline px-lg py-4xl" aria-labelledby="resources-title">    <div class="flex flex-col gap-2xl max-w(1040) mx-auto">      <header class="flex flex-col gap-sm max-w(560)">        <p class="eyebrow">Resources</p>        <h2 class="heading heading-2xl" id="resources-title">          Guides and stories from teams on Atlas.        </h2>      </header>      <div class="grid gap-2xl items-start grid-cols(2)@container(--5xl)">        <article class="flex flex-col gap-md">          <div class="figure">            <img class="figure-media" src="/demo/scenes/interior-linen-armchair-3x2.webp" alt width="2000" height="1333" style="--figure-ratio: 3 / 2">          </div>          <p class="flex flex-wrap items-center gap-xs m(0) mt-xs fg-text-muted">            <span class="badge">Case study</span>            <time datetime="2026-11-12">12 Nov 2026</time>            <span aria-hidden="true">·</span>            <span>8 min read</span>          </p>          <h3 class="heading heading-lg">            <a class="link link-quiet" href="#resources-title">              How Orbit moved forty services in a quarter            </a>          </h3>          <p class="m(0) leading-md max-w(480)">            Orbit kept a deploy calendar and froze every Friday. This is the order they moved their services in, what they left for last, and the week the calendar went away.          </p>          <p class="flex items-center gap-xs m(0) fg-text-muted">            <span class="avatar avatar-sm">              <img class="avatar-image" src="/demo/people/jihoon-park.webp" alt width="256" height="256">            </span>            <span class="fg-text-strong">Ji-hoon Park</span>          </p>        </article>        <ul class="flex flex-col m(0) p(0)">          <li class="flex flex-col gap-xs pb-lg">            <p class="flex flex-wrap items-center gap-xs m(0) fg-text-muted">              <span class="badge">Guide</span>              <time datetime="2026-11-05">5 Nov 2026</time>              <span aria-hidden="true">·</span>              <span>5 min read</span>            </p>            <h3 class="heading heading-sm">              <a class="link link-quiet" href="#resources-title">                A preview for every branch, at its own address              </a>            </h3>            <p class="m(0) leading-md">              Set up previews for a repository, share one, and keep the rest behind a sign-in.            </p>          </li>          <li class="flex flex-col gap-xs py-lg bt(1) bt-solid b-line-hair">            <p class="flex flex-wrap items-center gap-xs m(0) fg-text-muted">              <span class="badge">Engineering</span>              <time datetime="2026-10-29">29 Oct 2026</time>              <span aria-hidden="true">·</span>              <span>7 min read</span>            </p>            <h3 class="heading heading-sm">              <a class="link link-quiet" href="#resources-title">                What fourteen regions taught us about latency              </a>            </h3>            <p class="m(0) leading-md">              Where the last hundred milliseconds go, measured from the edge and not from a laptop.            </p>          </li>          <li class="flex flex-col gap-xs pt-lg bt(1) bt-solid b-line-hair">            <p class="flex flex-wrap items-center gap-xs m(0) fg-text-muted">              <span class="badge">Guide</span>              <time datetime="2026-10-21">21 Oct 2026</time>              <span aria-hidden="true">·</span>              <span>3 min read</span>            </p>            <h3 class="heading heading-sm">              <a class="link link-quiet" href="#resources-title">                Custom domains, and certificates that renew              </a>            </h3>            <p class="m(0) leading-md">              Point a domain at a project and let Atlas keep its certificate current.            </p>          </li>        </ul>      </div>    </div>  </section></template>

精選內容沒有表面:頁面上的一個圖文和一欄文字就足以領頭,而在三個沒有外框的標題旁放一張卡片會太過搶眼。兩個標題之間的細線 bt(1) bt-solid b-line-hair,是唯一由 utility 畫出的線條。

#無障礙

  • 區塊是一個 <section>,以其 <h2> 命名;每篇內容的標題是 <h3>,因此標題清單就是內容清單。
  • 每個標題是一個連結,文字本身說明它通往哪裡。這裡沒有「閱讀更多」:標題已經是入口,而三個都叫「閱讀更多」的連結,在螢幕閱讀器的連結清單中毫無資訊。
  • 範例中的圖片只是營造氣氛,因此 alt 留空。能呈現內容主題的圖片則要加上描述。
  • 姓名旁的肖像 alt 留空:姓名已經在那裡了。
  • 日期是帶有 datetime 的 <time>,月份以文字寫出。「10/11」對兩位讀者來說是不同的兩天。
  • 各項資訊之間的圓點加上 aria-hidden。