diff --git a/DESIGN.md b/DESIGN.md index 397fbc3..08e15ac 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -89,7 +89,7 @@ | องค์ประกอบ | ท่า | เวลา | |---|---|---| | ชื่อเรื่องฮีโร่ | แยกเป็นคำ (`splitWordsHtml` ตัดด้วยช่องว่างเท่านั้น ปลอดภัยกับสระ/วรรณยุกต์ไทย) ยกขึ้น + คลายเบลอ | 760ms · เริ่ม 140ms · เว้น 85ms/คำ | -| ป้ายเหนือหัวเรื่อง / คำโปรย / ช่องค้นหา / แถบข้อมูล | drop / rise / pop / fade ตามลำดับ | 520–760ms | +| ป้ายเหนือหัวเรื่อง / ช่องค้นหา / แถบข้อมูล | drop / pop / fade ตามลำดับ | 520–760ms | | การ์ดลอยในฮีโร่ | สุ่ม 3 ใบใหม่ทุก refresh แล้วสไลด์จากซ้ายทีละใบ (`translate` + `fill-mode: backwards` เพื่อไม่ทับ `transform` เยื้อง/เอียง และไม่ทับ hover) | 700ms · 320/440/560ms | | การ์ดโปรเจค | `data-reveal="pop"` ตอนเลื่อนถึง (IntersectionObserver, `rootMargin: 2000px 0px -6% 0px`) | 660ms · หน่วง 95ms × คอลัมน์ | | หัวข้อ section | เส้นใต้กวาดจากซ้าย (`scaleX`) | 760ms | diff --git a/assets/css/home.css b/assets/css/home.css index 5a996fc..15dc19d 100644 --- a/assets/css/home.css +++ b/assets/css/home.css @@ -58,13 +58,6 @@ font-style: normal; color: var(--brand-600); } -.hero__lead { - margin-top: var(--space-3); - max-width: 44ch; - color: #4b3a30; - font-size: clamp(0.98rem, 0.94rem + 0.3vw, 1.08rem); -} - /* ------------------------------------------------------------- searchbar */ .searchbar { margin-top: var(--space-6); diff --git a/assets/css/motion.css b/assets/css/motion.css index 0e1cfaa..737f87b 100644 --- a/assets/css/motion.css +++ b/assets/css/motion.css @@ -128,9 +128,6 @@ html.fx-motion .scroll-progress__bar { html.fx-motion .hero__eyebrow { animation: fx-drop-in 520ms var(--ease) 60ms both; } -html.fx-motion .hero__lead { - animation: fx-rise-in 620ms var(--ease) 520ms both; -} html.fx-motion .hero__wordmark { animation: fx-rise-in 640ms cubic-bezier(0.16, 0.84, 0.28, 1) 260ms both; } @@ -297,7 +294,6 @@ html.fx-motion .section-head[data-revealed] .section-head__title::after { html.fx-motion [data-reveal], html.fx-motion [data-reveal][data-revealed], html.fx-motion .hero__eyebrow, - html.fx-motion .hero__lead, html.fx-motion .fx-word > span, html.fx-motion .section-head[data-revealed] .section-head__title::after, html.fx-motion .btn--primary::after { diff --git a/ui/views/home.js b/ui/views/home.js index 009a2f3..70914d0 100644 --- a/ui/views/home.js +++ b/ui/views/home.js @@ -109,7 +109,6 @@ export function homeView(ctx) { site.welcome_message, escapeHtml, )} -
รวมเว็บที่ทำเองไว้ในที่เดียว เลือกดูได้ตามใจ ไม่มีโฆษณา ไม่มีล็อกอิน