diff options
Diffstat (limited to 'src/components/ScotsounCdGallery.astro')
| -rw-r--r-- | src/components/ScotsounCdGallery.astro | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/components/ScotsounCdGallery.astro b/src/components/ScotsounCdGallery.astro new file mode 100644 index 0000000..12bafb0 --- /dev/null +++ b/src/components/ScotsounCdGallery.astro @@ -0,0 +1,20 @@ +--- +import { getAllScotsoun } from '$data/scotsoun'; + +const scotsoun = await getAllScotsoun(); +--- + +<ul class="link-gallery link-gallery--scotsoun"> + { + scotsoun.map((scotsounItem) => ( + <li> + <a class="link link-gallery__container" href={`scotsoun/${scotsounItem.scotsounId}`}> + <div class="link-gallery__image"> + <img src={`/images/scotsoun/sscd${scotsounItem.scotsounId}.jpg`} /> + </div> + <p class="link-gallery__title">{scotsounItem.title}</p> + </a> + </li> + )) + } +</ul> |
