From d19e9c4d1e83fcb3a62d7dfc70082d417ff1dd2b Mon Sep 17 00:00:00 2001
From: Jalil Arfaoui
Date: Sun, 5 Jan 2025 02:33:58 +0100
Subject: [PATCH] premier jet
---
.../sections/landing/HeroSection.astro | 3 +
.../sections/landing/HeroSectionAlt.astro | 2 +-
.../navbar&footer/FooterSection.astro | 73 +++--------
.../sections/navbar&footer/Navbar.astro | 15 +--
.../navbar&footer/NavbarMegaMenu.astro | 7 +-
.../sections/pricing/PricingSection.astro | 116 ++----------------
src/components/ui/buttons/GithubBtn.astro | 1 -
src/components/ui/buttons/SocialShare.astro | 2 +-
src/components/ui/cards/CardInsight.astro | 2 +-
src/components/ui/forms/input/Checkbox.astro | 2 +-
.../ui/forms/input/EmailContactInput.astro | 2 +-
.../ui/forms/input/EmailFooterInput.astro | 4 +-
.../ui/forms/input/EmailInput.astro | 2 +-
.../ui/forms/input/PhoneInput.astro | 2 +-
src/data_files/constants.ts | 22 ++--
src/data_files/faqs.json | 28 ++---
src/images/couloir-acces-espace-enfants.jpg | Bin 0 -> 405020 bytes
src/images/fond-d-impasse-albi.jpg | Bin 0 -> 647175 bytes
src/images/grand-bureau-tout-equipe.jpg | Bin 0 -> 103509 bytes
src/images/renovation-de-qualite.jpg | Bin 0 -> 282955 bytes
src/images/renovation-qualite.jpg | Bin 0 -> 242327 bytes
src/images/vue-de-la-piscine.jpg | Bin 0 -> 892368 bytes
src/images/vue-zenith.jpg | Bin 0 -> 874709 bytes
src/pages/index.astro | 97 ++++++---------
src/pages/{services.astro => pieces.astro} | 0
src/utils/fr/navigation.ts | 42 -------
src/utils/navigation.ts | 34 ++---
27 files changed, 117 insertions(+), 339 deletions(-)
create mode 100644 src/images/couloir-acces-espace-enfants.jpg
create mode 100644 src/images/fond-d-impasse-albi.jpg
create mode 100644 src/images/grand-bureau-tout-equipe.jpg
create mode 100644 src/images/renovation-de-qualite.jpg
create mode 100644 src/images/renovation-qualite.jpg
create mode 100644 src/images/vue-de-la-piscine.jpg
create mode 100644 src/images/vue-zenith.jpg
rename src/pages/{services.astro => pieces.astro} (100%)
delete mode 100644 src/utils/fr/navigation.ts
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";
---