/** * @copyright nhcarrigan * @license Naomi's Public License * @author Naomi Carrigan */ import Image from "next/image"; import type { JSX } from "react"; interface GameProperties { readonly name: string; readonly img: string; readonly url: string; readonly alt: string; } /** * Renders the view for a game. * @param properties - The game to render. * @returns A JSX element. */ export const Game = (properties: GameProperties): JSX.Element => { const { name, img, url, alt } = properties; return (
); };