导航

v2.1.0
营销区块

团队

介绍产品背后的人:姓名、职责,以及每人一句简介。

团队区块介绍产品背后的人:一张面孔、一个姓名、各自负责什么,以及一句让他们变得具体可感的话。它的作用是让即将信任一家公司的访客看到这家公司背后是谁。每个人是一张围绕头像组织的卡片。

团队

<section class="container-inline px-lg py-4xl" aria-labelledby="team-title">  <div class="flex flex-col gap-2xl max-w(1040) mx-auto">    <header class="flex flex-col items-center gap-sm text-center">      <p class="eyebrow">Team</p>      <h2 class="heading heading-2xl" id="team-title">The people behind every deploy.</h2>      <p class="lead max-w(520)">        Atlas is built by a small team in Taipei, Tokyo and Seoul. These are the six you are most likely to hear from.      </p>    </header>    <ul class="grid gap-md m(0) p(0) grid-cols(2)@container(--2xl) grid-cols(3)@container(--5xl)">      <li class="card">        <span class="avatar avatar-xl">          <img class="avatar-image" src="/demo/people/yiching-lin.webp" alt width="256" height="256">        </span>        <header class="card-header">          <h3 class="card-title">Yi-ching Lin</h3>          <p class="card-description">Co-founder, product</p>        </header>        <div class="card-body">          Decides what Atlas does not do. Before this she ran the release tooling of a newsroom that published every hour.        </div>        <a class="link link-quiet mt-auto self-start fg-text-muted" href="#team-title" aria-label="GitHub profile of Yi-ching Lin">          GitHub        </a>      </li>      <li class="card">        <span class="avatar avatar-xl">          <img class="avatar-image" src="/demo/people/pohan-chen.webp" alt width="256" height="256">        </span>        <header class="card-header">          <h3 class="card-title">Po-han Chen</h3>          <p class="card-description">Build systems</p>        </header>        <div class="card-body">          Owns the pipeline from a push to an artifact, and the caches that keep a cold build under a minute.        </div>        <a class="link link-quiet mt-auto self-start fg-text-muted" href="#team-title" aria-label="GitHub profile of Po-han Chen">          GitHub        </a>      </li>      <li class="card">        <span class="avatar avatar-xl">          <img class="avatar-image" src="/demo/people/misaki-sato.webp" alt width="256" height="256">        </span>        <header class="card-header">          <h3 class="card-title">Misaki Sato</h3>          <p class="card-description">Design</p>        </header>        <div class="card-body">          Draws the dashboard and the previews, and reviews every screen in the browser it ships to.        </div>        <a class="link link-quiet mt-auto self-start fg-text-muted" href="#team-title" aria-label="GitHub profile of Misaki Sato">          GitHub        </a>      </li>      <li class="card">        <span class="avatar avatar-xl">          <img class="avatar-image" src="/demo/people/kenta-nakamura.webp" alt width="256" height="256">        </span>        <header class="card-header">          <h3 class="card-title">Kenta Nakamura</h3>          <p class="card-description">Edge network</p>        </header>        <div class="card-body">          Runs the fourteen regions and reads the edge logs, so that nobody on your team has to.        </div>        <a class="link link-quiet mt-auto self-start fg-text-muted" href="#team-title" aria-label="GitHub profile of Kenta Nakamura">          GitHub        </a>      </li>      <li class="card">        <span class="avatar avatar-xl">          <img class="avatar-image" src="/demo/people/seoyeon-kim.webp" alt width="256" height="256">        </span>        <header class="card-header">          <h3 class="card-title">Seo-yeon Kim</h3>          <p class="card-description">Developer experience</p>        </header>        <div class="card-body">          Writes the command line and the guides, and answers most of the questions in the community forum.        </div>        <a class="link link-quiet mt-auto self-start fg-text-muted" href="#team-title" aria-label="GitHub profile of Seo-yeon Kim">          GitHub        </a>      </li>      <li class="card">        <span class="avatar avatar-xl">          <img class="avatar-image" src="/demo/people/jihoon-park.webp" alt width="256" height="256">        </span>        <header class="card-header">          <h3 class="card-title">Ji-hoon Park</h3>          <p class="card-description">Customer engineering</p>        </header>        <div class="card-body">          Helps a team move its first services, and stays until the deploy calendar is gone.        </div>        <a class="link link-quiet mt-auto self-start fg-text-muted" href="#team-title" aria-label="GitHub profile of Ji-hoon Park">          GitHub        </a>      </li>    </ul>  </div></section>
<section className="container-inline px-lg py-4xl" aria-labelledby="team-title">  <div className="flex flex-col gap-2xl max-w(1040) mx-auto">    <header className="flex flex-col items-center gap-sm text-center">      <p className="eyebrow">Team</p>      <h2 className="heading heading-2xl" id="team-title">The people behind every deploy.</h2>      <p className="lead max-w(520)">        Atlas is built by a small team in Taipei, Tokyo and Seoul. These are the six you are most likely to hear from.      </p>    </header>    <ul className="grid gap-md m(0) p(0) grid-cols(2)@container(--2xl) grid-cols(3)@container(--5xl)">      <li className="card">        <span className="avatar avatar-xl">          <img className="avatar-image" src="/demo/people/yiching-lin.webp" alt="" width="256" height="256" />        </span>        <header className="card-header">          <h3 className="card-title">Yi-ching Lin</h3>          <p className="card-description">Co-founder, product</p>        </header>        <div className="card-body">          Decides what Atlas does not do. Before this she ran the release tooling of a newsroom that published every hour.        </div>        <a className="link link-quiet mt-auto self-start fg-text-muted" href="#team-title" aria-label="GitHub profile of Yi-ching Lin">          GitHub        </a>      </li>      <li className="card">        <span className="avatar avatar-xl">          <img className="avatar-image" src="/demo/people/pohan-chen.webp" alt="" width="256" height="256" />        </span>        <header className="card-header">          <h3 className="card-title">Po-han Chen</h3>          <p className="card-description">Build systems</p>        </header>        <div className="card-body">          Owns the pipeline from a push to an artifact, and the caches that keep a cold build under a minute.        </div>        <a className="link link-quiet mt-auto self-start fg-text-muted" href="#team-title" aria-label="GitHub profile of Po-han Chen">          GitHub        </a>      </li>      <li className="card">        <span className="avatar avatar-xl">          <img className="avatar-image" src="/demo/people/misaki-sato.webp" alt="" width="256" height="256" />        </span>        <header className="card-header">          <h3 className="card-title">Misaki Sato</h3>          <p className="card-description">Design</p>        </header>        <div className="card-body">          Draws the dashboard and the previews, and reviews every screen in the browser it ships to.        </div>        <a className="link link-quiet mt-auto self-start fg-text-muted" href="#team-title" aria-label="GitHub profile of Misaki Sato">          GitHub        </a>      </li>      <li className="card">        <span className="avatar avatar-xl">          <img className="avatar-image" src="/demo/people/kenta-nakamura.webp" alt="" width="256" height="256" />        </span>        <header className="card-header">          <h3 className="card-title">Kenta Nakamura</h3>          <p className="card-description">Edge network</p>        </header>        <div className="card-body">          Runs the fourteen regions and reads the edge logs, so that nobody on your team has to.        </div>        <a className="link link-quiet mt-auto self-start fg-text-muted" href="#team-title" aria-label="GitHub profile of Kenta Nakamura">          GitHub        </a>      </li>      <li className="card">        <span className="avatar avatar-xl">          <img className="avatar-image" src="/demo/people/seoyeon-kim.webp" alt="" width="256" height="256" />        </span>        <header className="card-header">          <h3 className="card-title">Seo-yeon Kim</h3>          <p className="card-description">Developer experience</p>        </header>        <div className="card-body">          Writes the command line and the guides, and answers most of the questions in the community forum.        </div>        <a className="link link-quiet mt-auto self-start fg-text-muted" href="#team-title" aria-label="GitHub profile of Seo-yeon Kim">          GitHub        </a>      </li>      <li className="card">        <span className="avatar avatar-xl">          <img className="avatar-image" src="/demo/people/jihoon-park.webp" alt="" width="256" height="256" />        </span>        <header className="card-header">          <h3 className="card-title">Ji-hoon Park</h3>          <p className="card-description">Customer engineering</p>        </header>        <div className="card-body">          Helps a team move its first services, and stays until the deploy calendar is gone.        </div>        <a className="link link-quiet mt-auto self-start fg-text-muted" href="#team-title" aria-label="GitHub profile of Ji-hoon Park">          GitHub        </a>      </li>    </ul>  </div></section>
<section class="container-inline px-lg py-4xl" aria-labelledby="team-title">  <div class="flex flex-col gap-2xl max-w(1040) mx-auto">    <header class="flex flex-col items-center gap-sm text-center">      <p class="eyebrow">Team</p>      <h2 class="heading heading-2xl" id="team-title">The people behind every deploy.</h2>      <p class="lead max-w(520)">        Atlas is built by a small team in Taipei, Tokyo and Seoul. These are the six you are most likely to hear from.      </p>    </header>    <ul class="grid gap-md m(0) p(0) grid-cols(2)@container(--2xl) grid-cols(3)@container(--5xl)">      <li class="card">        <span class="avatar avatar-xl">          <img class="avatar-image" src="/demo/people/yiching-lin.webp" alt width="256" height="256">        </span>        <header class="card-header">          <h3 class="card-title">Yi-ching Lin</h3>          <p class="card-description">Co-founder, product</p>        </header>        <div class="card-body">          Decides what Atlas does not do. Before this she ran the release tooling of a newsroom that published every hour.        </div>        <a class="link link-quiet mt-auto self-start fg-text-muted" href="#team-title" aria-label="GitHub profile of Yi-ching Lin">          GitHub        </a>      </li>      <li class="card">        <span class="avatar avatar-xl">          <img class="avatar-image" src="/demo/people/pohan-chen.webp" alt width="256" height="256">        </span>        <header class="card-header">          <h3 class="card-title">Po-han Chen</h3>          <p class="card-description">Build systems</p>        </header>        <div class="card-body">          Owns the pipeline from a push to an artifact, and the caches that keep a cold build under a minute.        </div>        <a class="link link-quiet mt-auto self-start fg-text-muted" href="#team-title" aria-label="GitHub profile of Po-han Chen">          GitHub        </a>      </li>      <li class="card">        <span class="avatar avatar-xl">          <img class="avatar-image" src="/demo/people/misaki-sato.webp" alt width="256" height="256">        </span>        <header class="card-header">          <h3 class="card-title">Misaki Sato</h3>          <p class="card-description">Design</p>        </header>        <div class="card-body">          Draws the dashboard and the previews, and reviews every screen in the browser it ships to.        </div>        <a class="link link-quiet mt-auto self-start fg-text-muted" href="#team-title" aria-label="GitHub profile of Misaki Sato">          GitHub        </a>      </li>      <li class="card">        <span class="avatar avatar-xl">          <img class="avatar-image" src="/demo/people/kenta-nakamura.webp" alt width="256" height="256">        </span>        <header class="card-header">          <h3 class="card-title">Kenta Nakamura</h3>          <p class="card-description">Edge network</p>        </header>        <div class="card-body">          Runs the fourteen regions and reads the edge logs, so that nobody on your team has to.        </div>        <a class="link link-quiet mt-auto self-start fg-text-muted" href="#team-title" aria-label="GitHub profile of Kenta Nakamura">          GitHub        </a>      </li>      <li class="card">        <span class="avatar avatar-xl">          <img class="avatar-image" src="/demo/people/seoyeon-kim.webp" alt width="256" height="256">        </span>        <header class="card-header">          <h3 class="card-title">Seo-yeon Kim</h3>          <p class="card-description">Developer experience</p>        </header>        <div class="card-body">          Writes the command line and the guides, and answers most of the questions in the community forum.        </div>        <a class="link link-quiet mt-auto self-start fg-text-muted" href="#team-title" aria-label="GitHub profile of Seo-yeon Kim">          GitHub        </a>      </li>      <li class="card">        <span class="avatar avatar-xl">          <img class="avatar-image" src="/demo/people/jihoon-park.webp" alt width="256" height="256">        </span>        <header class="card-header">          <h3 class="card-title">Ji-hoon Park</h3>          <p class="card-description">Customer engineering</p>        </header>        <div class="card-body">          Helps a team move its first services, and stays until the deploy calendar is gone.        </div>        <a class="link link-quiet mt-auto self-start fg-text-muted" href="#team-title" aria-label="GitHub profile of Ji-hoon Park">          GitHub        </a>      </li>    </ul>  </div></section>
<template>  <section class="container-inline px-lg py-4xl" aria-labelledby="team-title">    <div class="flex flex-col gap-2xl max-w(1040) mx-auto">      <header class="flex flex-col items-center gap-sm text-center">        <p class="eyebrow">Team</p>        <h2 class="heading heading-2xl" id="team-title">The people behind every deploy.</h2>        <p class="lead max-w(520)">          Atlas is built by a small team in Taipei, Tokyo and Seoul. These are the six you are most likely to hear from.        </p>      </header>      <ul class="grid gap-md m(0) p(0) grid-cols(2)@container(--2xl) grid-cols(3)@container(--5xl)">        <li class="card">          <span class="avatar avatar-xl">            <img class="avatar-image" src="/demo/people/yiching-lin.webp" alt width="256" height="256">          </span>          <header class="card-header">            <h3 class="card-title">Yi-ching Lin</h3>            <p class="card-description">Co-founder, product</p>          </header>          <div class="card-body">            Decides what Atlas does not do. Before this she ran the release tooling of a newsroom that published every hour.          </div>          <a class="link link-quiet mt-auto self-start fg-text-muted" href="#team-title" aria-label="GitHub profile of Yi-ching Lin">            GitHub          </a>        </li>        <li class="card">          <span class="avatar avatar-xl">            <img class="avatar-image" src="/demo/people/pohan-chen.webp" alt width="256" height="256">          </span>          <header class="card-header">            <h3 class="card-title">Po-han Chen</h3>            <p class="card-description">Build systems</p>          </header>          <div class="card-body">            Owns the pipeline from a push to an artifact, and the caches that keep a cold build under a minute.          </div>          <a class="link link-quiet mt-auto self-start fg-text-muted" href="#team-title" aria-label="GitHub profile of Po-han Chen">            GitHub          </a>        </li>        <li class="card">          <span class="avatar avatar-xl">            <img class="avatar-image" src="/demo/people/misaki-sato.webp" alt width="256" height="256">          </span>          <header class="card-header">            <h3 class="card-title">Misaki Sato</h3>            <p class="card-description">Design</p>          </header>          <div class="card-body">            Draws the dashboard and the previews, and reviews every screen in the browser it ships to.          </div>          <a class="link link-quiet mt-auto self-start fg-text-muted" href="#team-title" aria-label="GitHub profile of Misaki Sato">            GitHub          </a>        </li>        <li class="card">          <span class="avatar avatar-xl">            <img class="avatar-image" src="/demo/people/kenta-nakamura.webp" alt width="256" height="256">          </span>          <header class="card-header">            <h3 class="card-title">Kenta Nakamura</h3>            <p class="card-description">Edge network</p>          </header>          <div class="card-body">            Runs the fourteen regions and reads the edge logs, so that nobody on your team has to.          </div>          <a class="link link-quiet mt-auto self-start fg-text-muted" href="#team-title" aria-label="GitHub profile of Kenta Nakamura">            GitHub          </a>        </li>        <li class="card">          <span class="avatar avatar-xl">            <img class="avatar-image" src="/demo/people/seoyeon-kim.webp" alt width="256" height="256">          </span>          <header class="card-header">            <h3 class="card-title">Seo-yeon Kim</h3>            <p class="card-description">Developer experience</p>          </header>          <div class="card-body">            Writes the command line and the guides, and answers most of the questions in the community forum.          </div>          <a class="link link-quiet mt-auto self-start fg-text-muted" href="#team-title" aria-label="GitHub profile of Seo-yeon Kim">            GitHub          </a>        </li>        <li class="card">          <span class="avatar avatar-xl">            <img class="avatar-image" src="/demo/people/jihoon-park.webp" alt width="256" height="256">          </span>          <header class="card-header">            <h3 class="card-title">Ji-hoon Park</h3>            <p class="card-description">Customer engineering</p>          </header>          <div class="card-body">            Helps a team move its first services, and stays until the deploy calendar is gone.          </div>          <a class="link link-quiet mt-auto self-start fg-text-muted" href="#team-title" aria-label="GitHub profile of Ji-hoon Park">            GitHub          </a>        </li>      </ul>    </div>  </section></template>

