Commit Graph

410 Commits

Author SHA1 Message Date
mauro-balades
d787a95657 feat: Add language switcher component to footer 2024-09-02 21:04:05 +02:00
mauro-balades
66cc854c2c Update pages_build_output_dir in wrangler.toml 2024-09-02 20:53:18 +02:00
mauro-balades
406ff44bb4 refactor: Remove unnecessary output property in next.config.js 2024-09-02 20:51:56 +02:00
mauro-balades
9fab23d159 refactor: Remove unnecessary output property in next.config.js 2024-09-02 20:16:06 +02:00
mauro-balades
c338f3d04e ```text
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.
2024-09-02 19:50:10 +02:00
mauro-balades
0bdd1eaa28 Merge branch 'main' of https://github.com/zen-browser/www 2024-09-02 19:22:38 +02:00
mauro-balades
fa89603cf4 feat: Add language switcher component to footer
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.
2024-09-02 19:22:31 +02:00
NOCanoa
336633b062 Update footer.tsx 2024-09-02 18:09:01 +01:00
mauro-balades
27b23e8336 feat: Update i18n configuration, refactor getRequestConfig, and improve language support 2024-09-02 19:00:57 +02:00
mauro-balades
5779ea88ef feat: Update i18n configuration and add support for additional languages
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.
2024-09-02 18:56:43 +02:00
mauro-balades
3c8cd2ffc2 feat: Update pages_build_output_dir in wrangler.toml
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.
2024-09-02 18:49:33 +02:00
mauro-balades
0609542803 feat: Update navigation component
Remove console.log statement and improve code readability
2024-09-02 18:44:35 +02:00
mauro-balades
44a697ee49 feat: Update footer layout, add social media links, and improve styling 2024-09-02 18:43:52 +02:00
mauro-balades
7071eed755 feat: Update footer layout, add social media links, and improve styling 2024-09-02 18:15:03 +02:00
mauro-balades
ec6783038f feat: Update footer layout and improve styling 2024-09-02 17:33:40 +02:00
mauro-balades
77d9b49172 feat: Update footer layout and add social media links 2024-09-02 17:32:05 +02:00
mauro-balades
046c313373 feat: Update footer with social media links and improve layout
The code changes include:
- Adding social media icons for GitHub, Discord, and Mastodon.
- Updating the layout of the footer to display the logo and follow us section.
- Updating the links in the footer to point to the correct pages.
2024-09-02 17:27:46 +02:00
mauro 🤙
91193b0c72 Merge pull request #138 from ktz-dev/enjson
feat: Full en.json and translating the navbar as a POC
2024-09-02 16:11:49 +02:00
mauro 🤙
bb11e074d0 Merge pull request #149 from 8xu/main
feat(lang): added ro.json
2024-09-02 16:11:06 +02:00
mauro 🤙
226d126eb7 Merge pull request #153 from mohvn/main
Fixing Firefox Icon on Light Mode
2024-09-02 16:08:04 +02:00
mohvn
ec33ae6087 fix: light mode of firefox icon 2024-09-02 10:16:31 -03:00
mohvn
d52674b247 fix: removed w-fit duplicated 2024-09-02 10:12:29 -03:00
Waled Khatiz
dd5e74eecf Merge branch 'main' into enjson 2024-09-02 14:44:50 +10:00
mauro-balades
5d4424e29a feat: Update Discord links in privacy policy and navigation
The code changes include:
- Updating the Discord link in the privacy policy page to [Zen Browser's Discord](https://discord.com/servers/mauro-s-little-sweatshop-1088172780480114748).
- Updating the Discord link in the navigation component to [Zen Browser's Discord](https://discord.com/servers/mauro-s-little-sweatshop-1088172780480114748).
2024-09-01 15:57:36 +02:00
mauro-balades
0a2e2e6295 feat: Update ThemePage to use lazy loading for images 2024-09-01 11:31:54 +02:00
mauro-balades
26384860f8 feat: Update ThemesMarketplace to use lazy loading for images 2024-09-01 11:12:35 +02:00
mauro-balades
7575e7b22a feat: Add lazy loading for images in marketplace
The code changes include:
- Importing the `Image` component from `next/legacy/image` instead of `next/image` in multiple files.
- Adding a new `CachedImage` component that uses the `Image` component with a custom loader.
- Updating the `MarketplacePage` component to pass the `themes` prop to the `MarketplacePage` component.
2024-09-01 11:08:01 +02:00
mauro-balades
1c81e8ebea Merge branch 'main' of https://github.com/zen-browser/www 2024-09-01 00:51:50 +02:00
mauro-balades
9599c606cf feat: Add lazy loading for images and update image components
The code changes include:
- Importing the `Image` component from `next/legacy/image` instead of `next/image` in multiple files.
- Adding a new `CachedImage` component that uses the `Image` component with a custom loader.
- Updating the `Logo` component to use the `CachedImage` component instead of the `img` tag.

Recent user commits and repository commits do not provide additional context for the commit message.
2024-09-01 00:51:37 +02:00
mauro-balades
1c181b972f chore: Update next.config.js and features.tsx 2024-09-01 00:06:58 +02:00
Waled Khatiz
bdc3d5c9c4 typo: Fix README.md syntax block markdown 2024-09-01 04:40:42 +10:00
Waled Khatiz
47b034b39d typo: Fixing README.md subheading formatting 2024-09-01 04:31:11 +10:00
Waled Khatiz
df359b2bbe docs: even more details in the README-LANGUAGES.md 2024-09-01 04:25:27 +10:00
Waled Khatiz
94123c52bf docs: more details in the README-LANGUAGES.md 2024-09-01 04:04:44 +10:00
Dragomir Mihai
de8009ab41 chore: update navigation translation key for getting started page 2024-08-31 20:48:43 +03:00
NOCanoa
2047c70aac Add files via upload 2024-08-31 18:14:55 +01:00
mihai
104b529435 Update i18n.ts to support ro ( Romanian ) 2024-08-31 10:01:46 -07:00
mihai
8e4329dff1 Added ro.json 2024-08-31 09:59:10 -07:00
mauro 🤙
3a6a28a449 Merge pull request #148 from makkarankush68/prettier-tailwind-sort
feat: add Tailwind Prettier sorting configuration
2024-08-31 17:50:02 +02:00
mauro-balades
42d0996272 Changed icon size 2024-08-31 17:29:39 +02:00
Ankush Makkar
acac3e56ef feat: add Tailwind Prettier sorting configuration 2024-08-31 18:20:01 +05:30
mauro 🤙
d84b2dbc26 cf 2024-08-31 11:24:51 +00:00
mauro 🤙
7b2fe6168a cf 2024-08-31 10:36:50 +00:00
mauro 🤙
c7dd357d46 cf 2024-08-31 10:33:42 +00:00
mauro 🤙
5b6caa1d7b cf 2024-08-31 10:31:09 +00:00
mauro 🤙
6fcc93665f cloudflare 2024-08-31 10:28:29 +00:00
mauro 🤙
ac06b4d940 Update layout.tsx 2024-08-31 12:25:21 +02:00
mauro 🤙
9beeb3057f Merge pull request #146 from compilando/patch-1
Update next.config.js
2024-08-31 12:16:39 +02:00
Oscar González
0dfd712ba2 Update next.config.js 2024-08-31 12:15:50 +02:00
mauro 🤙
a0d34d1235 Merge pull request #145 from compilando/main
cloudflare
2024-08-31 12:09:19 +02:00