refactor: ♻️ use more of the webc feature set proper

This commit is contained in:
Sebin Nyshkim 2025-04-25 00:15:50 +02:00
parent c0b42b82d0
commit aa410f916a
21 changed files with 678 additions and 723 deletions

View file

@ -28,15 +28,14 @@ gallery: [
Sebin knows how to dress!
<ref-gallery webc:nokeep>
<ref-gallery>
<ref-img webc:for="ref of Array(4).keys()"
:char="firstName.toLowerCase()"
:src="`ref-clothes-${ref + 1}.png`"
:alt="gallery[ref].alt"
:artist="gallery[ref].artist"
:href="gallery[ref].href"
:alt="$data.gallery[ref].alt"
:href="$data.gallery[ref].href"
:width="[500, 1000]"
:dropshadow="false"
webc:nokeep
:@char="$data.firstName.toLowerCase()"
:@artist="$data.gallery[ref].artist"
:@dropshadow="false"
></ref-img>
</ref-gallery>