summaryrefslogtreecommitdiff
path: root/src/pages
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-09-21 22:09:59 +0100
committerGitHub <noreply@github.com>2023-09-21 22:09:59 +0100
commit005cba86fefc395b157d71b4c6233dba320afb05 (patch)
treea4876fa46418830cdc5dcdcbfc3f36bc2fde5512 /src/pages
parentaaac97183965e6edd4cbab9a9ea3be1fb90bfef2 (diff)
parentc357a2af03a8abf960941156414b990d50c48b76 (diff)
Merge pull request #6 from Sycamost/dev
Dev
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/[locale]/furthsettins/lallans/index.astro7
-rw-r--r--src/pages/[locale]/furthsettins/scotsoun/index.astro1
-rw-r--r--src/pages/[locale]/index.astro5
3 files changed, 10 insertions, 3 deletions
diff --git a/src/pages/[locale]/furthsettins/lallans/index.astro b/src/pages/[locale]/furthsettins/lallans/index.astro
index 1bcfe47..61f31ec 100644
--- a/src/pages/[locale]/furthsettins/lallans/index.astro
+++ b/src/pages/[locale]/furthsettins/lallans/index.astro
@@ -2,7 +2,7 @@
import Page from '$layouts/Page.astro';
import localeStaticPaths from '$lib/localeStaticPaths';
import translate from '$i18n/translate';
-import tFurthsettins from '$i18n/translations/pages/furthsettins';
+import tPage from '$i18n/translations/pages/lallansGallery';
import type Locale from '$types/Locale';
import LallansIssuesGallery from '$components/LallansIssuesGallery.astro';
@@ -14,9 +14,10 @@ const locale = Astro.params.locale as Locale;
const t = translate(locale);
---
-<Page title={t(tFurthsettins, { key: 'title' })}>
+<Page title={t(tPage, { key: 'title' })}>
<section>
- <h1>Lallans</h1>
+ <h1>{t(tPage, { key: 'title' })}</h1>
+ <p>{t(tPage, { key: 'about-lallans' })}</p>
<LallansIssuesGallery />
</section>
</Page>
diff --git a/src/pages/[locale]/furthsettins/scotsoun/index.astro b/src/pages/[locale]/furthsettins/scotsoun/index.astro
index bace876..26f1f13 100644
--- a/src/pages/[locale]/furthsettins/scotsoun/index.astro
+++ b/src/pages/[locale]/furthsettins/scotsoun/index.astro
@@ -17,6 +17,7 @@ const t = translate(locale);
<Page title={t(tPage, { key: 'title' })}>
<section>
<h1>Scotsoun</h1>
+ <p>{t(tPage, { key: 'about-scotsoun' })}</p>
<ScotsounCdGallery />
</section>
</Page>
diff --git a/src/pages/[locale]/index.astro b/src/pages/[locale]/index.astro
index f031e8e..a230aee 100644
--- a/src/pages/[locale]/index.astro
+++ b/src/pages/[locale]/index.astro
@@ -23,6 +23,11 @@ const mostRecentNewsItem = await getMostRecentNewsItem(locale);
<Page title={t(tPage, { key: 'title' })}>
<section>
+ <h2 set:html={t(tPage, { key: 'submit' })} />
+ <p set:html={t(tPage, { key: 'submit-para-1' })} />
+ <p set:html={t(tPage, { key: 'submit-para-2' })} />
+ </section>
+ <section>
<h2 class="grid-span-6" set:html={t(tPage, { key: 'news' })} />
<NewsIndex newsItems={mostRecentNewsItem ? [mostRecentNewsItem] : []} headingLevel="h3" />
{