網站導覽

v2.1.0
行銷區塊

客戶推薦

引用客戶的原話,並附上他們的姓名。

客戶推薦引用客戶的原話,並附上姓名。區塊使用引文。如果整頁以一位客戶的推薦為主,就放大呈現一則,也可以將多則並排。

客戶推薦

<section class="container-inline px-lg py-4xl" aria-label="What customers say">  <figure class="quote quote-lg max-w(720) mx-auto">    <blockquote class="quote-body">      <p class="quote-text">        We moved forty services to Atlas in a quarter and stopped keeping a deploy calendar. Friday is an ordinary day now.      </p>    </blockquote>    <figcaption class="quote-source">      <span class="avatar">        <img class="avatar-image" src="/demo/people/seoyeon-kim.webp" alt width="256" height="256">      </span>      <span><span class="quote-name">Seo-yeon Kim</span>Engineering lead, Orbit</span>    </figcaption>  </figure></section>
<section className="container-inline px-lg py-4xl" aria-label="What customers say">  <figure className="quote quote-lg max-w(720) mx-auto">    <blockquote className="quote-body">      <p className="quote-text">        We moved forty services to Atlas in a quarter and stopped keeping a deploy calendar. Friday is an ordinary day now.      </p>    </blockquote>    <figcaption className="quote-source">      <span className="avatar">        <img className="avatar-image" src="/demo/people/seoyeon-kim.webp" alt="" width="256" height="256" />      </span>      <span><span className="quote-name">Seo-yeon Kim</span>Engineering lead, Orbit</span>    </figcaption>  </figure></section>
<section class="container-inline px-lg py-4xl" aria-label="What customers say">  <figure class="quote quote-lg max-w(720) mx-auto">    <blockquote class="quote-body">      <p class="quote-text">        We moved forty services to Atlas in a quarter and stopped keeping a deploy calendar. Friday is an ordinary day now.      </p>    </blockquote>    <figcaption class="quote-source">      <span class="avatar">        <img class="avatar-image" src="/demo/people/seoyeon-kim.webp" alt width="256" height="256">      </span>      <span><span class="quote-name">Seo-yeon Kim</span>Engineering lead, Orbit</span>    </figcaption>  </figure></section>
<template>  <section class="container-inline px-lg py-4xl" aria-label="What customers say">    <figure class="quote quote-lg max-w(720) mx-auto">      <blockquote class="quote-body">        <p class="quote-text">          We moved forty services to Atlas in a quarter and stopped keeping a deploy calendar. Friday is an ordinary day now.        </p>      </blockquote>      <figcaption class="quote-source">        <span class="avatar">          <img class="avatar-image" src="/demo/people/seoyeon-kim.webp" alt width="256" height="256">        </span>        <span><span class="quote-name">Seo-yeon Kim</span>Engineering lead, Orbit</span>      </figcaption>    </figure>  </section></template>

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

#組成

  • 限制 quote quote-lg 的欄寬。 引言會自動加上開頭的引號,並平衡各行長度。max-w(720) mx-auto 限制欄寬並將它置中。
  • 清楚標示引言出自誰。 放上照片、醒目的姓名,以及職稱與公司。匿名引言缺乏說服力。
  • 只保留引言和署名。 省略星等、標誌和輪播。一句有力的話,勝過輪播五句訪客不會等著看完的話。

#多則推薦

把三則引言各放在一個面板上,再把面板放進同一個托盤。區塊寬度達 56rem 前排成一欄,達到後排成三欄。每張卡片都是 flex 容器,讓引言區域可以伸展,使同列卡片的署名對齊在同一條水平線上。

多則推薦