区块提供可直接复制的标记,沿用页面自身的文字颜色和字号。预览在 body 上设置 fg-text-body text-sm。每个区块都是尺寸容器,会按自身宽度重排。

#区块组成

  • 网格随区块宽度变化。 默认一列,达到 42rem 时两列,达到 64rem 时三列:grid-cols(2)@container(--2xl) grid-cols(3)@container(--5xl)。六个人在每种列数下都能排满,不会有卡片单独落在一行;如果是五人或七人,就把人数减到能被列数整除。
  • 每个人是列表项上的一个 card。 头像在最前,接着是卡片头部,姓名用 card-title,职责用 card-description,然后是放在 card-body 中的一句话。
  • 面孔使用 avatar avatar-xl,尺寸为 56px:大到足以认出人,又小到六个放在一起不会变成一面肖像墙。无论照片是什么形状,它都保持圆形。
  • 职责说明这个人为读者做什么。 “Build systems”(构建系统)告诉客户,关于构建的问题会交到谁手里;职级做不到这一点。
  • 每人一句话,讲的是工作。 各句的长度相差不要超过一行,因为这些卡片共处一行。
  • 一个低调的链接,固定在底部,使用 mt-auto,让同一行中的链接彼此对齐。它是一个采用柔和墨色的 link-quiet:能被找到即可,不与姓名争夺注意力。

