diff --git a/src/components/BrandLogo.astro b/src/components/BrandLogo.astro new file mode 100644 index 0000000..3a65828 --- /dev/null +++ b/src/components/BrandLogo.astro @@ -0,0 +1,61 @@ +--- +const { width } = Astro.props; + +interface Props { + width: string; +} +--- + + + + + + + + + + diff --git a/src/components/sections/FooterSection.astro b/src/components/sections/FooterSection.astro index fddaf56..96fe575 100644 --- a/src/components/sections/FooterSection.astro +++ b/src/components/sections/FooterSection.astro @@ -5,6 +5,7 @@ import EmailFooterInput from "../ui/forms/input/EmailFooterInput.astro"; import enStrings from "@/utils/navigation.ts"; import frStrings from "@/utils/fr/navigation.ts"; import Icon from "../ui/icons/Icon.astro"; +import BrandLogo from "@/components/BrandLogo.astro"; import { SITE } from "@/data_files/constants"; // Select the correct translation based on the page's lang prop: @@ -24,59 +25,7 @@ const crafted: string = Astro.currentLocale === "fr" ? "Fabriqué par" : "Crafte
- - - - - - - - - +
{ diff --git a/src/components/sections/Navbar.astro b/src/components/sections/Navbar.astro index 4adadf0..babbf26 100644 --- a/src/components/sections/Navbar.astro +++ b/src/components/sections/Navbar.astro @@ -5,6 +5,8 @@ import NavLink from "../ui/links/NavLink.astro"; import Authentication from "./Authentication.astro"; import enStrings from "@/utils/navigation.ts"; import frStrings from "@/utils/fr/navigation.ts"; +import BrandLogo from "../BrandLogo.astro"; +import LanguagePicker from "../ui/LanguagePicker.astro"; // Select the correct translation based on the page's lang prop: const strings = Astro.currentLocale === "fr" ? frStrings : enStrings; @@ -27,59 +29,7 @@ const homeUrl = Astro.currentLocale === "fr" ? "/fr" : "/"; href={homeUrl} aria-label="Brand" > - - - - - - - - - +
@@ -133,7 +83,7 @@ const homeUrl = Astro.currentLocale === "fr" ? "/fr" : "/"; >
{strings.navBarLinks.map(link => ( @@ -141,6 +91,7 @@ const homeUrl = Astro.currentLocale === "fr" ? "/fr" : "/"; ))} +