From 5d5e2f8aa5c4030c33bf06f2cb817b9d770cc884 Mon Sep 17 00:00:00 2001 From: Joe Carstairs <118172583+jcarstairs-scottlogic@users.noreply.github.com> Date: Thu, 21 Dec 2023 21:21:30 +0000 Subject: Improve CSS reset (#51) * Font size inflation * Removes main adjustment for IE * Documents hr corrections * Documents pre corrections * Documents abbr[title] corrections * Documents b, strong corrections * Squishes pre rule with code,kbd,samp * Documents sub,sub line-height fix * Removes IE fix for img borders * Documents form control resets * Documents details display:block * Documents summary correction * Removes [hidden] fix for IE * Adds border-box sizing rules * Refactors links --- src/i18n/translations/pages/404.ts | 4 ++-- src/i18n/translations/pages/home.ts | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'src/i18n/translations') diff --git a/src/i18n/translations/pages/404.ts b/src/i18n/translations/pages/404.ts index d28d297..c77b9b0 100644 --- a/src/i18n/translations/pages/404.ts +++ b/src/i18n/translations/pages/404.ts @@ -8,11 +8,11 @@ const tPage = { message: { sco: () => ` Yon page disna exeist. Try gaein til oor - hame page? + hame page? `, 'en-GB': () => ` That page doesn’t exist. Try going to our - home page? + home page? `, }, }; diff --git a/src/i18n/translations/pages/home.ts b/src/i18n/translations/pages/home.ts index a112cc1..2166eaa 100644 --- a/src/i18n/translations/pages/home.ts +++ b/src/i18n/translations/pages/home.ts @@ -17,12 +17,12 @@ const tPage = { sco: () => ` We accep poesie, cuttie tales, reviews, essays an drama, baith oreiginal an owerset. Sen yer submeissions til - lallans@hotmail.co.uk. + lallans@hotmail.co.uk. `, 'en-GB': () => ` We accept poetry, short stories, reviews, essays and drama, both original and translated. Send your submissions to - lallans@hotmail.co.uk. + lallans@hotmail.co.uk. `, }, news: { @@ -91,14 +91,14 @@ const tPage = { sco: () => ` We ar ane o the foremaist furthsetters o new Scots leitratur. Oor maist important furthsettins ar - Lallans an - Scotsoun. + Lallans an + Scotsoun. `, 'en-GB': () => ` We are one of the leading publishers of new Scots literature. Our most important publications are - Lallans and - Scotsoun. + Lallans and + Scotsoun. `, }, 'aw-furthsettins': { @@ -167,18 +167,18 @@ const tPage = { 'hou-jyne-para-2': { sco: ({ membershipEmail }: { membershipEmail: string }) => ` Fur tae become a memmer, simply get in titch wi us at - ${membershipEmail} + ${membershipEmail} an we’ll provide ye wi our bank details; or ye can jyne bi sendin us a cheque made peyable til The Scots Language Society. See - Contact us + Contact us fur our address. `, 'en-GB': ({ membershipEmail }: { membershipEmail: string }) => ` To become a member, simply get in touch with us at - ${membershipEmail} + ${membershipEmail} and we’ll provide you with our bank details; or you can join by sending us a cheque made payable to The Scots Language Society. See - Contact us for our address. + Contact us for our address. `, }, contact: { -- cgit v1.2.3 From da96287803ea26f4cc35173f9f34b71a1d6adfa5 Mon Sep 17 00:00:00 2001 From: Joe Carstairs <65492573+joeacarstairs@users.noreply.github.com> Date: Thu, 11 Jan 2024 08:01:32 +0000 Subject: Adds Sangschaw ad to top of homepage (#59) Co-authored-by: Joe Carstairs <65492573+Sycamost@users.noreply.github.com> --- src/i18n/translations/pages/home.ts | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) (limited to 'src/i18n/translations') diff --git a/src/i18n/translations/pages/home.ts b/src/i18n/translations/pages/home.ts index 2166eaa..3a81710 100644 --- a/src/i18n/translations/pages/home.ts +++ b/src/i18n/translations/pages/home.ts @@ -6,25 +6,43 @@ const tPage = { 'en-GB': () => 'Home', }, submit: { - sco: () => 'Submit til Lallans', - 'en-GB': () => 'Submit to Lallans', + sco: () => 'Sangschaw apen for submeissions', + 'en-GB': () => 'Sangschaw open for submissions', }, 'submit-para-1': { - sco: () => 'We ar acceptin submeissions til Lallans 104!', - 'en-GB': () => 'We are accepting submissions to Lallans 104!', + sco: () => ` + We ar acceptin submeissions til our annual Scots scrievin competeition, + the Sangschaw, until the 31st o Januar 2024. + `, + 'en-GB': () => ` + We are accepting submissions to our annual Scots writing competition, the + Sangschaw, until the 31st of January 2024. + `, }, 'submit-para-2': { sco: () => ` - We accep poesie, cuttie tales, reviews, essays an drama, baith - oreiginal an owerset. Sen yer submeissions til + Aince ye’ve read the submeission criteria in + Eiks an Ens 31, send + your submeissions til lallans@hotmail.co.uk. `, 'en-GB': () => ` - We accept poetry, short stories, reviews, essays and drama, both - original and translated. Send your submissions to + Once you’ve read the submission criteria in + Eiks an Ens 31, send + your submissions to lallans@hotmail.co.uk. `, }, + 'submit-para-3': { + sco: () => ` + We luik forrit tae haein your submeission, whither you’ve been submittin + for years or you’re a first-time writer! + `, + 'en-GB': () => ` + We look forward to having your submission, whether you’ve been + submitting for years or you’re a first-time writer! + `, + }, news: { sco: () => 'Recent News', 'en-GB': () => 'Recent News', -- cgit v1.2.3 From 0b2fbe3f5b9e2fcf0da2b320af504d5cca759045 Mon Sep 17 00:00:00 2001 From: Joe Carstairs <118172583+jcarstairs-scottlogic@users.noreply.github.com> Date: Fri, 19 Jan 2024 07:32:30 +0000 Subject: Layout and typography improvements (#63) * Adds soft hyphens to homepage * auto-hyphenates! * Tighter line-height in logo * Fixes spacing and typography below xs breakpoint * Fixes xs-sm spacing and typography * Fixes border widths * Link hover uses wavy underline instead of fat underline * Fixes committee img layout on scss/custom-properties * Pulls out colours SCSS variables * Merges margins and padding values * Moves variables/colours -> values/colours * Starts migrating spacing values to SCSS * Pulls out typography logic to SCSS variables/functions * Removes unneeded --er custom property * Calculates grid-total-width-absolute in SCSS * Forwards constants with @forward * Removes TODOs and unnecessary assignment to --width-prose --- src/i18n/translations/pages/home.ts | 12 ++++-------- src/i18n/translations/site.ts | 10 ++++++---- 2 files changed, 10 insertions(+), 12 deletions(-) (limited to 'src/i18n/translations') diff --git a/src/i18n/translations/pages/home.ts b/src/i18n/translations/pages/home.ts index 3a81710..b577a46 100644 --- a/src/i18n/translations/pages/home.ts +++ b/src/i18n/translations/pages/home.ts @@ -6,8 +6,8 @@ const tPage = { 'en-GB': () => 'Home', }, submit: { - sco: () => 'Sangschaw apen for submeissions', - 'en-GB': () => 'Sangschaw open for submissions', + sco: () => 'Sang\u00adschaw apen for submeissions', + 'en-GB': () => 'Sang\u00adschaw open for submissions', }, 'submit-para-1': { sco: () => ` @@ -97,13 +97,9 @@ const tPage = { sco: () => 'Meet the Commattee', 'en-GB': () => 'Meet the Committee', }, - 'mair-commattee-details-soon': { - sco: () => 'Mair details comin shuin!', - 'en-GB': () => 'More details coming soon!', - }, furthsettins: { - sco: () => 'Furthsettins', - 'en-GB': () => 'Publications', + sco: () => 'Furth\u00adsettins', + 'en-GB': () => 'Public\u00adations', }, 'furthsettins-para': { sco: () => ` diff --git a/src/i18n/translations/site.ts b/src/i18n/translations/site.ts index 59a8cd4..51e4183 100644 --- a/src/i18n/translations/site.ts +++ b/src/i18n/translations/site.ts @@ -5,8 +5,9 @@ import type { TranslationsDictionary } from '$types/TranslationsDictionary'; const tSite = { title: { - sco: () => 'Scots Leid Associe', - 'en-GB': () => 'Scots Language Society', + // On very narrow screens, use \u00ad to suggest hyphenation points + sco: () => 'Scots Leid Assoc\u00adie', + 'en-GB': () => 'Scots Lang\u00aduage Soc\u00adiety', }, description: { sco: () => 'The wabsteid o the Scots Leid Associe', @@ -21,8 +22,9 @@ const tSite = { 'en-GB': () => 'Scotsoun', }, 'scots-leid-associe': { - sco: () => 'Scots Leid Associe', - 'en-GB': () => 'Scots Language Society', + // On very narrow screens, use \u00ad to suggest hyphenation points + sco: () => 'Scots Leid Assoc\u00adie', + 'en-GB': () => 'Scots Lang\u00aduage Soc\u00adiety', }, by: { sco: () => 'bi', -- cgit v1.2.3