summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+joeacarstairs@users.noreply.github.com>2024-01-11 08:32:14 +0000
committerGitHub <noreply@github.com>2024-01-11 08:32:14 +0000
commita4f3cb02befe658594c076144be2e5200f36682a (patch)
treec7de78e01fd5d13446cb6d4573677b56275026b0 /src/components
parentfe9844b8eac1daf3eeedf141e223d0733c892fa0 (diff)
Update 2024/01/11 (#61)
* Edit README (#28) * Corrects Lallans instructions * Adds instructions for adding a Scotsoun release * Documents infrastructure * Better contribution guidance * Update README (#29) * Updates references to branch names in README * ESLint ignores Markdown * Documents Coding Style * Specifies upstream branch in README where salient * Eiks 31 (#41) * Eiks 31 * Prettier dl's * Prettier headings --------- Co-authored-by: Joe Carstairs <jcarstairs@scottlogic.com> * Reorder news (#42) * Reslugs news items * Fixes typo in getMostRecentNewsItem() * Fixes typo in newUtils.getDate() * Sorts news index from most recent to oldest * Update production (#37) (#49) * Edit README (#28) * Corrects Lallans instructions * Adds instructions for adding a Scotsoun release * Documents infrastructure * Better contribution guidance * Update README (#29) * Updates references to branch names in README * ESLint ignores Markdown * Documents Coding Style * Specifies upstream branch in README where salient * Fixes Sangschaw winners list in Eiks 30 (#35) * Fixes Sangschaw winners list in Eiks 30 (#36) * Fixes Sangschaw winners list in Eiks 30 (#38) * 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 * Adds Sangschaw ad to top of homepage (#59) Co-authored-by: Joe Carstairs <65492573+Sycamost@users.noreply.github.com> --------- Co-authored-by: Joe Carstairs <65492573+Sycamost@users.noreply.github.com> Co-authored-by: Joe Carstairs <jcarstairs@scottlogic.com> Co-authored-by: Joe Carstairs <118172583+jcarstairs-scottlogic@users.noreply.github.com>
Diffstat (limited to 'src/components')
-rw-r--r--src/components/LallansIssuesGallery.astro2
-rw-r--r--src/components/Link.astro9
-rw-r--r--src/components/Navbar/Breadcrumbs.astro4
-rw-r--r--src/components/ScotsounCdGallery.astro2
-rw-r--r--src/components/SwitchLanguageLink.astro2
5 files changed, 4 insertions, 15 deletions
diff --git a/src/components/LallansIssuesGallery.astro b/src/components/LallansIssuesGallery.astro
index fd0ad0a..3e79de9 100644
--- a/src/components/LallansIssuesGallery.astro
+++ b/src/components/LallansIssuesGallery.astro
@@ -17,7 +17,7 @@ function issueNumberDescending(issue1: LallansIssue, issue2: LallansIssue) {
issues.map(async (issue) => (
<li>
<a
- class="link link-gallery__container"
+ class="link-gallery__container"
href={`/${locale}/furthsettins/lallans/${issue.issueNumber}`}
>
<Image src={issue.img.width192} alt="" />
diff --git a/src/components/Link.astro b/src/components/Link.astro
deleted file mode 100644
index 365441e..0000000
--- a/src/components/Link.astro
+++ /dev/null
@@ -1,9 +0,0 @@
----
-interface Props {
- href: string;
-}
-
-const { href } = Astro.props;
----
-
-<a class="link" href={href}><slot /></a>
diff --git a/src/components/Navbar/Breadcrumbs.astro b/src/components/Navbar/Breadcrumbs.astro
index 1e82fd9..f949873 100644
--- a/src/components/Navbar/Breadcrumbs.astro
+++ b/src/components/Navbar/Breadcrumbs.astro
@@ -23,9 +23,7 @@ const t = translate(locale);
parentRoutes.map((route) => {
return (
<li>
- <a class="link" href={`/${locale}${route}`}>
- {t(tBreadcrumbs, { key: route })}
- </a>
+ <a href={`/${locale}${route}`}>{t(tBreadcrumbs, { key: route })}</a>
</li>
);
})
diff --git a/src/components/ScotsounCdGallery.astro b/src/components/ScotsounCdGallery.astro
index d2c7e0b..3908f4d 100644
--- a/src/components/ScotsounCdGallery.astro
+++ b/src/components/ScotsounCdGallery.astro
@@ -17,7 +17,7 @@ function scotsounIdDescending(scotsoun1: Scotsoun, scotsoun2: Scotsoun) {
scotsoun.map((scotsounItem) => (
<li>
<a
- class="link link-gallery__container"
+ class="link-gallery__container"
href={`/${locale}/furthsettins/scotsoun/${scotsounItem.scotsounId}`}
>
<Image src={scotsounItem.img.width192} alt="" />
diff --git a/src/components/SwitchLanguageLink.astro b/src/components/SwitchLanguageLink.astro
index fce633f..abbf0cb 100644
--- a/src/components/SwitchLanguageLink.astro
+++ b/src/components/SwitchLanguageLink.astro
@@ -20,7 +20,7 @@ const otherLocalePath = currentPath
const t = translate(otherLocale);
---
-<a class="link nav__switch-language-link" href={otherLocalePath}>
+<a class="nav__switch-language-link" href={otherLocalePath}>
{
t(tPage, {
key: 'language-link-text',