diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-13 19:03:03 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-13 19:10:06 +0100 |
| commit | 8c1fff45fb5340a338416586162ac247b2b190c0 (patch) | |
| tree | 849ae072e8efc8652d3045ae4ab3db30798f1a9b /src/components/LallansIssue.astro | |
| parent | 1118c377e32940ada179bfcde1549b73d8948626 (diff) | |
Uses TSConfig paths
Diffstat (limited to 'src/components/LallansIssue.astro')
| -rw-r--r-- | src/components/LallansIssue.astro | 14 |
1 files changed, 8 insertions, 6 deletions
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); --- <section class="section--full-width"> - <div class="lallans-issue__header-block"> + <div class="product__header-block"> <header> <h1>{t(tSite, { key: 'lallans' })} {issue.issueNumber}</h1> <p class="italic">{issue.description[locale]}</p> </header> - <div class="lallans-issue__header-block-end"> + <div class="product__action-block"> <img alt="" src={`/images/lallans/issue${issue.issueNumber}.jpg`} /> <PayPalButtons successPageUrl={`./${issue.issueNumber}/payment-success-confirmation`} /> </div> </div> +</section> +<section> { 'contributions' in issue ? ( <LallansIssueContributions contributions={issue.contributions} locale={locale} /> |
