navigation on collections and dynamic routing improvements

This commit is contained in:
Julian Krauser 2024-11-03 11:21:44 +01:00
parent 5c56af0dad
commit 44b55d9bbb
11 changed files with 117 additions and 48 deletions

View file

@ -1,13 +1,13 @@
<template>
<div class="w-full max-h-60 h-60">
<div class="flex flex-col w-full max-h-72 h-72 overflow-hidden">
<NuxtPicture
preload
loading="lazy"
class="w-full h-full object-cover object-center"
class="w-full h-60 object-cover object-center"
:src="baseUrl + data?.banner.url"
:imgAttrs="{ class: 'w-full h-full object-cover object-center' }"
:imgAttrs="{ class: 'w-full h-60 object-cover object-center' }"
/>
<div primary class="h-12 w-full px-12 justify-center items-center gap-5 flex">
<div primary class="h-12 min-h-12 w-full px-12 justify-center items-center gap-5 flex">
<p>{{ data?.title }}</p>
</div>
</div>