refactor: ♻️ move gallery data out of content pages and into json data file

This commit is contained in:
Sebin Nyshkim 2025-06-24 17:43:38 +02:00
parent 9477160d92
commit 0b9a604b92
3 changed files with 76 additions and 76 deletions

View file

@ -2,53 +2,6 @@
eleventyNavigation:
key: Anatomy
order: 2
gallery: [
{
alt: Sebin looking aloof (but chill),
artist: Usurp,
href: https://bsky.app/profile/usurpthem.bsky.social
},
{
alt: Sebin getting ready to lift,
artist: Ziva,
href: https://bsky.app/profile/zivamonstr.bsky.social
},
{
alt: Sebin after a heavy sesh,
artist: Rei,
href: https://bsky.app/profile/purpledragonrei.bsky.social
},
{
alt: Sebin bringing out the big guns,
artist: tandragonsynth,
href: https://www.furaffinity.net/user/tandragonsynth
},
{
alt: Sebin flexing,
artist: Darknaig,
href: https://bsky.app/profile/darknaig.bsky.social
},
{
alt: Sebin showing off the goods,
artist: CronoLM,
href: https://bsky.app/profile/cronolm.bsky.social
},
{
alt: Sebin soaping up,
artist: (o)reo,
href: https://bsky.app/profile/oreowoof.bsky.social
},
{
alt: Sebin at the beach,
artist: WolfieCanem,
href: https://bsky.app/profile/wolfiecanem.bsky.social
},
{
alt: Sebin flexing,
artist: sabertoofs,
href: https://bsky.app/profile/sabertoofs.bsky.social
}
]
---
<ref-img
@ -140,10 +93,10 @@ An assortment of additional references how Sebin can be drawn.
<ref-gallery>
<ref-img webc:for="ref of [...Array(9).keys()]"
:@src="`ref-muscle-${ref + 1}.png`"
:@alt="$data.gallery[ref].alt"
:@alt="$data.galleryMuscle[ref].alt"
:@width="[500, 1000]"
:@href="$data.gallery[ref].href"
:@artist="$data.gallery[ref].artist"
:@href="$data.galleryMuscle[ref].href"
:@artist="$data.galleryMuscle[ref].artist"
:@char="$data.firstName.toLowerCase()"
:@dropshadow="false"
></ref-img>