The contributors image in the About page was updated to use the new URL provided by the contributors-img service. This change ensures that the correct image is displayed, reflecting the latest contributors to the Zen Browser project.
The import path for the markdown.css file in the about/page.tsx file was updated to '../privacy-policy/markdown.css'. This change ensures that the correct CSS file is being imported and applied to the About page, improving the styling and consistency of the page.
Add a new About page to provide information about the Zen Browser project and the team behind it. This page includes details about the main developer team and other contributors. The About page also displays a list of contributors with their respective GitHub profiles. This change enhances the user experience by providing transparency and recognition to the project contributors.
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.
feat: Update routing in layout.tsx
Refactor the generateStaticParams function in layout.tsx to use the routing.locales array instead of the deprecated SUPPORTED_LANGUAGES array. This change ensures that the language options in the website's layout are dynamically generated based on the available locales.
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 enhances the user experience by allowing users to easily change the language of the website.
The code changes include:
- Updating the i18n configuration to export the `SUPPORTED_LANGUAGES` array.
- Refactoring the `getRequestConfig` function to accept a `locale` parameter.
- Simplifying the logic for determining the `locale` based on the `accept-language` header.
- Loading the appropriate messages file based on the `locale` parameter.
This commit improves the i18n functionality of the project and allows for easier addition of new languages.
Update the pages_build_output_dir in wrangler.toml from ".vercel/output/static" to "out". This change improves the build output directory for the project.