From f6d45f7b9374444ae1ab751a213d86827b64eb8f Mon Sep 17 00:00:00 2001
From: Joe Carstairs <65492573+Sycamost@users.noreply.github.com>
Date: Sun, 13 Aug 2023 20:12:53 +0100
Subject: Adds Scotsoun
---
src/components/Scotsoun.astro | 65 ++++++++++++++++++++++++++++++++++
src/components/ScotsounCdGallery.astro | 20 +++++++++++
2 files changed, 85 insertions(+)
create mode 100644 src/components/Scotsoun.astro
create mode 100644 src/components/ScotsounCdGallery.astro
(limited to 'src/components')
diff --git a/src/components/Scotsoun.astro b/src/components/Scotsoun.astro
new file mode 100644
index 0000000..13c6fa9
--- /dev/null
+++ b/src/components/Scotsoun.astro
@@ -0,0 +1,65 @@
+---
+import translate from '$i18n/translate';
+import tSite from '$i18n/translations/site';
+import tComponent from '$i18n/translations/components/scotsoun';
+import type Locale from '$types/Locale';
+import type Scotsoun from '$types/Scotsoun';
+import PayPalButtons from './PayPalButtons.astro';
+
+interface Props {
+ locale: Locale;
+ scotsoun: Scotsoun;
+}
+
+const { locale, scotsoun } = Astro.props;
+const t = translate(locale);
+---
+
+ {scotsoun.subtitle}
+ {t(tSite, { key: 'by' })} {scotsoun.author}
+ {scotsoun.description[locale]} {t(tComponent, { key: 'cover-artist', coverArtist: scotsoun.coverArtist })} {t(tComponent, { key: 'release-date', releaseDate: scotsoun.releaseDate })}{scotsoun.title}
+ {scotsoun?.subtitle &&
+ Track list
+
+ {scotsoun.trackList.map((track) => (
+
+ >
+ )
+ }
+
+ {scotsounItem.title}
+ +