Skip to content

Add i18n for auth flows, SEO assets, site metadata and AuthShell component#4

Open
reqmdev wants to merge 2 commits into
mainfrom
codex/set-up-vercel-analytics-and-speed-insights
Open

Add i18n for auth flows, SEO assets, site metadata and AuthShell component#4
reqmdev wants to merge 2 commits into
mainfrom
codex/set-up-vercel-analytics-and-speed-insights

Conversation

@reqmdev
Copy link
Copy Markdown
Owner

@reqmdev reqmdev commented May 30, 2026

Motivation

  • Provide English and Turkish localized auth flows and copy across login, signup, reset and forgot-password experiences.
  • Centralize the auth page layout into a reusable AuthShell to reduce duplication and support per-locale rendering.
  • Improve SEO and social sharing by adding canonical metadata, OpenGraph/Twitter images and site URL normalization.
  • Add public verification and crawl assets so Search Console and crawlers can index the intended pages.

Description

  • Introduced AuthShell component and refactored auth layout to use it, with locale-aware copy and steps for tr and en locales.
  • Added locale-specific auth pages under src/app/en/(auth) and made existing auth pages pass locale down to forms and components; updated LoginForm, SignupForm, ForgotPasswordForm, ResetPasswordForm, OAuthButtons, and bot-protection/recaptcha UI to be locale-aware.
  • Added site metadata and social previews in src/app/layout.tsx, including openGraph, twitter, robots and a nicer metadata.description and title; wired Vercel insights scripts.
  • Added SEO/public assets: public/robots.txt, public/sitemap.xml, and public/google9300d3df9e5b7d46.html, plus docs/seo-launch-checklist.md.
  • Implemented a small src/lib/site-url.ts utility to normalize the site URL and build absolute image/URL values, and adjusted footer path localization logic to handle auth routes and /en prefix behavior.

Testing

  • Ran TypeScript type checking (pnpm tsc) and it completed successfully.
  • Performed a local Next.js production build (next build) to validate the server/client bundles and metadata generation, and the build succeeded.
  • Verified that the new public assets (robots.txt, sitemap.xml, google*.html) are present in public/ and referenced by robots/metadata configuration.

Codex Task

@vercel
Copy link
Copy Markdown

vercel Bot commented May 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vultkey Ready Ready Preview, Comment May 30, 2026 10:58pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant