mirror of
https://github.com/trafficlunar/tomodachi-share.git
synced 2026-06-28 14:44:15 +00:00
feat: share mii button
This commit is contained in:
parent
1485267bdd
commit
8c0a7c47a3
3 changed files with 191 additions and 0 deletions
|
|
@ -43,6 +43,10 @@ body {
|
|||
@apply !bg-orange-200 outline-0 focus:ring-[3px] ring-orange-400/50 transition placeholder:text-black/40;
|
||||
}
|
||||
|
||||
.input:disabled {
|
||||
@apply text-zinc-600 !bg-zinc-100 !border-zinc-300;
|
||||
}
|
||||
|
||||
.checkbox {
|
||||
@apply flex items-center justify-center appearance-none size-5 bg-orange-300 border-2 border-orange-400 rounded-md cursor-pointer checked:bg-orange-400;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ import { prisma } from "@/lib/prisma";
|
|||
import LikeButton from "@/components/like-button";
|
||||
import ImageViewer from "@/components/image-viewer";
|
||||
import DeleteMiiButton from "@/components/delete-mii";
|
||||
import ShareMiiButton from "@/components/share-mii-button";
|
||||
import ScanTutorialButton from "@/components/tutorial/scan";
|
||||
|
||||
interface Props {
|
||||
|
|
@ -215,6 +216,7 @@ export default async function MiiPage({ params }: Props) {
|
|||
</>
|
||||
)}
|
||||
|
||||
<ShareMiiButton miiId={mii.id} />
|
||||
<Link href={`/report/mii/${mii.id}`}>
|
||||
<Icon icon="material-symbols:flag-rounded" />
|
||||
<span>Report</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue