diff --git a/src/app/mii/[id]/page.tsx b/src/app/mii/[id]/page.tsx index 4bbbfbc..ea6a8f6 100644 --- a/src/app/mii/[id]/page.tsx +++ b/src/app/mii/[id]/page.tsx @@ -1,4 +1,5 @@ import { Metadata } from "next"; +import Image from "next/image"; import Link from "next/link"; import { redirect } from "next/navigation"; @@ -262,6 +263,17 @@ export default async function MiiPage({ params }: Props) { )} + + {/* Offscreen metadata image for search engines; hidden from users */} + {`${mii.name}, ); } diff --git a/src/components/mii-list/index.tsx b/src/components/mii-list/index.tsx index bb71de9..9a98733 100644 --- a/src/components/mii-list/index.tsx +++ b/src/components/mii-list/index.tsx @@ -17,7 +17,6 @@ import Carousel from "../carousel"; import LikeButton from "../like-button"; import DeleteMiiButton from "../delete-mii"; import Pagination from "./pagination"; -import Image from "next/image"; interface Props { searchParams: { [key: string]: string | string[] | undefined }; @@ -254,17 +253,6 @@ export default async function MiiList({ searchParams, userId, inLikesPage }: Pro )} - - {/* Offscreen metadata image for search engines; hidden from users */} - {`${mii.name}, ))}