From 1a6eb7e2ff0bf551e1560c67170e90fa8ec2a8ea Mon Sep 17 00:00:00 2001 From: Joe Carstairs <118172583+jcarstairs-scottlogic@users.noreply.github.com> Date: Thu, 25 Jan 2024 16:59:42 +0000 Subject: 33 / Pay annual subscription by PayPal (#68) * Refactors paypal-buttons -> paypal-product-buttons WebComponent * Pulls out address to data file * Defines annual subscription prices data hash * Styles paypal-product-buttons * Styles
* Details have cursor:pointer on the summary * Moves Jyne section to separate page * Rewrites payment options using details components * Reworks translation typing * Defines MembershipType enum * Adds translations for MembershipType enum * Can pay annual subs by PayPal * Styles tables better --- src/components/Navbar/NavLinks.astro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/components/Navbar') diff --git a/src/components/Navbar/NavLinks.astro b/src/components/Navbar/NavLinks.astro index 798c24e..36c7f6f 100644 --- a/src/components/Navbar/NavLinks.astro +++ b/src/components/Navbar/NavLinks.astro @@ -4,6 +4,7 @@ import translate from '$i18n/translate'; import tNews from '$i18n/translations/pages/news'; import tFurthsettins from '$i18n/translations/pages/furthsettins'; import tHame from '$i18n/translations/pages/home'; +import tJyne from '$i18n/translations/pages/jyne'; const locale = getLocaleFromPathOrDefault(Astro.url.pathname); const t = translate(locale); @@ -20,7 +21,7 @@ const t = translate(locale); {t(tFurthsettins, { key: 'title' })}
  • - {t(tHame, { key: 'jyne' })} + {t(tJyne, { key: 'title' })}
  • {t(tHame, { key: 'contact' })} -- cgit v1.2.3