<section class="container-inline px-lg py-4xl" aria-labelledby="quotes-title">  <div class="flex flex-col gap-xl max-w(1040) mx-auto">    <header class="flex flex-col gap-sm max-w(560)">      <p class="eyebrow">Customers</p>      <h2 class="heading heading-2xl" id="quotes-title">Teams that ship with Atlas.</h2>    </header>    <ul class="tray grid gap(4) m(0) grid-cols(3)@container(--4xl)">      <li class="sheet sheet-raised flex p-lg">        <figure class="quote grow(1)">          <blockquote class="quote-body">            <p class="quote-text">              Previews changed how we review. Nobody argues about a screenshot any more; they click the link and look.            </p>          </blockquote>          <figcaption class="quote-source">            <span class="avatar avatar-sm">              <img class="avatar-image" src="/demo/people/misaki-sato.webp" alt width="256" height="256">            </span>            <span><span class="quote-name">Misaki Sato</span>Design lead, Northwind</span>          </figcaption>        </figure>      </li>      <li class="sheet sheet-raised flex p-lg">        <figure class="quote grow(1)">          <blockquote class="quote-body">            <p class="quote-text">              Cold builds went from a minute and a half to under a minute the week we moved. We changed nothing.            </p>          </blockquote>          <figcaption class="quote-source">            <span class="avatar avatar-sm">              <img class="avatar-image" src="/demo/people/pohan-chen.webp" alt width="256" height="256">            </span>            <span><span class="quote-name">Po-han Chen</span>Staff engineer, Halcyon</span>          </figcaption>        </figure>      </li>      <li class="sheet sheet-raised flex p-lg">        <figure class="quote grow(1)">          <blockquote class="quote-body">            <p class="quote-text">              Rolling back used to be a meeting. Now it is a button, and it takes less time than explaining why.            </p>          </blockquote>          <figcaption class="quote-source">            <span class="avatar avatar-sm">              <img class="avatar-image" src="/demo/people/seoyeon-kim.webp" alt width="256" height="256">            </span>            <span><span class="quote-name">Seo-yeon Kim</span>Engineering lead, Orbit</span>          </figcaption>        </figure>      </li>    </ul>  </div></section>
<section className="container-inline px-lg py-4xl" aria-labelledby="quotes-title">  <div className="flex flex-col gap-xl max-w(1040) mx-auto">    <header className="flex flex-col gap-sm max-w(560)">      <p className="eyebrow">Customers</p>      <h2 className="heading heading-2xl" id="quotes-title">Teams that ship with Atlas.</h2>    </header>    <ul className="tray grid gap(4) m(0) grid-cols(3)@container(--4xl)">      <li className="sheet sheet-raised flex p-lg">        <figure className="quote grow(1)">          <blockquote className="quote-body">            <p className="quote-text">              Previews changed how we review. Nobody argues about a screenshot any more; they click the link and look.            </p>          </blockquote>          <figcaption className="quote-source">            <span className="avatar avatar-sm">              <img className="avatar-image" src="/demo/people/misaki-sato.webp" alt="" width="256" height="256" />            </span>            <span><span className="quote-name">Misaki Sato</span>Design lead, Northwind</span>          </figcaption>        </figure>      </li>      <li className="sheet sheet-raised flex p-lg">        <figure className="quote grow(1)">          <blockquote className="quote-body">            <p className="quote-text">              Cold builds went from a minute and a half to under a minute the week we moved. We changed nothing.            </p>          </blockquote>          <figcaption className="quote-source">            <span className="avatar avatar-sm">              <img className="avatar-image" src="/demo/people/pohan-chen.webp" alt="" width="256" height="256" />            </span>            <span><span className="quote-name">Po-han Chen</span>Staff engineer, Halcyon</span>          </figcaption>        </figure>      </li>      <li className="sheet sheet-raised flex p-lg">        <figure className="quote grow(1)">          <blockquote className="quote-body">            <p className="quote-text">              Rolling back used to be a meeting. Now it is a button, and it takes less time than explaining why.            </p>          </blockquote>          <figcaption className="quote-source">            <span className="avatar avatar-sm">              <img className="avatar-image" src="/demo/people/seoyeon-kim.webp" alt="" width="256" height="256" />            </span>            <span><span className="quote-name">Seo-yeon Kim</span>Engineering lead, Orbit</span>          </figcaption>        </figure>      </li>    </ul>  </div></section>
<section class="container-inline px-lg py-4xl" aria-labelledby="quotes-title">  <div class="flex flex-col gap-xl max-w(1040) mx-auto">    <header class="flex flex-col gap-sm max-w(560)">      <p class="eyebrow">Customers</p>      <h2 class="heading heading-2xl" id="quotes-title">Teams that ship with Atlas.</h2>    </header>    <ul class="tray grid gap(4) m(0) grid-cols(3)@container(--4xl)">      <li class="sheet sheet-raised flex p-lg">        <figure class="quote grow(1)">          <blockquote class="quote-body">            <p class="quote-text">              Previews changed how we review. Nobody argues about a screenshot any more; they click the link and look.            </p>          </blockquote>          <figcaption class="quote-source">            <span class="avatar avatar-sm">              <img class="avatar-image" src="/demo/people/misaki-sato.webp" alt width="256" height="256">            </span>            <span><span class="quote-name">Misaki Sato</span>Design lead, Northwind</span>          </figcaption>        </figure>      </li>      <li class="sheet sheet-raised flex p-lg">        <figure class="quote grow(1)">          <blockquote class="quote-body">            <p class="quote-text">              Cold builds went from a minute and a half to under a minute the week we moved. We changed nothing.            </p>          </blockquote>          <figcaption class="quote-source">            <span class="avatar avatar-sm">              <img class="avatar-image" src="/demo/people/pohan-chen.webp" alt width="256" height="256">            </span>            <span><span class="quote-name">Po-han Chen</span>Staff engineer, Halcyon</span>          </figcaption>        </figure>      </li>      <li class="sheet sheet-raised flex p-lg">        <figure class="quote grow(1)">          <blockquote class="quote-body">            <p class="quote-text">              Rolling back used to be a meeting. Now it is a button, and it takes less time than explaining why.            </p>          </blockquote>          <figcaption class="quote-source">            <span class="avatar avatar-sm">              <img class="avatar-image" src="/demo/people/seoyeon-kim.webp" alt width="256" height="256">            </span>            <span><span class="quote-name">Seo-yeon Kim</span>Engineering lead, Orbit</span>          </figcaption>        </figure>      </li>    </ul>  </div></section>
<template>  <section class="container-inline px-lg py-4xl" aria-labelledby="quotes-title">    <div class="flex flex-col gap-xl max-w(1040) mx-auto">      <header class="flex flex-col gap-sm max-w(560)">        <p class="eyebrow">Customers</p>        <h2 class="heading heading-2xl" id="quotes-title">Teams that ship with Atlas.</h2>      </header>      <ul class="tray grid gap(4) m(0) grid-cols(3)@container(--4xl)">        <li class="sheet sheet-raised flex p-lg">          <figure class="quote grow(1)">            <blockquote class="quote-body">              <p class="quote-text">                Previews changed how we review. Nobody argues about a screenshot any more; they click the link and look.              </p>            </blockquote>            <figcaption class="quote-source">              <span class="avatar avatar-sm">                <img class="avatar-image" src="/demo/people/misaki-sato.webp" alt width="256" height="256">              </span>              <span><span class="quote-name">Misaki Sato</span>Design lead, Northwind</span>            </figcaption>          </figure>        </li>        <li class="sheet sheet-raised flex p-lg">          <figure class="quote grow(1)">            <blockquote class="quote-body">              <p class="quote-text">                Cold builds went from a minute and a half to under a minute the week we moved. We changed nothing.              </p>            </blockquote>            <figcaption class="quote-source">              <span class="avatar avatar-sm">                <img class="avatar-image" src="/demo/people/pohan-chen.webp" alt width="256" height="256">              </span>              <span><span class="quote-name">Po-han Chen</span>Staff engineer, Halcyon</span>            </figcaption>          </figure>        </li>        <li class="sheet sheet-raised flex p-lg">          <figure class="quote grow(1)">            <blockquote class="quote-body">              <p class="quote-text">                Rolling back used to be a meeting. Now it is a button, and it takes less time than explaining why.              </p>            </blockquote>            <figcaption class="quote-source">              <span class="avatar avatar-sm">                <img class="avatar-image" src="/demo/people/seoyeon-kim.webp" alt width="256" height="256">              </span>              <span><span class="quote-name">Seo-yeon Kim</span>Engineering lead, Orbit</span>            </figcaption>          </figure>        </li>      </ul>    </div>  </section></template>

讓引言長度相近,彼此最多差一兩行。卡片底部高低不齊,整排看起來就像沒整理過。

#無障礙

  • 每則引言都是一個 <figure>:引述的文字放在帶有 quote-body 的 <blockquote> 裡,出處則放在其後的 <figcaption>,不屬於引述內容。
  • 頭像旁已有姓名,因此頭像的 alt 留空。
  • 引用當事人說過的話並取得同意。若出處已公開,請附上連結。