diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-13 20:12:53 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-13 20:12:53 +0100 |
| commit | f6d45f7b9374444ae1ab751a213d86827b64eb8f (patch) | |
| tree | 75ded0ecc1bb3c58086fdbf65dc84e2f476ca9b5 /src/components/ScotsounCdGallery.astro | |
| parent | 3d6bc8137220f483ef87ba0aa059568711d0e287 (diff) | |
Adds Scotsoun
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> |