#简短列表

如果人员介绍只是附带内容,例如放在联系表单旁边或账户页面中,三行就够了。在面板上放一个列表:头像作为 list-media,姓名在上、职责在下,行尾是写信联系的入口。

简短列表

<section class="container-inline px-lg py-4xl" aria-labelledby="team-contacts-title">  <div class="flex flex-col gap-lg max-w(720) mx-auto">    <header class="flex flex-col gap-sm">      <h2 class="heading heading-xl" id="team-contacts-title">Who you will hear from</h2>      <p class="m(0) leading-md max-w(520)">        An Enterprise workspace has three named people at Atlas. They know your projects before you write.      </p>    </header>    <div class="sheet px-lg py-xs">      <ul class="list">        <li class="list-row">          <span class="avatar avatar-lg list-media">            <img class="avatar-image" src="/demo/people/meiling-wang.webp" alt width="256" height="256">          </span>          <div class="list-body">            <p class="list-title">Mei-ling Wang</p>            <p class="list-description">Support lead, Taipei</p>          </div>          <span class="list-end">            <a class="link" href="mailto:meiling@atlas.dev" aria-label="Email Mei-ling Wang">              Email            </a>          </span>        </li>        <li class="list-row">          <span class="avatar avatar-lg list-media">            <img class="avatar-image" src="/demo/people/haruto-takahashi.webp" alt width="256" height="256">          </span>          <div class="list-body">            <p class="list-title">Haruto Takahashi</p>            <p class="list-description">Solutions engineer, Tokyo</p>          </div>          <span class="list-end">            <a class="link" href="mailto:haruto@atlas.dev" aria-label="Email Haruto Takahashi">              Email            </a>          </span>        </li>        <li class="list-row">          <span class="avatar avatar-lg list-media">            <img class="avatar-image" src="/demo/people/jihoon-park.webp" alt width="256" height="256">          </span>          <div class="list-body">            <p class="list-title">Ji-hoon Park</p>            <p class="list-description">Customer engineering, Seoul</p>          </div>          <span class="list-end">            <a class="link" href="mailto:jihoon@atlas.dev" aria-label="Email Ji-hoon Park">Email</a>          </span>        </li>      </ul>    </div>  </div></section>
<section className="container-inline px-lg py-4xl" aria-labelledby="team-contacts-title">  <div className="flex flex-col gap-lg max-w(720) mx-auto">    <header className="flex flex-col gap-sm">      <h2 className="heading heading-xl" id="team-contacts-title">Who you will hear from</h2>      <p className="m(0) leading-md max-w(520)">        An Enterprise workspace has three named people at Atlas. They know your projects before you write.      </p>    </header>    <div className="sheet px-lg py-xs">      <ul className="list">        <li className="list-row">          <span className="avatar avatar-lg list-media">            <img className="avatar-image" src="/demo/people/meiling-wang.webp" alt="" width="256" height="256" />          </span>          <div className="list-body">            <p className="list-title">Mei-ling Wang</p>            <p className="list-description">Support lead, Taipei</p>          </div>          <span className="list-end">            <a className="link" href="mailto:meiling@atlas.dev" aria-label="Email Mei-ling Wang">              Email            </a>          </span>        </li>        <li className="list-row">          <span className="avatar avatar-lg list-media">            <img className="avatar-image" src="/demo/people/haruto-takahashi.webp" alt="" width="256" height="256" />          </span>          <div className="list-body">            <p className="list-title">Haruto Takahashi</p>            <p className="list-description">Solutions engineer, Tokyo</p>          </div>          <span className="list-end">            <a className="link" href="mailto:haruto@atlas.dev" aria-label="Email Haruto Takahashi">              Email            </a>          </span>        </li>        <li className="list-row">          <span className="avatar avatar-lg list-media">            <img className="avatar-image" src="/demo/people/jihoon-park.webp" alt="" width="256" height="256" />          </span>          <div className="list-body">            <p className="list-title">Ji-hoon Park</p>            <p className="list-description">Customer engineering, Seoul</p>          </div>          <span className="list-end">            <a className="link" href="mailto:jihoon@atlas.dev" aria-label="Email Ji-hoon Park">              Email            </a>          </span>        </li>      </ul>    </div>  </div></section>
<section class="container-inline px-lg py-4xl" aria-labelledby="team-contacts-title">  <div class="flex flex-col gap-lg max-w(720) mx-auto">    <header class="flex flex-col gap-sm">      <h2 class="heading heading-xl" id="team-contacts-title">Who you will hear from</h2>      <p class="m(0) leading-md max-w(520)">        An Enterprise workspace has three named people at Atlas. They know your projects before you write.      </p>    </header>    <div class="sheet px-lg py-xs">      <ul class="list">        <li class="list-row">          <span class="avatar avatar-lg list-media">            <img class="avatar-image" src="/demo/people/meiling-wang.webp" alt width="256" height="256">          </span>          <div class="list-body">            <p class="list-title">Mei-ling Wang</p>            <p class="list-description">Support lead, Taipei</p>          </div>          <span class="list-end">            <a class="link" href="mailto:meiling@atlas.dev" aria-label="Email Mei-ling Wang">              Email            </a>          </span>        </li>        <li class="list-row">          <span class="avatar avatar-lg list-media">            <img class="avatar-image" src="/demo/people/haruto-takahashi.webp" alt width="256" height="256">          </span>          <div class="list-body">            <p class="list-title">Haruto Takahashi</p>            <p class="list-description">Solutions engineer, Tokyo</p>          </div>          <span class="list-end">            <a class="link" href="mailto:haruto@atlas.dev" aria-label="Email Haruto Takahashi">              Email            </a>          </span>        </li>        <li class="list-row">          <span class="avatar avatar-lg list-media">            <img class="avatar-image" src="/demo/people/jihoon-park.webp" alt width="256" height="256">          </span>          <div class="list-body">            <p class="list-title">Ji-hoon Park</p>            <p class="list-description">Customer engineering, Seoul</p>          </div>          <span class="list-end">            <a class="link" href="mailto:jihoon@atlas.dev" aria-label="Email Ji-hoon Park">Email</a>          </span>        </li>      </ul>    </div>  </div></section>
<template>  <section class="container-inline px-lg py-4xl" aria-labelledby="team-contacts-title">    <div class="flex flex-col gap-lg max-w(720) mx-auto">      <header class="flex flex-col gap-sm">        <h2 class="heading heading-xl" id="team-contacts-title">Who you will hear from</h2>        <p class="m(0) leading-md max-w(520)">          An Enterprise workspace has three named people at Atlas. They know your projects before you write.        </p>      </header>      <div class="sheet px-lg py-xs">        <ul class="list">          <li class="list-row">            <span class="avatar avatar-lg list-media">              <img class="avatar-image" src="/demo/people/meiling-wang.webp" alt width="256" height="256">            </span>            <div class="list-body">              <p class="list-title">Mei-ling Wang</p>              <p class="list-description">Support lead, Taipei</p>            </div>            <span class="list-end">              <a class="link" href="mailto:meiling@atlas.dev" aria-label="Email Mei-ling Wang">                Email              </a>            </span>          </li>          <li class="list-row">            <span class="avatar avatar-lg list-media">              <img class="avatar-image" src="/demo/people/haruto-takahashi.webp" alt width="256" height="256">            </span>            <div class="list-body">              <p class="list-title">Haruto Takahashi</p>              <p class="list-description">Solutions engineer, Tokyo</p>            </div>            <span class="list-end">              <a class="link" href="mailto:haruto@atlas.dev" aria-label="Email Haruto Takahashi">                Email              </a>            </span>          </li>          <li class="list-row">            <span class="avatar avatar-lg list-media">              <img class="avatar-image" src="/demo/people/jihoon-park.webp" alt width="256" height="256">            </span>            <div class="list-body">              <p class="list-title">Ji-hoon Park</p>              <p class="list-description">Customer engineering, Seoul</p>            </div>            <span class="list-end">              <a class="link" href="mailto:jihoon@atlas.dev" aria-label="Email Ji-hoon Park">                Email              </a>            </span>          </li>        </ul>      </div>    </div>  </section></template>

列表的标题和描述各占一行,超出部分以省略号结尾,因此职责要写得在手机上也放得下:写职能和地点,不要写成一句话。细线从姓名下方开始,让头像连成不间断的一列。

#无障碍

  • 区块是一个以其 <h2> 命名的 <section>。在网格中,每个姓名是一个 <h3>,因此读者可以按标题逐人跳转。
  • 姓名旁的人像设置 alt="",并带有 width 和 height:姓名已经在文字中,否则屏幕阅读器会把它读两遍。
  • 在每个人身上重复出现的链接靠名称来区分。“GitHub”和“Email”(邮件)带有 aria-label,以相同的词开头,再补充是谁的:“GitHub profile of Po-han Chen”(Po-han Chen 的 GitHub 个人主页)、“Email Mei-ling Wang”(给 Mei-ling Wang 发邮件)。
  • 职责和那句话都是文本,绝不做成文字图片,也不做成面孔上的工具提示。
  • 公开介绍一个人之前先征得同意。展示对方自己选定的姓名和照片。