diff options
| author | Joe Carstairs <jcarstairs@scottlogic.com> | 2024-06-28 10:09:52 +0100 |
|---|---|---|
| committer | Joe Carstairs <jcarstairs@scottlogic.com> | 2024-06-28 10:09:52 +0100 |
| commit | 9bd9efbe41a04735b42ae39fb0d10448a35c54ca (patch) | |
| tree | b5cb7bdd848820cca67ad671e6fc3a6993c4e2f7 /src | |
| parent | eb746a23f785863ca77e550003ddc2b578c7f8d3 (diff) | |
| parent | ef226da2efc3c3ddfb859066f1828c011cad6f5d (diff) | |
Merge branch 'staging' of https://github.com/joeacarstairs/lallans-wabsteid-astro into staging
Diffstat (limited to 'src')
| -rw-r--r-- | src/data/lallans/index.ts | 1 | ||||
| -rw-r--r-- | src/data/lallans/issue104.ts | 46 | ||||
| -rw-r--r-- | src/images/lallans/issue104-192w.jpg | bin | 0 -> 18909 bytes | |||
| -rw-r--r-- | src/images/lallans/issue104-274w.jpg | bin | 0 -> 34516 bytes | |||
| -rw-r--r-- | src/images/lallans/issue104.png | bin | 0 -> 3355948 bytes | |||
| -rw-r--r-- | src/pages/[locale]/index.astro | 17 | ||||
| -rw-r--r-- | src/types/LallansIssueNumber.d.ts | 3 |
7 files changed, 60 insertions, 7 deletions
diff --git a/src/data/lallans/index.ts b/src/data/lallans/index.ts index db443d2..bdb09ad 100644 --- a/src/data/lallans/index.ts +++ b/src/data/lallans/index.ts @@ -78,6 +78,7 @@ export const getLallansIssue: LallansIssueGetterTable = { 100: async () => (await import('./issue100')).default, 101: async () => (await import('./issue101')).default, 102: async () => (await import('./issue102')).default, + 104: async () => (await import('./issue104')).default, }; export type LallansIssueGetterTable = { [key in LallansIssueNumber]: () => Promise<LallansIssue> }; diff --git a/src/data/lallans/issue104.ts b/src/data/lallans/issue104.ts new file mode 100644 index 0000000..55a22d1 --- /dev/null +++ b/src/data/lallans/issue104.ts @@ -0,0 +1,46 @@ +import img192w from '$images/lallans/issue104-192w.jpg'; +import img274w from '$images/lallans/issue104-274w.jpg'; +import type LallansIssue from '$types/LallansIssue'; + +const issue: LallansIssue = { + issueNumber: 104, + img: { + width192: img192w, + width274: img274w, + }, + issueName: 'Lammas 2024', + price: '10.00', + uploadDate: '2024-06-12', + description: { + 'en-GB': 'The hundred-and-fourth issue of the Lallans magazine.', + sco: 'The hunner-an-fowert issue o the Lallans magazine.', + }, + contributors: [ + 'Brendan McCluskey', + 'Braxfield', + 'Craig Aitchison', + 'Tracy Ann Harvey', + 'Tom Ellett', + 'Hugh McMillan', + 'Jim Aitken', + 'Lynn Valentine', + 'Gavin MacDougall', + 'David Bleiman', + 'Dauvit Horsbroch', + 'Iain WD Forde', + 'Hugh Pyper', + 'Maureen Sangster', + 'Stuart McHardy', + 'Tom Hubbard', + 'Andrew Matthews', + 'Elaine Morton', + 'Kevin Connelly', + 'George T Watt', + 'WS Milne', + 'Andrew Urquhart', + 'Moira Dalgetty', + 'Olive Ritchie', + ], +}; + +export default issue; diff --git a/src/images/lallans/issue104-192w.jpg b/src/images/lallans/issue104-192w.jpg Binary files differnew file mode 100644 index 0000000..08ba533 --- /dev/null +++ b/src/images/lallans/issue104-192w.jpg diff --git a/src/images/lallans/issue104-274w.jpg b/src/images/lallans/issue104-274w.jpg Binary files differnew file mode 100644 index 0000000..f1ce5e8 --- /dev/null +++ b/src/images/lallans/issue104-274w.jpg diff --git a/src/images/lallans/issue104.png b/src/images/lallans/issue104.png Binary files differnew file mode 100644 index 0000000..9f3a9a9 --- /dev/null +++ b/src/images/lallans/issue104.png diff --git a/src/pages/[locale]/index.astro b/src/pages/[locale]/index.astro index d930c20..9f994a2 100644 --- a/src/pages/[locale]/index.astro +++ b/src/pages/[locale]/index.astro @@ -20,12 +20,17 @@ 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' })} /> - <p set:html={t(tPage, { key: 'submit-para-3' })} /> - </section> + <!-- + Lallans 105 is leukin fair full the nou. Ance Lallans 105 is out we'll + stert encouragin submeissions for 106. + + <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' })} /> + <p set:html={t(tPage, { key: 'submit-para-3' })} /> + </section> + --> <section> <h2 class="grid-span-6" set:html={t(tPage, { key: 'news' })} /> <NewsIndex newsItems={mostRecentNewsItem ? [mostRecentNewsItem] : []} headingLevel="h3" /> diff --git a/src/types/LallansIssueNumber.d.ts b/src/types/LallansIssueNumber.d.ts index 52dc35a..25e39e9 100644 --- a/src/types/LallansIssueNumber.d.ts +++ b/src/types/LallansIssueNumber.d.ts @@ -69,6 +69,7 @@ type LallansIssueNumber = | 99 | 100 | 101 - | 102; + | 102 + | 104; export default LallansIssueNumber; |
