blob: 0a8cd9214763fe7a10d02b83c4ec78c0303888db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
---
import { getAllScotsoun } from '$data/scotsoun';
import getLocaleFromPath from '$lib/getLocaleFromPath';
const locale = getLocaleFromPath(Astro.url.pathname);
const scotsoun = await getAllScotsoun();
---
<ul class="link-gallery link-gallery--scotsoun">
{
scotsoun.map((scotsounItem) => (
<li>
<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>
<p class="link-gallery__title">{scotsounItem.title}</p>
</a>
</li>
))
}
</ul>
|