mirror of
https://github.com/jorgev259/soc_site-astro.git
synced 2025-06-29 07:57:41 +00:00
Fix links
This commit is contained in:
parent
3b1cd90895
commit
676324fcd8
4 changed files with 4 additions and 4 deletions
|
|
@ -14,7 +14,7 @@ const games = await prismaClient.platform.findMany({
|
|||
|
||||
{
|
||||
games.map((a) => (
|
||||
<a class='text-left hover:bg-btn-gray/30 rounded-md p-2' href={`/game/${a.id}`}>
|
||||
<a class='text-left hover:bg-btn-gray/30 rounded-md p-2' href={`/platform/${a.id}`}>
|
||||
{a.name}
|
||||
</a>
|
||||
))
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ const games = await prismaClient.publisher.findMany({
|
|||
|
||||
{
|
||||
games.map((a) => (
|
||||
<a class='text-left hover:bg-btn-gray/30 rounded-md p-2' href={`/game/${a.id}`}>
|
||||
<a class='text-left hover:bg-btn-gray/30 rounded-md p-2' href={`/publisher/${a.id}`}>
|
||||
{a.name}
|
||||
</a>
|
||||
))
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ const albums = await prismaClient.series.findMany({
|
|||
|
||||
{
|
||||
albums.map((a) => (
|
||||
<a class='text-left hover:bg-btn-gray/30 rounded-md p-2' href={`/album/${a.slug}`}>
|
||||
<a class='text-left hover:bg-btn-gray/30 rounded-md p-2' href={`/series/${a.slug}`}>
|
||||
{a.name}
|
||||
</a>
|
||||
))
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ const albums = await prismaClient.series.findMany({
|
|||
|
||||
{
|
||||
albums.map((a) => (
|
||||
<a class='group text-left rounded-md p-2' href={`/album/${a.slug}`}>
|
||||
<a class='group text-left rounded-md p-2' href={`/series/${a.slug}`}>
|
||||
<Image
|
||||
src={`https://cdn.sittingonclouds.net/series/${a.slug}.png`}
|
||||
alt={a.slug}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue