mirror of
https://github.com/trafficlunar/tomodachi-share.git
synced 2026-06-28 14:44:15 +00:00
feat: show mii images from database
This commit is contained in:
parent
68eed4e5fd
commit
84a732c34d
4 changed files with 16 additions and 7 deletions
|
|
@ -39,7 +39,7 @@ export default async function MiiPage({ params }: Props) {
|
|||
|
||||
return (
|
||||
<div className="flex gap-2 max-sm:flex-col">
|
||||
<Carousel images={["https://placehold.co/600x400", "https://placehold.co/600x400", "https://placehold.co/600x400"]} className="shadow-lg" />
|
||||
<Carousel images={mii?.images && mii?.images.length > 0 ? mii?.images : ["/missing.webp"]} className="shadow-lg" />
|
||||
|
||||
<div className="flex flex-col gap-1 p-4">
|
||||
<h1 className="text-5xl font-extrabold break-words">{mii?.name}</h1>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue