Closed 0xGeegZ closed 11 months ago
This pull request introduces significant changes to support internationalization and localization, modifies environment variables, and updates the user interface text. It also enhances the middleware to handle locale-specific routes and redirects, and updates the sign-in and sign-up components to support different locales.
File(s) | Summary |
---|---|
.env.example , env.mjs |
Environment variables related to Clerk authentication and a new API key were added, modified, and relocated. |
.nvmrc |
Node.js version was updated to v20.8.1 . |
next.config.mjs |
The Next.js configuration was updated to include the withNextIntl plugin for internationalization. |
src/app/[locale]/layout.tsx , src/app/[locale]/(dashboard)/dashboard/layout.tsx |
Layout components were updated to handle locale-specific rendering and validation. |
src/app/[locale]/(dashboard)/dashboard/page.tsx , src/app/[locale]/(dashboard)/dashboard/(routes)/image/page.tsx |
Minor UI text changes and data handling updates were made in the dashboard and image history pages. |
src/app/[locale]/(auth)/(routes)/sign-in/[[...sign-in]]/page.tsx , src/app/[locale]/(auth)/(routes)/sign-up/[[...sign-up]]/page.tsx |
Sign-in and sign-up components were updated to handle locale-specific redirects. |
src/components/landing/landing-navbar.tsx , src/components/navbar.tsx |
Navbar components were updated to include a language switcher and handle locale-specific URLs. |
src/middleware.ts |
Middleware was enhanced to handle locale-specific routes and redirects, and to execute internationalization middleware before authentication. |
src/config/constants.ts |
Constants were added, updated, and removed to reflect changes in the application settings and site colors. |
"In the land of code, where logic is king, š¤“ A rabbit hopped in, with changes to bring. š With locales in mind, and UI so fine, š He tweaked and he tuned, till everything aligned. šÆ Now users worldwide, in their own tongue, can sing! š¶"
The latest updates on your projects. Learn more about Vercel for Git āļø
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
ai-micro-saas-starter | ā Ready (Inspect) | Visit Preview | š¬ Add feedback | Oct 22, 2023 1:15pm |
Implement Next Intl for Translation.
Tasks
Summary by CodeRabbit