Add anchor to poster url

This commit is contained in:
2021-12-07 21:58:49 +01:00
parent 06db598b90
commit 2f7082fd9d
2 changed files with 2 additions and 2 deletions

View File

@@ -59,7 +59,7 @@
]
</script>
<section class="poster-layout grid">
<section class="poster-layout grid" id="poster">
<h2 class="title-huge">
{product.location.name}
</h2>

View File

@@ -12,7 +12,7 @@
<div class="poster">
{#if image}
<a href="/shop/poster-{location.slug}" sveltekit:noscroll sveltekit:prefetch>
<a href="/shop/poster-{location.slug}#poster" sveltekit:noscroll sveltekit:prefetch>
<Image
id={image.id}
sizeKey="product"