+ {/* 상단: 사진 384x192, 상단 라운드 16, 하단 0 */}
+
-
-
{card.region}
-
{card.name}
-
{card.address}
+ {/* 하단: 384x116, x-패딩 32, y-패딩 16, 3행 */}
+
+ {/* 1행: 배지 68x26, r-20, p:6px 16px, 좌측정렬 */}
+
+ 진행중
+
+ {/* 2행: 업체이름 24px, 400 */}
+
+ {/* 3행: 주소, 하트, 숫자, 별, 숫자 (12px, w-300, lh-16) */}
+
+
{card.address}
+
+ {/* 하트 */}
+
+ 12
+
+
+ {/* 별 */}
+
+ 4.5
+
+
diff --git a/src/app/components/SearchBar.tsx b/src/app/components/SearchBar.tsx
index a2c8a9f..896ba1c 100644
--- a/src/app/components/SearchBar.tsx
+++ b/src/app/components/SearchBar.tsx
@@ -14,25 +14,40 @@ export function SearchBar() {
}}
role="search"
aria-label="사이트 검색"
- style={{ display: "flex", gap: 8, alignItems: "center" }}
+ className="relative w-full max-w-[384px]"
>
+
setTerm(e.target.value)}
- placeholder="검색어 입력"
+ placeholder="검색어를 입력해 주세요."
enterKeyHint="search"
aria-label="검색어"
onKeyDown={(e) => {
if (e.key === "Escape") setTerm("");
}}
- style={{ padding: "6px 8px", border: "1px solid #ddd", borderRadius: 6, minWidth: 160 }}
+ className="w-full h-12 pr-12 pl-2 rounded-2xl border border-neutral-300 bg-white"
/>
- {term && (
-
- )}
-
+ {/* 접근성용 제출 버튼 (시각적으로는 숨김) */}
+
);
}