Merge pull request 'hide contact form into volunteer form' (#54) from main into staging
Deploy cdrdpyj / deploy (push) Successful in 50s
Details
Deploy cdrdpyj / deploy (push) Successful in 50s
Details
Reviewed-on: #54
This commit is contained in:
commit
75449c9b4f
|
|
@ -8,6 +8,7 @@ import { createTranslator, t } from "../../i18n";
|
||||||
const tl = createTranslator(Astro.currentLocale);
|
const tl = createTranslator(Astro.currentLocale);
|
||||||
|
|
||||||
const isHebrew = Astro.currentLocale === "he";
|
const isHebrew = Astro.currentLocale === "he";
|
||||||
|
const { hideContact } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
<div id="contact" class="bg-[#22523F]">
|
<div id="contact" class="bg-[#22523F]">
|
||||||
|
|
@ -52,7 +53,7 @@ const isHebrew = Astro.currentLocale === "he";
|
||||||
>
|
>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<FormContact client:load locale={Astro.currentLocale} />
|
{!hideContact && <FormContact client:load locale={Astro.currentLocale} />}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
|
|
|
||||||
|
|
@ -127,7 +127,7 @@ if (routeKey === "formulario") {
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<FooterSection />
|
<FooterSection hideContact={routeKey === "formulario"} />
|
||||||
|
|
||||||
</MainLayout>
|
</MainLayout>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue