From 8c1fff45fb5340a338416586162ac247b2b190c0 Mon Sep 17 00:00:00 2001 From: Joe Carstairs <65492573+Sycamost@users.noreply.github.com> Date: Sun, 13 Aug 2023 19:03:03 +0100 Subject: Uses TSConfig paths --- src/components/LallansIssue.astro | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'src/components/LallansIssue.astro') diff --git a/src/components/LallansIssue.astro b/src/components/LallansIssue.astro index f45dc0a..c71755b 100644 --- a/src/components/LallansIssue.astro +++ b/src/components/LallansIssue.astro @@ -1,8 +1,8 @@ --- -import translate from '../i18n/translate'; -import tSite from '../i18n/translations/site'; -import type LallansIssue from '../types/LallansIssue'; -import type Locale from '../types/Locale'; +import translate from '$i18n/translate'; +import tSite from '$i18n/translations/site'; +import type LallansIssue from '$types/LallansIssue'; +import type Locale from '$types/Locale'; import LallansIssueContributions from './LallansIssueContributions.astro'; import LallansIssueContributors from './LallansIssueContributors.astro'; import PayPalButtons from './PayPalButtons.astro'; @@ -17,18 +17,20 @@ const t = translate(locale); ---
-
+

{t(tSite, { key: 'lallans' })} {issue.issueNumber}

{issue.description[locale]}

-
+
+
+
{ 'contributions' in issue ? ( -- cgit v1.2.3