整合服務區塊呈現產品可搭配哪些服務,以及每個連線能做什麼。在行銷頁面上,它是供人探索的:訪客會尋找自己團隊已經在用的工具。每項服務都是一張通往其專屬頁面的卡片。
整合服務
<section class="container-inline px-lg py-4xl" aria-labelledby="integrations-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">Integrations</p> <h2 class="heading heading-2xl" id="integrations-title"> Atlas fits the tools you already use. </h2> <p class="lead max-w(520)"> Connect a repository and deploy on every push. Then send what happens to where your team already looks. </p> </header> <ul class="grid gap-md m(0) p(0) grid-cols(2)@container(--2xl) grid-cols(3)@container(--5xl)"> <li class="card"> <header class="card-header"> <h3 class="card-title flex items-center gap-sm"> <span class="avatar avatar-square" aria-hidden="true">GH</span><a class="card-link" href="#integrations-title">GitHub</a> </h3> <span class="badge card-action self-center">Source</span> </header> <div class="card-body"> Deploy on every push, with a check and a preview link on each pull request. </div> </li> <li class="card"> <header class="card-header"> <h3 class="card-title flex items-center gap-sm"> <span class="avatar avatar-square" aria-hidden="true">GL</span><a class="card-link" href="#integrations-title">GitLab</a> </h3> <span class="badge card-action self-center">Source</span> </header> <div class="card-body"> The same pipeline for merge requests, on gitlab.com or a server of your own. </div> </li> <li class="card"> <header class="card-header"> <h3 class="card-title flex items-center gap-sm"> <span class="avatar avatar-square" aria-hidden="true">SL</span><a class="card-link" href="#integrations-title">Slack</a> </h3> <span class="badge card-action self-center">Chat</span> </header> <div class="card-body"> A message in the channel you choose when a deployment is ready, or when it fails. </div> </li> <li class="card"> <header class="card-header"> <h3 class="card-title flex items-center gap-sm"> <span class="avatar avatar-square" aria-hidden="true">LI</span><a class="card-link" href="#integrations-title">Linear</a> </h3> <span class="badge card-action self-center">Issues</span> </header> <div class="card-body"> Every preview is linked from the issue it closes, and the issue moves when it ships. </div> </li> <li class="card"> <header class="card-header"> <h3 class="card-title flex items-center gap-sm"> <span class="avatar avatar-square" aria-hidden="true">DD</span><a class="card-link" href="#integrations-title">Datadog</a> </h3> <span class="badge card-action self-center">Monitoring</span> </header> <div class="card-body"> Edge logs and build times in the dashboards your on-call engineer already reads. </div> </li> <li class="card"> <header class="card-header"> <h3 class="card-title flex items-center gap-sm"> <span class="avatar avatar-square" aria-hidden="true">SE</span><a class="card-link" href="#integrations-title">Sentry</a> </h3> <span class="badge card-action self-center">Errors</span> </header> <div class="card-body"> Each error is tagged with the deployment that introduced it, one click from a rollback. </div> </li> </ul> <p class="m(0) text-center fg-text-muted"> Something missing? <a class="link" href="#integrations-title">Build an integration</a> with the Atlas API. </p> </div></section><section className="container-inline px-lg py-4xl" aria-labelledby="integrations-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">Integrations</p> <h2 className="heading heading-2xl" id="integrations-title"> Atlas fits the tools you already use. </h2> <p className="lead max-w(520)"> Connect a repository and deploy on every push. Then send what happens to where your team already looks. </p> </header> <ul className="grid gap-md m(0) p(0) grid-cols(2)@container(--2xl) grid-cols(3)@container(--5xl)"> <li className="card"> <header className="card-header"> <h3 className="card-title flex items-center gap-sm"> <span className="avatar avatar-square" aria-hidden="true">GH</span><a className="card-link" href="#integrations-title">GitHub</a> </h3> <span className="badge card-action self-center">Source</span> </header> <div className="card-body"> Deploy on every push, with a check and a preview link on each pull request. </div> </li> <li className="card"> <header className="card-header"> <h3 className="card-title flex items-center gap-sm"> <span className="avatar avatar-square" aria-hidden="true">GL</span><a className="card-link" href="#integrations-title">GitLab</a> </h3> <span className="badge card-action self-center">Source</span> </header> <div className="card-body"> The same pipeline for merge requests, on gitlab.com or a server of your own. </div> </li> <li className="card"> <header className="card-header"> <h3 className="card-title flex items-center gap-sm"> <span className="avatar avatar-square" aria-hidden="true">SL</span><a className="card-link" href="#integrations-title">Slack</a> </h3> <span className="badge card-action self-center">Chat</span> </header> <div className="card-body"> A message in the channel you choose when a deployment is ready, or when it fails. </div> </li> <li className="card"> <header className="card-header"> <h3 className="card-title flex items-center gap-sm"> <span className="avatar avatar-square" aria-hidden="true">LI</span><a className="card-link" href="#integrations-title">Linear</a> </h3> <span className="badge card-action self-center">Issues</span> </header> <div className="card-body"> Every preview is linked from the issue it closes, and the issue moves when it ships. </div> </li> <li className="card"> <header className="card-header"> <h3 className="card-title flex items-center gap-sm"> <span className="avatar avatar-square" aria-hidden="true">DD</span><a className="card-link" href="#integrations-title">Datadog</a> </h3> <span className="badge card-action self-center">Monitoring</span> </header> <div className="card-body"> Edge logs and build times in the dashboards your on-call engineer already reads. </div> </li> <li className="card"> <header className="card-header"> <h3 className="card-title flex items-center gap-sm"> <span className="avatar avatar-square" aria-hidden="true">SE</span><a className="card-link" href="#integrations-title">Sentry</a> </h3> <span className="badge card-action self-center">Errors</span> </header> <div className="card-body"> Each error is tagged with the deployment that introduced it, one click from a rollback. </div> </li> </ul> <p className="m(0) text-center fg-text-muted"> Something missing? <a className="link" href="#integrations-title">Build an integration</a> with the Atlas API. </p> </div></section><section class="container-inline px-lg py-4xl" aria-labelledby="integrations-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">Integrations</p> <h2 class="heading heading-2xl" id="integrations-title"> Atlas fits the tools you already use. </h2> <p class="lead max-w(520)"> Connect a repository and deploy on every push. Then send what happens to where your team already looks. </p> </header> <ul class="grid gap-md m(0) p(0) grid-cols(2)@container(--2xl) grid-cols(3)@container(--5xl)"> <li class="card"> <header class="card-header"> <h3 class="card-title flex items-center gap-sm"> <span class="avatar avatar-square" aria-hidden="true">GH</span><a class="card-link" href="#integrations-title">GitHub</a> </h3> <span class="badge card-action self-center">Source</span> </header> <div class="card-body"> Deploy on every push, with a check and a preview link on each pull request. </div> </li> <li class="card"> <header class="card-header"> <h3 class="card-title flex items-center gap-sm"> <span class="avatar avatar-square" aria-hidden="true">GL</span><a class="card-link" href="#integrations-title">GitLab</a> </h3> <span class="badge card-action self-center">Source</span> </header> <div class="card-body"> The same pipeline for merge requests, on gitlab.com or a server of your own. </div> </li> <li class="card"> <header class="card-header"> <h3 class="card-title flex items-center gap-sm"> <span class="avatar avatar-square" aria-hidden="true">SL</span><a class="card-link" href="#integrations-title">Slack</a> </h3> <span class="badge card-action self-center">Chat</span> </header> <div class="card-body"> A message in the channel you choose when a deployment is ready, or when it fails. </div> </li> <li class="card"> <header class="card-header"> <h3 class="card-title flex items-center gap-sm"> <span class="avatar avatar-square" aria-hidden="true">LI</span><a class="card-link" href="#integrations-title">Linear</a> </h3> <span class="badge card-action self-center">Issues</span> </header> <div class="card-body"> Every preview is linked from the issue it closes, and the issue moves when it ships. </div> </li> <li class="card"> <header class="card-header"> <h3 class="card-title flex items-center gap-sm"> <span class="avatar avatar-square" aria-hidden="true">DD</span><a class="card-link" href="#integrations-title">Datadog</a> </h3> <span class="badge card-action self-center">Monitoring</span> </header> <div class="card-body"> Edge logs and build times in the dashboards your on-call engineer already reads. </div> </li> <li class="card"> <header class="card-header"> <h3 class="card-title flex items-center gap-sm"> <span class="avatar avatar-square" aria-hidden="true">SE</span><a class="card-link" href="#integrations-title">Sentry</a> </h3> <span class="badge card-action self-center">Errors</span> </header> <div class="card-body"> Each error is tagged with the deployment that introduced it, one click from a rollback. </div> </li> </ul> <p class="m(0) text-center fg-text-muted"> Something missing? <a class="link" href="#integrations-title">Build an integration</a> with the Atlas API. </p> </div></section><template> <section class="container-inline px-lg py-4xl" aria-labelledby="integrations-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">Integrations</p> <h2 class="heading heading-2xl" id="integrations-title"> Atlas fits the tools you already use. </h2> <p class="lead max-w(520)"> Connect a repository and deploy on every push. Then send what happens to where your team already looks. </p> </header> <ul class="grid gap-md m(0) p(0) grid-cols(2)@container(--2xl) grid-cols(3)@container(--5xl)"> <li class="card"> <header class="card-header"> <h3 class="card-title flex items-center gap-sm"> <span class="avatar avatar-square" aria-hidden="true">GH</span><a class="card-link" href="#integrations-title">GitHub</a> </h3> <span class="badge card-action self-center">Source</span> </header> <div class="card-body"> Deploy on every push, with a check and a preview link on each pull request. </div> </li> <li class="card"> <header class="card-header"> <h3 class="card-title flex items-center gap-sm"> <span class="avatar avatar-square" aria-hidden="true">GL</span><a class="card-link" href="#integrations-title">GitLab</a> </h3> <span class="badge card-action self-center">Source</span> </header> <div class="card-body"> The same pipeline for merge requests, on gitlab.com or a server of your own. </div> </li> <li class="card"> <header class="card-header"> <h3 class="card-title flex items-center gap-sm"> <span class="avatar avatar-square" aria-hidden="true">SL</span><a class="card-link" href="#integrations-title">Slack</a> </h3> <span class="badge card-action self-center">Chat</span> </header> <div class="card-body"> A message in the channel you choose when a deployment is ready, or when it fails. </div> </li> <li class="card"> <header class="card-header"> <h3 class="card-title flex items-center gap-sm"> <span class="avatar avatar-square" aria-hidden="true">LI</span><a class="card-link" href="#integrations-title">Linear</a> </h3> <span class="badge card-action self-center">Issues</span> </header> <div class="card-body"> Every preview is linked from the issue it closes, and the issue moves when it ships. </div> </li> <li class="card"> <header class="card-header"> <h3 class="card-title flex items-center gap-sm"> <span class="avatar avatar-square" aria-hidden="true">DD</span><a class="card-link" href="#integrations-title">Datadog</a> </h3> <span class="badge card-action self-center">Monitoring</span> </header> <div class="card-body"> Edge logs and build times in the dashboards your on-call engineer already reads. </div> </li> <li class="card"> <header class="card-header"> <h3 class="card-title flex items-center gap-sm"> <span class="avatar avatar-square" aria-hidden="true">SE</span><a class="card-link" href="#integrations-title">Sentry</a> </h3> <span class="badge card-action self-center">Errors</span> </header> <div class="card-body"> Each error is tagged with the deployment that introduced it, one click from a rollback. </div> </li> </ul> <p class="m(0) text-center fg-text-muted"> Something missing? <a class="link" href="#integrations-title">Build an integration</a> with the Atlas API. </p> </div> </section></template>區塊提供可直接複製的標記,沿用頁面的文字顏色和字級。預覽在 body 上設定 fg-text-body text-sm。每個區塊都是尺寸容器,會依自身寬度重新排列。
#組成
- 依區塊寬度排列的網格。 一欄,達 42rem 後兩欄,達 64rem 後三欄:
grid-cols(2)@container(--2xl) grid-cols(3)@container(--5xl)。六項服務在每一種欄數下都能排滿,不會有卡片獨自落在一列。 - 每項服務都是放在清單項目上的
card,也是一個連結。 名稱是<a class="card-link">,點擊範圍涵蓋整張卡片;下方的句子位於這個點擊範圍之上,可以選取。 - 使用字母標記,不用標誌。
avatar avatar-square放入兩個字母,使用系統本身的文字色,並加上aria-hidden,因為名稱就在旁邊。六個品牌標誌配上六種顏色,會成為頁面上最搶眼的東西,而且每個標誌都有自己的使用規範。產品若有權顯示某個標誌,就把它放進同一個方形中。 - 服務的類型是
card-action中的中性徽章:「Source」(原始碼)、「Chat」(聊天)、「Monitoring」(監控)。想找自家議題追蹤工具的訪客,會先讀徽章。 - 一句話說明成果,而不是機制:兩者連接之後,團隊會看到什麼。
- 未列出服務的入口,是網格下方一行顏色較淡的文字。
#連線
在產品內部,同樣的服務是設定頁面中的連線清單,重要的是它們的狀態。清單的每一列都是通往該整合專屬頁面的連結,在那裡進行連接、變更或移除;狀態則是列結尾側的徽章。
連線
<section class="sheet container-inline flex flex-col max-w(640) mx-auto" aria-labelledby="connections-title"> <header class="flex flex-col gap-3xs px(18) pt-md pb-xs"> <h2 class="heading heading-sm" id="connections-title">Integrations</h2> <p class="m(0) fg-text-muted">Services connected to the Atlas Labs workspace.</p> </header> <ul class="list list-interactive p-xs"> <li> <a class="list-row" href="#connections-title"> <span class="avatar avatar-square list-media" aria-hidden="true">GH</span> <span class="list-body"> <span class="list-title">GitHub</span> <span class="list-description">atlas-labs</span> </span> <span class="list-end"> <span class="badge badge-success badge-dot">Connected</span><svg class="icon" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M7.5 4.5L12.8586 9.8586A0.2 0.2 0 0 1 12.8586 10.1414L7.5 15.5" /> </svg> </span> </a> </li> <li> <a class="list-row" href="#connections-title"> <span class="avatar avatar-square list-media" aria-hidden="true">SL</span> <span class="list-body"> <span class="list-title">Slack</span> <span class="list-description">Access expired</span> </span> <span class="list-end"> <span class="badge badge-warning badge-dot">Reauthorize</span><svg class="icon" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M7.5 4.5L12.8586 9.8586A0.2 0.2 0 0 1 12.8586 10.1414L7.5 15.5" /> </svg> </span> </a> </li> <li> <a class="list-row" href="#connections-title"> <span class="avatar avatar-square list-media" aria-hidden="true">LI</span> <span class="list-body"> <span class="list-title">Linear</span> <span class="list-description">Issues</span> </span> <span class="list-end"> <span class="badge">Not connected</span><svg class="icon" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M7.5 4.5L12.8586 9.8586A0.2 0.2 0 0 1 12.8586 10.1414L7.5 15.5" /> </svg> </span> </a> </li> <li> <a class="list-row" href="#connections-title"> <span class="avatar avatar-square list-media" aria-hidden="true">SE</span> <span class="list-body"> <span class="list-title">Sentry</span> <span class="list-description">Errors</span> </span> <span class="list-end"> <span class="badge">Not connected</span><svg class="icon" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M7.5 4.5L12.8586 9.8586A0.2 0.2 0 0 1 12.8586 10.1414L7.5 15.5" /> </svg> </span> </a> </li> </ul></section>import ChevronRightIcon from '@master/icons-react/native/20/soft/chevron-right'<section className="sheet container-inline flex flex-col max-w(640) mx-auto" aria-labelledby="connections-title"> <header className="flex flex-col gap-3xs px(18) pt-md pb-xs"> <h2 className="heading heading-sm" id="connections-title">Integrations</h2> <p className="m(0) fg-text-muted">Services connected to the Atlas Labs workspace.</p> </header> <ul className="list list-interactive p-xs"> <li> <a className="list-row" href="#connections-title"> <span className="avatar avatar-square list-media" aria-hidden="true">GH</span> <span className="list-body"> <span className="list-title">GitHub</span> <span className="list-description">atlas-labs</span> </span> <span className="list-end"> <span className="badge badge-success badge-dot">Connected</span><ChevronRightIcon className="icon" /> </span> </a> </li> <li> <a className="list-row" href="#connections-title"> <span className="avatar avatar-square list-media" aria-hidden="true">SL</span> <span className="list-body"> <span className="list-title">Slack</span> <span className="list-description">Access expired</span> </span> <span className="list-end"> <span className="badge badge-warning badge-dot">Reauthorize</span><ChevronRightIcon className="icon" /> </span> </a> </li> <li> <a className="list-row" href="#connections-title"> <span className="avatar avatar-square list-media" aria-hidden="true">LI</span> <span className="list-body"> <span className="list-title">Linear</span> <span className="list-description">Issues</span> </span> <span className="list-end"> <span className="badge">Not connected</span><ChevronRightIcon className="icon" /> </span> </a> </li> <li> <a className="list-row" href="#connections-title"> <span className="avatar avatar-square list-media" aria-hidden="true">SE</span> <span className="list-body"> <span className="list-title">Sentry</span> <span className="list-description">Errors</span> </span> <span className="list-end"> <span className="badge">Not connected</span><ChevronRightIcon className="icon" /> </span> </a> </li> </ul></section><script> import ChevronRightIcon from '@master/icons-svelte/native/20/soft/chevron-right'</script><section class="sheet container-inline flex flex-col max-w(640) mx-auto" aria-labelledby="connections-title"> <header class="flex flex-col gap-3xs px(18) pt-md pb-xs"> <h2 class="heading heading-sm" id="connections-title">Integrations</h2> <p class="m(0) fg-text-muted">Services connected to the Atlas Labs workspace.</p> </header> <ul class="list list-interactive p-xs"> <li> <a class="list-row" href="#connections-title"> <span class="avatar avatar-square list-media" aria-hidden="true">GH</span> <span class="list-body"> <span class="list-title">GitHub</span> <span class="list-description">atlas-labs</span> </span> <span class="list-end"> <span class="badge badge-success badge-dot">Connected</span><ChevronRightIcon class="icon" /> </span> </a> </li> <li> <a class="list-row" href="#connections-title"> <span class="avatar avatar-square list-media" aria-hidden="true">SL</span> <span class="list-body"> <span class="list-title">Slack</span> <span class="list-description">Access expired</span> </span> <span class="list-end"> <span class="badge badge-warning badge-dot">Reauthorize</span><ChevronRightIcon class="icon" /> </span> </a> </li> <li> <a class="list-row" href="#connections-title"> <span class="avatar avatar-square list-media" aria-hidden="true">LI</span> <span class="list-body"> <span class="list-title">Linear</span> <span class="list-description">Issues</span> </span> <span class="list-end"> <span class="badge">Not connected</span><ChevronRightIcon class="icon" /> </span> </a> </li> <li> <a class="list-row" href="#connections-title"> <span class="avatar avatar-square list-media" aria-hidden="true">SE</span> <span class="list-body"> <span class="list-title">Sentry</span> <span class="list-description">Errors</span> </span> <span class="list-end"> <span class="badge">Not connected</span><ChevronRightIcon class="icon" /> </span> </a> </li> </ul></section><script setup>import ChevronRightIcon from '@master/icons-vue/native/20/soft/chevron-right'</script><template> <section class="sheet container-inline flex flex-col max-w(640) mx-auto" aria-labelledby="connections-title"> <header class="flex flex-col gap-3xs px(18) pt-md pb-xs"> <h2 class="heading heading-sm" id="connections-title">Integrations</h2> <p class="m(0) fg-text-muted">Services connected to the Atlas Labs workspace.</p> </header> <ul class="list list-interactive p-xs"> <li> <a class="list-row" href="#connections-title"> <span class="avatar avatar-square list-media" aria-hidden="true">GH</span> <span class="list-body"> <span class="list-title">GitHub</span> <span class="list-description">atlas-labs</span> </span> <span class="list-end"> <span class="badge badge-success badge-dot">Connected</span><ChevronRightIcon class="icon" /> </span> </a> </li> <li> <a class="list-row" href="#connections-title"> <span class="avatar avatar-square list-media" aria-hidden="true">SL</span> <span class="list-body"> <span class="list-title">Slack</span> <span class="list-description">Access expired</span> </span> <span class="list-end"> <span class="badge badge-warning badge-dot">Reauthorize</span><ChevronRightIcon class="icon" /> </span> </a> </li> <li> <a class="list-row" href="#connections-title"> <span class="avatar avatar-square list-media" aria-hidden="true">LI</span> <span class="list-body"> <span class="list-title">Linear</span> <span class="list-description">Issues</span> </span> <span class="list-end"> <span class="badge">Not connected</span><ChevronRightIcon class="icon" /> </span> </a> </li> <li> <a class="list-row" href="#connections-title"> <span class="avatar avatar-square list-media" aria-hidden="true">SE</span> <span class="list-body"> <span class="list-title">Sentry</span> <span class="list-description">Errors</span> </span> <span class="list-end"> <span class="badge">Not connected</span><ChevronRightIcon class="icon" /> </span> </a> </li> </ul> </section></template>- 三種狀態,各用一個詞。 成功色調的「Connected」(已連線)、警告色調的「Reauthorize」(重新授權),以及中性的「Not connected」(未連線)。色調只是重複文字;從未連線的服務不是問題,因此不帶色調。
- 名稱下方那一行,是該狀態下最重要的資訊:它連接的帳戶、出了什麼問題,或它會是哪一類服務。這一行只占一行,因此只寫幾個字。
- 整列就是連結。
list list-interactive讓每個<a class="list-row">成為圓角的點擊目標,在觸控螢幕上至少有 44px 高。連接的動作發生在該列通往的頁面上,由服務在那裡徵求它自己的權限;清單本身不會啟動任何動作。 - 標頭沿用各列的內縮距離。 列的內容從 18px 處開始,也就是清單的
p-xs加上列本身的 .625rem,因此標頭是px(18),標題的起點與字母標記對齊。
#無障礙
- 每個區塊都是一個
<section>,以其標題命名。在網格中,每項服務的名稱都是<h3>。 - 卡片和列各是一個連結,以其中的所有內容命名:「GitHub, atlas-labs, Connected」。狀態是名稱的一部分,因此沒有人非得看見顏色不可。
- 字母標記和 V 形箭頭都加上
aria-hidden。 - 需要處理的列會在徽章和名稱下方那一行說明,而不是只靠色相。
- 不要從列的清單直接開啟授權視窗。按下「Slack」的讀者預期看到的是 Slack 的頁面,並在提出任何要求之前,先說明會分享哪些內容。