Small fixes

This commit is contained in:
DrMint 2024-05-11 01:54:11 +02:00
parent b0057192c4
commit e2aa9a30ce
2 changed files with 5 additions and 1 deletions

View File

@ -25,6 +25,10 @@ const { getLocalizedUrl } = await getI18n(Astro.locals.currentLocale);
<a href={getLocalizedUrl(`/collectibles/${doc.value.slug}`)}>
<slot />
</a>
) : doc.relationTo === Collections.Pages ? (
<a href={getLocalizedUrl(`/pages/${doc.value.slug}`)}>
<slot />
</a>
) : (
<ErrorMessage
title={`Unknown internal link: ${doc.relationTo}`}

View File

@ -37,7 +37,7 @@ const { image, title, subtitle, href } = Astro.props;
transition: 100ms scale;
&:hover {
scale: 102%;
scale: 105%;
}
& > div {