diff --git a/src/components/sections/landing/HeroSection.astro b/src/components/sections/landing/HeroSection.astro index d90980b..c4e3985 100644 --- a/src/components/sections/landing/HeroSection.astro +++ b/src/components/sections/landing/HeroSection.astro @@ -59,6 +59,9 @@ interface Props { > {subTitle}

+ + 365 000 € + }
diff --git a/src/components/sections/landing/HeroSectionAlt.astro b/src/components/sections/landing/HeroSectionAlt.astro index c98679d..cc9b4c7 100644 --- a/src/components/sections/landing/HeroSectionAlt.astro +++ b/src/components/sections/landing/HeroSectionAlt.astro @@ -5,7 +5,7 @@ import GithubBtn from "@components/ui/buttons/GithubBtn.astro"; // Define props from Astro const { title, subTitle, url } = Astro.props; -const btnTitle = Astro.currentLocale === "fr" ? "Continuer avec Github" : "Continue with Github"; +const btnTitle = "Contactez-nous"; // Define TypeScript interface for props interface Props { diff --git a/src/components/sections/navbar&footer/FooterSection.astro b/src/components/sections/navbar&footer/FooterSection.astro index 4ed5be6..11b7c57 100644 --- a/src/components/sections/navbar&footer/FooterSection.astro +++ b/src/components/sections/navbar&footer/FooterSection.astro @@ -1,21 +1,11 @@ --- // Import the necessary dependencies -import FooterSocialLink from "@components/ui/links/FooterSocialLink.astro"; import EmailFooterInput from "@components/ui/forms/input/EmailFooterInput.astro"; -import enStrings from "@utils/navigation.ts"; -import frStrings from "@utils/fr/navigation.ts"; -import Icon from "@components/ui/icons/Icon.astro"; +import strings from "@utils/navigation.ts"; import BrandLogo from "@components/BrandLogo.astro"; import { SITE } from "@data/constants"; -// Select the correct translation based on the page's lang prop: -const strings = Astro.currentLocale === "fr" ? frStrings : enStrings; - -// Define the variables that will be used in this component -const sectionThreeTitle: string = Astro.currentLocale === "fr" ? "Rester à jour" : "Stay up to date"; -const sectionThreeContent: string = Astro.currentLocale === "fr" ? "Restez informé des derniers outils et des offres exclusives." : - "Stay updated with the latest tools and exclusive deals."; -const crafted: string = Astro.currentLocale === "fr" ? "Fabriqué par" : "Crafted by"; +const sectionThreeTitle: string = "Rester à jour"; ---