Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3 - language switcher and translated legal links #719

Merged
merged 4 commits into from
Oct 7, 2024

Conversation

mathiazom
Copy link
Contributor

@mathiazom mathiazom commented Sep 26, 2024

See #706

Very basic language switcher:

Desktop:
image

Mobile:
image

Also translated legal links:
image


Checklist

Please ensure that you’ve completed the following checkpoints before submitting your pull request:

  • Documentation: Relevant documentation has been added or updated (if applicable).
  • Testing: Have you tested your changes thoroughly?

Copy link

vercel bot commented Sep 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
variant-no ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 7, 2024 7:20am
variant-se-2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 7, 2024 7:20am

src/components/languageSwitcher/LanguageSwitcher.tsx Outdated Show resolved Hide resolved
src/components/navigation/footer/Footer.tsx Outdated Show resolved Hide resolved
src/components/navigation/header/Header.tsx Show resolved Hide resolved
src/utils/hooks/useLanguage.ts Outdated Show resolved Hide resolved
src/utils/hooks/useLanguage.ts Outdated Show resolved Hide resolved
src/utils/hooks/useLanguage.ts Show resolved Hide resolved
Copy link
Contributor

@anemne anemne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

attempt to fix following error at build:
> The error was caused by importing 'sanity/lib/index.mjs' in './studio/schemas/documents/siteSettings/brandAssets.ts'.
@mathiazom mathiazom merged commit 87f4564 into v3 Oct 7, 2024
6 checks passed
@mathiazom mathiazom deleted the feat/v3-language-switcher-and-legal-links branch October 7, 2024 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants