Polish login screen layout and sign-in buttons#30
Open
tpaulshippy wants to merge 1 commit into
Open
Conversation
- Vertically center sign-in buttons with 24px padding and 16px gap; fixes Apple button rendering at natural size and clipping at viewport - Size both brand image buttons to 50px height with contain fit (no distortion/clipping); put Apple button on a neutral themed card so it looks intentional in dark mode - Add muted tagline under the logo - Developer Options already gated behind __DEV__; auth logic unchanged
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.
Summary
Visual/layout-only polish of the login screen (
front/app/login.tsx,front/components/GoogleSignInButton.tsx,front/components/AppleSignInButton.tsx). No auth logic changed — OAuth flows, token handling, and deep linking are identical.containfit — no distortion or clipping. The Apple button now sits on a neutral themed card (cardBackground+bordercolors) so it looks intentional in dark mode instead of a harsh mismatched block.__DEV__in the source; that gate is preserved intact. Note: the static web export is a production build (__DEV__ === false), so the dev-only branch can't be visually verified from the exported bundle — it simply doesn't render there, as the after screenshots confirm.Verified with
npm run lint(0 errors) and jest (28 passed; the_layout-test.tsxsuite failure is pre-existing onorigin/mainand unrelated).Screenshots (390x844, light & dark)
Light
Dark
Screenshots committed to this branch under docs/screenshots/ for review; drop them before merging if undesired.