fix(site): restore all 21 showcase designs to pre-8e3cdb0 originals
All checks were successful
ci / build (push) Successful in 40s
All checks were successful
ci / build (push) Successful in 40s
This commit is contained in:
parent
7a2dbf232f
commit
cbda3c877d
206 changed files with 16219 additions and 16880 deletions
|
|
@ -311,9 +311,7 @@ async function materia(browser, origin) {
|
|||
}
|
||||
|
||||
async function form(browser, origin) {
|
||||
// 측면 색인은 좁은 폭에서 <details> 안에 접혀 있다 — 포커스 대상은 워드마크로, 앵커 검사는 차례를 연 뒤 한다.
|
||||
await visitEachViewport(browser, origin, "/work/form-architecture/", ".wordmark", async (page, context, viewport) => {
|
||||
await page.$eval("#toc", (details) => { details.open = true; }).catch(() => {});
|
||||
await visitEachViewport(browser, origin, "/work/form-architecture/", ".index a", async (page, context, viewport) => {
|
||||
const anchors = await page.$$eval(".index a", (links) => links.map((link) => ({
|
||||
href: link.getAttribute("href"),
|
||||
targetExists: Boolean(document.querySelector(link.getAttribute("href"))),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue