dynamize inspirations header

This commit is contained in:
isUnknown 2024-09-10 10:59:31 +02:00
parent 0afb0dfe54
commit fceacaeed6
4 changed files with 28 additions and 12 deletions

View file

@ -19,7 +19,7 @@
<!-- TabPanel -->
<section class="inspiration">
<Header />
<Header :collection="currentCollection" />
<div class="grid masonry">
<template v-for="(item, index) in currentCollection.media">
<figure class="flex" :style="'--rows: ' + (index % 2 ? 2 : 3)">