fase 0 migration metadata
This commit is contained in:
@@ -23,7 +23,7 @@ export function SearchBar() {
|
||||
type="text"
|
||||
value={query}
|
||||
onChange={(e) => setQuery(e.target.value)}
|
||||
placeholder="Cari gunung, lokasi, atau trip..."
|
||||
placeholder="Cari destinasi, lokasi, atau trip..."
|
||||
className="min-w-0 flex-1 border-none bg-transparent px-3.5 py-3 text-sm text-white outline-none placeholder:text-neutral-400 sm:px-5 sm:py-3.5"
|
||||
/>
|
||||
<button
|
||||
|
||||
@@ -82,7 +82,7 @@ export function TripFilter() {
|
||||
type="text"
|
||||
value={query}
|
||||
onChange={(e) => setQuery(e.target.value)}
|
||||
placeholder="Gunung, lokasi, atau nama trip..."
|
||||
placeholder="Destinasi, lokasi, atau nama trip..."
|
||||
className="w-full rounded-xl border border-neutral-200 bg-neutral-50 py-2.5 pl-9 pr-3 text-sm text-neutral-800 placeholder:text-neutral-400 focus:border-primary-500 focus:bg-white"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -42,10 +42,10 @@ export const createTripSchema = z
|
||||
mountain: z
|
||||
.string()
|
||||
.trim()
|
||||
.min(2, "Nama gunung harus diisi")
|
||||
.min(2, "Destinasi harus diisi")
|
||||
.max(
|
||||
LIMITS.MAX_MOUNTAIN_LENGTH,
|
||||
`Nama gunung maksimal ${LIMITS.MAX_MOUNTAIN_LENGTH} karakter`
|
||||
`Destinasi maksimal ${LIMITS.MAX_MOUNTAIN_LENGTH} karakter`
|
||||
),
|
||||
location: z
|
||||
.string()
|
||||
|
||||
Reference in New Issue
Block a user