feat: simplify landing page to header, centered register/login CTA, and footer - #85
Open
gdccyuen wants to merge 1 commit into
Open
feat: simplify landing page to header, centered register/login CTA, and footer#85gdccyuen wants to merge 1 commit into
gdccyuen wants to merge 1 commit into
Conversation
…nd footer - Header nav trimmed to Docs + GitHub only - Removed the header GET API KEY button (moved to page center) - Cleared all marketing sections below the header - Centered Register / Log in CTA on the landing page - i18n (en/zh): cta label updated; landing contract test updated
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.
What
Simplifies the root landing page to a minimal entry point: header (brand + Docs + GitHub + theme/language), a centered Register / Log in CTA, and footer.
Changes
app/(landing)/_components/landing-header.tsx: nav trimmed to Docs + GitHub only (removed Comparison, Playground, Pricing, Blog, desktop + mobile); removed the header "GET API KEY" CTA buttonapp/(landing)/_components/landing-home.tsx: cleared all marketing sections below the header (hero, formats, integration, comparison, challenges, transform, pricing, enterprise, FAQ, final CTA, newsletter prompt); replaced with a centered Register / Log in button linking to/logini18n/locales/en.json+zh.json: header CTA relabeled to "Register / Log in" / "注册 / 登录"lib/landing-figma-design.test.ts: contract test updated to assert the new nav (docs + github only, no playground/pricing/blog)Notes
/login(registration is on the same auth flow); verifiedpnpm type-check,pnpm test(108 passed),pnpm build