diff --git a/src/components/ui/buttons/SocialShare.astro b/src/components/ui/buttons/SocialShare.astro index 63b49cf..85c08a9 100644 --- a/src/components/ui/buttons/SocialShare.astro +++ b/src/components/ui/buttons/SocialShare.astro @@ -1,11 +1,12 @@ --- import Icon from "@components/ui/icons/Icon.astro"; // Destructure the properties from Astro.props -const { pageTitle } = Astro.props; +const { pageTitle, title = Astro.currentLocale === "fr" ? "Partager" : "Share", } = Astro.props; // Define TypeScript interface for the properties interface Props { pageTitle: string; + title?: string; } type SocialPlatform = { @@ -43,7 +44,7 @@ const socialPlatforms: SocialPlatform[] = [ > - Share + {title}
+
diff --git a/src/pages/fr/blog/[...slug].astro b/src/pages/fr/blog/[...slug].astro index 2366455..0146a2b 100644 --- a/src/pages/fr/blog/[...slug].astro +++ b/src/pages/fr/blog/[...slug].astro @@ -142,9 +142,9 @@ const pageTitle: string = `${post.data.title} | ${SITE.title}`;
@@ -154,7 +154,7 @@ const pageTitle: string = `${post.data.title} | ${SITE.title}`;

- Related articles + Articles connexes

diff --git a/src/pages/fr/blog/index.astro b/src/pages/fr/blog/index.astro index 8f0ec21..b83b689 100644 --- a/src/pages/fr/blog/index.astro +++ b/src/pages/fr/blog/index.astro @@ -42,15 +42,15 @@ const pageTitle: string = `Blog | ${SITE.title}`; structuredData={{ "@context": "https://schema.org", "@type": "WebPage", - "@id": "https://screwfast.uk/blog", - "url": "https://screwfast.uk/blog", + "@id": "https://screwfast.uk/fr/blog", + "url": "https://screwfast.uk/fr/blog", "name": "Blog | ScrewFast", - "description": "Stay up-to-date with the latest trends and developments in the construction industry with insights from ScrewFast's team of industry experts.", + "description": "Restez informé des dernières tendances et évolutions dans le secteur de la construction avec les analyses de l'équipe d'experts de ScrewFast.", "isPartOf": { "@type": "WebSite", - "url": "https://screwfast.uk", + "url": "https://screwfast.uk/fr", "name": "ScrewFast", - "description": "ScrewFast offers top-tier hardware tools and expert construction services to meet all your project needs." + "description": "ScrewFast propose des outils matériels de premier ordre et des services de construction experts pour répondre à tous vos besoins de projet." }, "inLanguage": "fr" }} diff --git a/src/pages/fr/contact.astro b/src/pages/fr/contact.astro index 5afc6d8..8a95c40 100644 --- a/src/pages/fr/contact.astro +++ b/src/pages/fr/contact.astro @@ -11,19 +11,19 @@ import ContactSection from "@components/sections/fr/ContactSection_fr.astro"; structuredData={{ "@context": "https://schema.org", "@type": "WebPage", - "@id": "https://screwfast.uk/contact", - url: "https://screwfast.uk/contact", - name: "Contact Us | ScrewFast", + "@id": "https://screwfast.uk//fr/contact", + url: "https://screwfast.uk//fr/contact", + name: "Nous Contacter | ScrewFast", description: - "Have questions or want to discuss a project? Reach out, and let's craft the perfect solution with our tools and services.", + "Vous avez des questions ou souhaitez discuter d'un projet ? Contactez-nous et élaborons ensemble la solution parfaite avec nos outils et services.", isPartOf: { "@type": "WebSite", - url: "https://screwfast.uk", + url: "https://screwfast.uk/fr/", name: "ScrewFast", description: - "ScrewFast offers top-tier hardware tools and expert construction services to meet all your project needs.", + "ScrewFast propose des outils matériels de premier ordre et des services de construction experts pour répondre à tous vos besoins de projet.", }, - inLanguage: "en-US", + inLanguage: "fr", }} > diff --git a/src/pages/fr/products/index.astro b/src/pages/fr/products/index.astro index 9649f72..fbbc0c4 100644 --- a/src/pages/fr/products/index.astro +++ b/src/pages/fr/products/index.astro @@ -59,24 +59,24 @@ const testimonials = [ ---