diff --git a/src/components/Header.astro b/src/components/Header.astro index c61244e..97eac05 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -69,7 +69,7 @@ const { locale } = Astro.params;
diff --git a/src/components/section/FooterSection.astro b/src/components/section/FooterSection.astro index 4ef5d17..a97ef05 100644 --- a/src/components/section/FooterSection.astro +++ b/src/components/section/FooterSection.astro @@ -4,37 +4,64 @@ import { Image } from "astro:assets"; import jbp from "../../assets/DRJBP-1.webp"; import FormContact from "./FormContact.vue"; -import { createTranslator, t } from '../../i18n'; +import { createTranslator, t } from "../../i18n"; const tl = createTranslator(Astro.currentLocale); + +const isHebrew = Astro.currentLocale === "he"; ---- {tl("footer.reserved")} -
-
- + {tl("footer.reserved")} +
+ ) + } +
+
+ {
+ isHebrew && (
+ + {tl("footer.reserved")} +
+ ) + } +