mirror of
https://github.com/jorgev259/soc_site-astro.git
synced 2025-06-29 07:57:41 +00:00
Fix animation and platform links
This commit is contained in:
parent
aef06c6737
commit
99d10f92cd
1 changed files with 2 additions and 2 deletions
|
|
@ -186,7 +186,7 @@ const coverImage = await getImage({
|
||||||
{platform.name}
|
{platform.name}
|
||||||
</span>
|
</span>
|
||||||
) : (
|
) : (
|
||||||
<a class='btn btn-link p-0' href={`/platform/${id}`}>
|
<a class='btn btn-link p-0' href={`/platform/${platform.id}`}>
|
||||||
{platform.name}
|
{platform.name}
|
||||||
</a>
|
</a>
|
||||||
)}
|
)}
|
||||||
|
|
@ -221,7 +221,7 @@ const coverImage = await getImage({
|
||||||
<td>
|
<td>
|
||||||
{album?.animations.map(({ animation }, i) => (
|
{album?.animations.map(({ animation }, i) => (
|
||||||
<Fragment key={id}>
|
<Fragment key={id}>
|
||||||
<a class='btn btn-link p-0' href={`/anim/${id}`}>
|
<a class='btn btn-link p-0' href={`/anim/${animation.id}`}>
|
||||||
{animation.title}
|
{animation.title}
|
||||||
</a>
|
</a>
|
||||||
{i !== album?.animations.length - 1 && ', '}
|
{i !== album?.animations.length - 1 && ', '}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue