mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 00:01:34 +11:00
link back to where you left off
This commit is contained in:
parent
917d7b3d5a
commit
c14b4dfc35
|
@ -54,7 +54,7 @@ function Display({ game }: { game: ShowcaseGame }) {
|
|||
<>
|
||||
<ContentBlock color="#AAAFFF">
|
||||
<BackToShowcaseWrapper>
|
||||
<Link href="../showcase">
|
||||
<Link href={`../showcase#${slugify(game.name)}`}>
|
||||
<strong><</strong> Back to showcase
|
||||
</Link>
|
||||
</BackToShowcaseWrapper>
|
||||
|
|
|
@ -28,7 +28,10 @@ export default function ColourPickerPage() {
|
|||
function Game({ game }: { game: ShowcaseGame }) {
|
||||
const showcaseImage = game.screenshots[game.screenshots.length - 1];
|
||||
return (
|
||||
<GameDisplay href={`./showcase/${slugify(game.name)}`}>
|
||||
<GameDisplay
|
||||
href={`./showcase/${slugify(game.name)}`}
|
||||
id={slugify(game.name)}
|
||||
>
|
||||
<GameImage src={showcaseImage} alt={`Screenshot of ${game.name}`} />
|
||||
<h2>{game.name}</h2>
|
||||
</GameDisplay>
|
||||
|
|
Loading…
Reference in a new issue