diff --git a/apps/www/src/routes/index.tsx b/apps/www/src/routes/index.tsx index 79bf2f02..f7eaeaf1 100644 --- a/apps/www/src/routes/index.tsx +++ b/apps/www/src/routes/index.tsx @@ -180,6 +180,7 @@ export default component$(() => { {games.map((game, index) => ( game.titleWidth ? ( { +interface Props extends PropsOf<"div"> { game: { name: string; id: number; @@ -37,11 +37,13 @@ export const Card = component$(({ titleWidth, titleHeight, game, size, ...props }); return ( - + {size === "large" ? ( + >
@@ -77,7 +79,7 @@ export const Card = component$(({ titleWidth, titleHeight, game, size, ...props ) : size == "small" ? ( + >

{game.name}

@@ -85,7 +87,7 @@ export const Card = component$(({ titleWidth, titleHeight, game, size, ...props
) : ( - - + + )} { <> {!imageLoaded.value && !hasError.value && (
)}