diff options
| author | Joe Carstairs <118172583+jcarstairs-scottlogic@users.noreply.github.com> | 2024-01-25 16:59:42 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-25 16:59:42 +0000 |
| commit | 1a6eb7e2ff0bf551e1560c67170e90fa8ec2a8ea (patch) | |
| tree | 53f73dcca5693e656d50fac965955560a513a233 /src/components/Navbar | |
| parent | 83c3460191a2089b56b091a7f4e09f39ac636e1e (diff) | |
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 <address>
* 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
Diffstat (limited to 'src/components/Navbar')
| -rw-r--r-- | src/components/Navbar/NavLinks.astro | 3 |
1 files changed, 2 insertions, 1 deletions
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); <a class="btn" href={`/${locale}/furthsettins`}>{t(tFurthsettins, { key: 'title' })}</a> </li> <li> - <a class="btn" href={`/${locale}/#jyne`}>{t(tHame, { key: 'jyne' })}</a> + <a class="btn" href={`/${locale}/jyne`}>{t(tJyne, { key: 'title' })}</a> </li> <li> <a class="btn" href={`/${locale}/#contact`}>{t(tHame, { key: 'contact' })}</a> |
