summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/i18n/translations/pages/home.ts20
-rw-r--r--src/pages/[locale]/index.astro5
2 files changed, 25 insertions, 0 deletions
diff --git a/src/i18n/translations/pages/home.ts b/src/i18n/translations/pages/home.ts
index 2b9a2c3..09071ff 100644
--- a/src/i18n/translations/pages/home.ts
+++ b/src/i18n/translations/pages/home.ts
@@ -5,6 +5,26 @@ const tPage = {
sco: () => 'Hame',
'en-GB': () => 'Home',
},
+ submit: {
+ sco: () => 'Submit til Lallans',
+ 'en-GB': () => 'Submit to Lallans',
+ },
+ 'submit-para-1': {
+ sco: () => 'We ar acceptin submeissions til Lallans 102!',
+ 'en-GB': () => 'We are accepting submissions to Lallans 102!',
+ },
+ 'submit-para-2': {
+ sco: () => `
+ We accep poesie, cuttie tales, reviews, essays an drama, baith
+ oreiginal an owerset. Sen yer submeissions til
+ <a class="link" href="mailto:lallans@hotmail.co.uk">lallans@hotmail.co.uk</a>.
+ `,
+ 'en-GB': () => `
+ We accept poetry, short stories, reviews, essays and drama, both
+ original and translated. Send your submissions to
+ <a class="link" href="mailto:lallans@hotmail.co.uk">lallans@hotmail.co.uk</a>.
+ `,
+ },
news: {
sco: () => 'Recent News',
'en-GB': () => 'Recent News',
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" />
{