feat: Add language switcher component to footer

Enhance user experience by adding a language switcher component to the footer. This allows users to easily change the language of the website. The code changes include:
- Adding the `LocaleSwitcher` component to the footer.
- Updating the footer layout to accommodate the language switcher.
- Importing the `LocaleSwitcher` component in the `Footer` component.
This commit is contained in:
mauro-balades
2024-09-02 22:47:28 +02:00
parent a67198d9ed
commit 3493fdca5f
2 changed files with 28 additions and 17 deletions

View File

@@ -20,29 +20,29 @@ import { HeartFilledIcon } from "@radix-ui/react-icons"
export const components: { title: string; href: string; description: string }[] = [
{
title: "nav-components-privacy-policy",
title: "Privacy Policy",
href: "/privacy-policy",
description: "nav-components-privacy-policy-text",
description: "Read our privacy policy to learn more about how we handle your data."
},
{
title: "nav-components-discord",
title: "Discord",
href: "https://discord.com/servers/mauro-s-little-sweatshop-1088172780480114748",
description: "nav-components-discord-text"
description: "Join our Discord server to chat with the community and get support."
},
{
title: "nav-components-source-code",
title: "Source Code",
href: "https://github.com/zen-browser",
description: "nav-components-source-code-text"
description: "View the source code on GitHub and contribute to the project."
},
{
title: "nav-components-branding-assets",
title: "Branding Assets",
href: "/branding-assets",
description: "nav-components-branding-assets-text"
description: "Download our branding assets to use in your projects."
},
{
title: "nav-components-documentation",
title: "Documentation",
href: "https://docs.zen-browser.app/",
description: "nav-components-documentation-text"
description: "Read the documentation to learn more about Zen Browser."
}
]