diff --git a/astro.config.mjs b/astro.config.mjs
index 26373eab..dfb6f164 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -63,7 +63,7 @@ export default defineConfig({
Header: "./src/components/Header.astro",
PageSidebar: "./src/components/PageSidebar.astro",
},
- social: {
+ social:{
github: "https://github.com/interledger",
},
sidebar: [
diff --git a/src/components/Header.astro b/src/components/Header.astro
index a6006b48..b7d4e2b6 100644
--- a/src/components/Header.astro
+++ b/src/components/Header.astro
@@ -4,6 +4,10 @@ import Search from "@astrojs/starlight/components/Search.astro";
import SocialIcons from "@astrojs/starlight/components/SocialIcons.astro";
import ThemeSelect from "@astrojs/starlight/components/ThemeSelect.astro";
import DevelopersLogo from "./logos/DevelopersLogo.astro";
+import LanguagePicker from "./LanguagePicker.astro";
+import { getLangFromUrl } from "../i18n/utils";
+
+const lang = getLangFromUrl(Astro.url);
---
@@ -95,10 +99,13 @@ import DevelopersLogo from "./logos/DevelopersLogo.astro";
.secondary-wrap {
align-items: center;
- gap: var(--space-s);
}
:global(site-search > button[data-open-modal]) {
width: auto;
}
+
+ .theme-select-wrapper {
+ padding-inline-start: var(--space-s);
+ }
diff --git a/src/components/LanguagePicker.astro b/src/components/LanguagePicker.astro
index 15a16234..0b973e0b 100644
--- a/src/components/LanguagePicker.astro
+++ b/src/components/LanguagePicker.astro
@@ -7,6 +7,20 @@ const translatePath = useTranslatedPath(defaultLang, lang);
---
+
+
+
+
+
+
+
diff --git a/src/components/pages/Footer.astro b/src/components/pages/Footer.astro
index 2b84d7a8..8f7c4b15 100644
--- a/src/components/pages/Footer.astro
+++ b/src/components/pages/Footer.astro
@@ -1,4 +1,8 @@
---
+import { getLangFromUrl, useTranslations } from "../../i18n/utils";
+
+const lang = getLangFromUrl(Astro.url);
+const t = useTranslations(lang);
const currentYear = new Date().getFullYear();
---