[feat] solution/frontend: 히어로를 첫 화면 높이로 · 검색창 pill · 쇼케이스 카드 축소

콘텐츠가 세로로 퍼져서 첫 화면에 임팩트가 없었다.

- 히어로 min-h-[calc(100dvh-3.5rem)] + 세로 가운데. 헤더(h-14)를 빼야 스크롤바가 안 생기고,
  vh 가 아니라 dvh 인 이유는 모바일에서 주소창이 접혔다 펴져 vh 가 흔들리기 때문
- 검색창·버튼을 rounded-full h-13 로. 아이콘 여백도 같이 밀었다
- 마퀴 카드 w-52 → w-40, 간격·글자 축소. 히어로 안에 들어와야 한 화면에 다 담긴다
This commit is contained in:
minaChoi committed 2026-09-03 10:58:02 +09:00
1 parent d8ed0766d6
commit 0c3f8dd3b0
2 files changed
+14 -14

No files matched your search

+8 -8
View File
@@ -55,8 +55,8 @@ export function LandingPage() {
return (
<MarketingShell>
{/* ── 상단 ─────────────────────────────────────── */}
<section className="border-b border-border">
<div className="mx-auto w-full max-w-6xl px-5 py-16 text-center sm:py-20">
<section className="flex min-h-[calc(100dvh-3.5rem)] items-center border-b border-border">
<div className="mx-auto w-full max-w-6xl px-5 py-12 text-center">
<h1 className="mx-auto max-w-4xl text-4xl leading-[1.25] font-bold tracking-[-0.04em] sm:text-6xl">
{/* 앞말만 돈다. 마지막 항목은 첫 항목의 복제다 — 되감을 때 글자가 튀지 않게(index.css). */}
<span className="o2o-rotator">
@@ -70,14 +70,14 @@ export function LandingPage() {
</span>
홈페이지
</h1>
<p className="mx-auto mt-4 max-w-xl text-sm text-muted-foreground sm:text-base">
<p className="mx-auto mt-3 max-w-xl text-sm text-muted-foreground sm:text-base">
가게 이름 한 줄로 시작해 보세요
</p>
<form onSubmit={submit} className="mx-auto mt-8 flex max-w-lg gap-2">
<form onSubmit={submit} className="mx-auto mt-6 flex max-w-lg gap-2">
<div className="relative flex-1">
<Search
className="pointer-events-none absolute top-1/2 left-4 size-4 -translate-y-1/2 text-muted-foreground"
className="pointer-events-none absolute top-1/2 left-5 size-4 -translate-y-1/2 text-muted-foreground"
aria-hidden
/>
<input
@@ -85,16 +85,16 @@ export function LandingPage() {
onChange={(e) => setQuery(e.target.value)}
placeholder="가게 이름을 입력하세요"
aria-label="가게 이름"
className="h-12 w-full rounded-lg border border-border bg-card pr-4 pl-11 text-sm shadow-sm transition-colors outline-none placeholder:text-muted-foreground focus:border-ring focus:ring-1 focus:ring-ring"
className="h-13 w-full rounded-full border border-border bg-card pr-5 pl-12 text-sm shadow-sm transition-colors outline-none placeholder:text-muted-foreground focus:border-ring focus:ring-1 focus:ring-ring"
/>
</div>
<Button type="submit" variant="primary" size="lg" className="shrink-0">
<Button type="submit" variant="primary" size="lg" className="h-13 shrink-0 rounded-full px-7">
확인하기
</Button>
</form>
{/* 업종은 고르지 않아도 된다 — 여기 있는 건 "누구를 위한 서비스인가" 를 말하기 위한 것이다. */}
<div className="mt-4 flex flex-wrap items-center justify-center gap-2">
<div className="mt-3 flex flex-wrap items-center justify-center gap-2">
{INDUSTRIES.map(({id, label, icon: Icon}) => (
<Link
key={id}