content(home): drop the hero tagline
Remove 'รวมเว็บที่ทำเองไว้ในที่เดียว เลือกดูได้ตามใจ ไม่มีโฆษณา ไม่มีล็อกอิน' from the hero so the search bar follows the welcome message directly, and delete the now-unused .hero__lead styles (home.css, motion.css) plus its row in DESIGN.md.
This commit is contained in:
1 parent
94c253d4e3
commit
9258cdd09e
4 files changed
+1
-13
No files matched your search
@@ -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 |
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -109,7 +109,6 @@ export function homeView(ctx) {
|
||||
site.welcome_message,
|
||||
escapeHtml,
|
||||
)}</h1>
|
||||
<p class="hero__lead">รวมเว็บที่ทำเองไว้ในที่เดียว เลือกดูได้ตามใจ ไม่มีโฆษณา ไม่มีล็อกอิน</p>
|
||||
<form class="searchbar" role="search" autocomplete="off">
|
||||
<span class="searchbar__icon" aria-hidden="true">${icon("search")}</span>
|
||||
<label class="visually-hidden" for="project-search">ค้นหาโปรเจค</label>
|
||||
|
||||
Reference in new issue
Block a user