diff options
Diffstat (limited to 'src/components/ScotsounCdGallery.astro')
| -rw-r--r-- | src/components/ScotsounCdGallery.astro | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/components/ScotsounCdGallery.astro b/src/components/ScotsounCdGallery.astro index 12bafb0..6f6c794 100644 --- a/src/components/ScotsounCdGallery.astro +++ b/src/components/ScotsounCdGallery.astro @@ -1,5 +1,12 @@ --- import { getAllScotsoun } from '$data/scotsoun'; +import type Locale from '$types/Locale'; + +interface Props { + locale: Locale; +} + +const { locale } = Astro.props; const scotsoun = await getAllScotsoun(); --- @@ -8,7 +15,10 @@ const scotsoun = await getAllScotsoun(); { scotsoun.map((scotsounItem) => ( <li> - <a class="link link-gallery__container" href={`scotsoun/${scotsounItem.scotsounId}`}> + <a + class="link link-gallery__container" + href={`/${locale}/furthsettins/scotsoun/${scotsounItem.scotsounId}`} + > <div class="link-gallery__image"> <img src={`/images/scotsoun/sscd${scotsounItem.scotsounId}.jpg`} /> </div> |
