Merge pull request 'hide contact form into volunteer form' (#54) from main into staging
Deploy cdrdpyj / deploy (push) Successful in 50s Details

Reviewed-on: #54
This commit is contained in:
Esteban Paz 2026-07-28 14:17:23 +00:00
commit 75449c9b4f
2 changed files with 3 additions and 2 deletions

View File

@ -8,6 +8,7 @@ import { createTranslator, t } from "../../i18n";
const tl = createTranslator(Astro.currentLocale);
const isHebrew = Astro.currentLocale === "he";
const { hideContact } = Astro.props;
---
<div id="contact" class="bg-[#22523F]">
@ -52,7 +53,7 @@ const isHebrew = Astro.currentLocale === "he";
>
</p>
<FormContact client:load locale={Astro.currentLocale} />
{!hideContact && <FormContact client:load locale={Astro.currentLocale} />}
</div>
<div

View File

@ -127,7 +127,7 @@ if (routeKey === "formulario") {
</div>
)}
<FooterSection />
<FooterSection hideContact={routeKey === "formulario"} />
</MainLayout>