diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-13 20:41:29 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-13 20:41:29 +0100 |
| commit | 7781c69153e3956ca14684fe9a287fbbb8a01082 (patch) | |
| tree | 6bf18977ee93608aead54dc2322c0d42c2284f78 /src/pages | |
| parent | 71eac2d383c9918645e99b6b845fb8f4faecf346 (diff) | |
Determines current locale with lib function
Diffstat (limited to 'src/pages')
8 files changed, 12 insertions, 12 deletions
diff --git a/src/pages/[locale]/furthsettins/index.astro b/src/pages/[locale]/furthsettins/index.astro index 43ff28e..eb4c92a 100644 --- a/src/pages/[locale]/furthsettins/index.astro +++ b/src/pages/[locale]/furthsettins/index.astro @@ -15,7 +15,7 @@ const locale = Astro.params.locale as Locale; const t = translate(locale); --- -<Page locale={locale} title={t(tFurthsettins, { key: 'title' })}> +<Page title={t(tFurthsettins, { key: 'title' })}> <section> <h1>Furthsettins</h1> diff --git a/src/pages/[locale]/furthsettins/lallans/[issueNumber]/index.astro b/src/pages/[locale]/furthsettins/lallans/[issueNumber]/index.astro index 25da7e6..48f1947 100644 --- a/src/pages/[locale]/furthsettins/lallans/[issueNumber]/index.astro +++ b/src/pages/[locale]/furthsettins/lallans/[issueNumber]/index.astro @@ -21,6 +21,6 @@ const issueNumber = new Number(Astro.params.issueNumber).valueOf() as LallansIss const issue = await getLallansIssue[issueNumber](); --- -<Page locale={locale} title={t(tFurthsettins, { key: 'title' })}> - <LallansIssue issue={issue} locale={locale} /> +<Page title={t(tFurthsettins, { key: 'title' })}> + <LallansIssue issue={issue} /> </Page> diff --git a/src/pages/[locale]/furthsettins/lallans/[issueNumber]/payment-success-confirmation.astro b/src/pages/[locale]/furthsettins/lallans/[issueNumber]/payment-success-confirmation.astro index 4a26146..2f0a9d4 100644 --- a/src/pages/[locale]/furthsettins/lallans/[issueNumber]/payment-success-confirmation.astro +++ b/src/pages/[locale]/furthsettins/lallans/[issueNumber]/payment-success-confirmation.astro @@ -19,7 +19,7 @@ const t = translate(locale); const issueNumber = new Number(Astro.params.issueNumber).valueOf() as LallansIssueNumber; --- -<Page locale={locale} title={t(tPage, { key: 'title' })}> +<Page title={t(tPage, { key: 'title' })}> <section> <h1>{t(tPage, { key: 'title' })}</h1> <p>{t(tPage, { key: 'payment-confirmation-message', issueNumber: `${issueNumber}` })}</p> diff --git a/src/pages/[locale]/furthsettins/lallans/index.astro b/src/pages/[locale]/furthsettins/lallans/index.astro index 65f7b63..3e4fd46 100644 --- a/src/pages/[locale]/furthsettins/lallans/index.astro +++ b/src/pages/[locale]/furthsettins/lallans/index.astro @@ -14,9 +14,9 @@ const locale = Astro.params.locale as Locale; const t = translate(locale); --- -<Page locale={locale} title={t(tFurthsettins, { key: 'title' })}> +<Page title={t(tFurthsettins, { key: 'title' })}> <section class="section--full-width"> <h1>Lallans</h1> - <LallansIssuesGallery locale={locale} /> + <LallansIssuesGallery /> </section> </Page> diff --git a/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/index.astro b/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/index.astro index 5b5dc82..a641561 100644 --- a/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/index.astro +++ b/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/index.astro @@ -22,6 +22,6 @@ const t = translate(locale); const scotsoun = await getScotsoun[scotsounId](); --- -<Page locale={locale} title={t(tPage, { key: 'title' })}> - <Scotsoun scotsoun={scotsoun} locale={locale} /> +<Page title={t(tPage, { key: 'title' })}> + <Scotsoun scotsoun={scotsoun} /> </Page> diff --git a/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/payment-success-confirmation.astro b/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/payment-success-confirmation.astro index 49f1bf7..16bbdd8 100644 --- a/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/payment-success-confirmation.astro +++ b/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/payment-success-confirmation.astro @@ -19,7 +19,7 @@ const scotsounId = Astro.params.scotsounId as ScotsounId; const t = translate(locale); --- -<Page locale={locale} title={t(tPage, { key: 'title' })}> +<Page title={t(tPage, { key: 'title' })}> <section> <h1>{t(tPage, { key: 'title' })}</h1> <p>{t(tPage, { key: 'payment-confirmation-message', scotsounId })}</p> diff --git a/src/pages/[locale]/furthsettins/scotsoun/index.astro b/src/pages/[locale]/furthsettins/scotsoun/index.astro index feb86a3..ed9490c 100644 --- a/src/pages/[locale]/furthsettins/scotsoun/index.astro +++ b/src/pages/[locale]/furthsettins/scotsoun/index.astro @@ -14,9 +14,9 @@ const locale = Astro.params.locale as Locale; const t = translate(locale); --- -<Page locale={locale} title={t(tPage, { key: 'title' })}> +<Page title={t(tPage, { key: 'title' })}> <section class="section--full-width"> <h1>Scotsoun</h1> - <ScotsounCdGallery locale={locale} /> + <ScotsounCdGallery /> </section> </Page> diff --git a/src/pages/[locale]/index.astro b/src/pages/[locale]/index.astro index b065e50..c32ddf6 100644 --- a/src/pages/[locale]/index.astro +++ b/src/pages/[locale]/index.astro @@ -14,7 +14,7 @@ const locale = Astro.params.locale as Locale; const t = translate(locale); --- -<Page locale={locale} title={t(home, { key: 'title' })}> +<Page title={t(home, { key: 'title' })}> <section> <h1 class="title">{t(site, { key: 'title' })}</h1> <h1>Tap-level heidin</h1> |
