mirror of
https://github.com/trafficlunar/tomodachi-share.git
synced 2026-09-27 19:41:46 +00:00
feat: add controversial mii message to search
This commit is contained in:
parent
474f861393
commit
59866a00a5
1 changed files with 77 additions and 71 deletions
|
|
@ -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>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue