feat: add controversial mii message to search

This commit is contained in:
trafficlunar 2026-09-13 19:13:01 +01:00
parent 474f861393
commit 59866a00a5

View file

@ -80,6 +80,9 @@ export default function MiiList({ parentPage, userId, bypassCache }: Props) {
</div> </div>
</div> </div>
<p className="text-xs mb-2 text-zinc-600 text-right">Not finding what you're looking for? Try including controversial Miis in filters.</p>
{data.miis.length !== 0 ? (
<div className="grid grid-cols-4 gap-4 max-lg:grid-cols-3 max-md:grid-cols-2 max-[30rem]:grid-cols-1"> <div className="grid grid-cols-4 gap-4 max-lg:grid-cols-3 max-md:grid-cols-2 max-[30rem]:grid-cols-1">
{data.miis.map((mii) => ( {data.miis.map((mii) => (
<div <div
@ -155,12 +158,15 @@ export default function MiiList({ parentPage, userId, bypassCache }: Props) {
</div> </div>
))} ))}
</div> </div>
) : (
<p className="text-2xl font-bold text-center">No Miis found!</p>
)}
<Pagination lastPage={data.lastPage} /> <Pagination lastPage={data.lastPage} />
</div> </div>
) : ( ) : (
<> <>
<p className="text-2xl text-center">No Miis found, has the server died?</p> <p className="text-2xl font-bold *:text-center">No Miis found, has the server died?</p>
<p className="text-center font-bold text-lg">Please try refreshing first!</p> <p className="text-center">Try refreshing!</p>
</> </>
)} )}
</> </>