feat : better ui
This commit is contained in:
@@ -49,8 +49,8 @@ export function StructuredDirectory({ guides }: { guides: GuideCard[] }) {
|
||||
<InputGroupInput
|
||||
value={query}
|
||||
onChange={(event) => setQuery(event.target.value)}
|
||||
placeholder="ค้นหา Guide…"
|
||||
aria-label="ค้นหา Guide"
|
||||
placeholder="ค้นหาไกด์…"
|
||||
aria-label="ค้นหาไกด์"
|
||||
/>
|
||||
</InputGroup>
|
||||
{filtered.length ? (
|
||||
@@ -65,7 +65,7 @@ export function StructuredDirectory({ guides }: { guides: GuideCard[] }) {
|
||||
<div className="relative aspect-square bg-muted">
|
||||
<Image
|
||||
src={guide.coverUrl}
|
||||
alt={`Guide ${guide.name}`}
|
||||
alt={`ไกด์ ${guide.name}`}
|
||||
fill
|
||||
className="object-cover"
|
||||
/>
|
||||
@@ -83,7 +83,7 @@ export function StructuredDirectory({ guides }: { guides: GuideCard[] }) {
|
||||
) : (
|
||||
<Empty className="border">
|
||||
<EmptyHeader>
|
||||
<EmptyTitle>ไม่พบ Guide</EmptyTitle>
|
||||
<EmptyTitle>ไม่พบไกด์</EmptyTitle>
|
||||
<EmptyDescription>ลองค้นหาด้วยชื่อตัวละครอื่น</EmptyDescription>
|
||||
</EmptyHeader>
|
||||
</Empty>
|
||||
|
||||
Reference in New Issue
Block a user