Add i18n for auth flows, SEO assets, site metadata and AuthShell component#4
Open
reqmdev wants to merge 2 commits into
Open
Add i18n for auth flows, SEO assets, site metadata and AuthShell component#4reqmdev wants to merge 2 commits into
reqmdev wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
AuthShellto reduce duplication and support per-locale rendering.Description
AuthShellcomponent and refactored auth layout to use it, with locale-aware copy and steps fortrandenlocales.src/app/en/(auth)and made existing auth pages passlocaledown to forms and components; updatedLoginForm,SignupForm,ForgotPasswordForm,ResetPasswordForm,OAuthButtons, and bot-protection/recaptcha UI to be locale-aware.src/app/layout.tsx, includingopenGraph,twitter,robotsand a nicermetadata.descriptionand title; wired Vercel insights scripts.public/robots.txt,public/sitemap.xml, andpublic/google9300d3df9e5b7d46.html, plusdocs/seo-launch-checklist.md.src/lib/site-url.tsutility to normalize the site URL and build absolute image/URL values, and adjusted footer path localization logic to handle auth routes and/enprefix behavior.Testing
pnpm tsc) and it completed successfully.next build) to validate the server/client bundles and metadata generation, and the build succeeded.robots.txt,sitemap.xml,google*.html) are present inpublic/and referenced byrobots/metadata configuration.Codex Task