Fix link href on revival index page to fix builds

This commit is contained in:
Lewin Kelly 2023-07-19 17:19:47 +01:00
parent 9a44ad2358
commit c096f59913
No known key found for this signature in database
GPG Key ID: C103AD9C84014FD7
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@
<div class="grid gap-4 md:grid-cols-2 xl:grid-cols-3">
{#each revivals as revival}
<a
href="/revival/{revival.path}"
href={revival.rating ? `/revival/${revival.path}` : "/"}
class="txt bg-#1f1c1d @light:bg-white rounded-2
@light:text-black box-border flex flex-col p-5 text-white
{revival?.rating ? 'card transition hover:shadow-xl' : 'pointer-events-none'}">