feat(i18n): reconcile multilingual pages and shared forms

This commit is contained in:
DeCentN2Madness committed 2026-10-13 23:01:38 -07:00
1 parent b5bc95bc2b
commit 8e64d32209
22 files changed
+2866 -88

No files matched your search

+2 -2
View File
@@ -76,8 +76,8 @@ if (entry.data.slug === 'team' && entry.data.lang === 'en' && !entry.data.team)
: entry.data.slug === 'donate-autism-giveback' && entry.data.lang === 'en'
? <slot />
: entry.data.slug === 'contact'
? <ContactPage title={bannerTitle}><slot /></ContactPage>
? <ContactPage title={bannerTitle} lang={entry.data.lang}><slot /></ContactPage>
: <article class:list={['prose', 'source-page', 'container', { 'service-page': isService }]}><slot /></article>}
{isService && entry.data.lang === 'en' && <ServiceInquiryDrawer service={entry.data.slug} />}
{showForm && <FormShell title={bannerTitle} showBackground={entry.data.slug === 'client-consultation'} />}
{showForm && <FormShell lang={entry.data.lang} title={bannerTitle} showBackground={entry.data.slug === 'client-consultation'} />}
</BaseLayout>