Skip to content

Conversation

@TobbleCobble
Copy link
Collaborator

@TobbleCobble TobbleCobble commented Feb 7, 2026

Change Summary

The cover image on the game page is now replaced by an iframe linked to itch. Database now stores values for game embed id, game width and game height. If there is no value for game embed id, the game page will still show the cover image

Change Form

  • The pull request title has an issue number
  • The change works by "Smoke testing" or quick testing
  • The change has tests
  • The change has documentation

Other Information

Game scaling may not be an exact match to itch, but this shouldn't be a problem for most games

Related issue


return (
<div
className={`flex items-center justify-center border-[26px] border-accent bg-background [clip-path:polygon(20px_20px,calc(100%-20px)_20px,100%_32px,100%_30%,calc(100%-20px)_45%,calc(100%-20px)_calc(100%-8px),80%_calc(100%-8px),75%_calc(100%-20px),20px_calc(100%-20px),0%_60%,0%_30%,20px_25%)]`}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the exact same border that is used in the landing page frame? If so, can we refactor it out to avoid repeating it?

Comment on lines +91 to +99
{gameEmbedID != "0" ? (
<div className="flex justify-center">
<GameEmbed
embedID={gameEmbedID}
gameWidth={gameWidth}
gameHeight={gameHeight}
gameImage={gameCover}
/>
</div>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible that we can supply a game embed but not a gameWidth, height or image? If this is possible, is there a case to catch this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorporate playable games into individual game pages

2 participants