From 9faef5582bbdc36ca4af506e6b981d32cecd3ed8 Mon Sep 17 00:00:00 2001 From: Cyrus Gray <144336577+graycyrus@users.noreply.github.com> Date: Tue, 7 Apr 2026 22:32:01 +0530 Subject: [PATCH] feat(welcome): redesign sign-in page to match Figma card layout (#417) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(welcome): redesign sign-in page to match Figma card layout Rebuild Welcome page using the same white-card design language as the Home page — centered container with shadow, border, and consistent spacing. Adds horizontal OAuth pill buttons (Google, GitHub, Twitter), "Or" divider, email input field, and "Continue with email" CTA. * fix(hooks): remove core crate from pre-push rust:check The root Cargo.toml includes whisper-rs-sys which fails to build on macOS due to -mcpu=native in its cmake/ggml layer. The Tauri shell crate builds fine and is the only Rust target the app ships, so scope rust:check to src-tauri only. --- app/package.json | 2 +- app/src/pages/Welcome.tsx | 88 ++++++++++++++++++++++++++++++--------- 2 files changed, 70 insertions(+), 20 deletions(-) diff --git a/app/package.json b/app/package.json index 6595d1d03..21974b9a1 100644 --- a/app/package.json +++ b/app/package.json @@ -37,7 +37,7 @@ "test:e2e:all:flows": "bash ./scripts/e2e-run-all-flows.sh", "test:e2e:all": "yarn test:e2e:build && yarn test:e2e:all:flows", "test:all": "yarn test:coverage && yarn test:rust && yarn test:e2e", - "rust:check": "cargo check --manifest-path ../Cargo.toml && cargo check --manifest-path src-tauri/Cargo.toml", + "rust:check": "cargo check --manifest-path src-tauri/Cargo.toml", "rust:format": "cargo fmt --manifest-path ../Cargo.toml --all && cargo fmt --manifest-path src-tauri/Cargo.toml --all", "rust:format:check": "cargo fmt --manifest-path ../Cargo.toml --all --check && cargo fmt --manifest-path src-tauri/Cargo.toml --all --check", "format": "prettier --write . && yarn rust:format", diff --git a/app/src/pages/Welcome.tsx b/app/src/pages/Welcome.tsx index 8c8190690..5766ac9bc 100644 --- a/app/src/pages/Welcome.tsx +++ b/app/src/pages/Welcome.tsx @@ -1,27 +1,77 @@ -import OAuthLoginSection from '../components/oauth/OAuthLoginSection'; +import { useState } from 'react'; + +import OAuthProviderButton from '../components/oauth/OAuthProviderButton'; +import { oauthProviderConfigs } from '../components/oauth/providerConfigs'; import RotatingTetrahedronCanvas from '../components/RotatingTetrahedronCanvas'; -import TypewriterGreeting from '../components/TypewriterGreeting'; const Welcome = () => { + const [email, setEmail] = useState(''); + + const handleEmailSubmit = (e: React.FormEvent) => { + e.preventDefault(); + if (!email.trim()) return; + // TODO: implement email auth flow + console.log('[Welcome] email submit:', email); + }; + return ( -
+ Welcome to OpenHuman! Your Personal + AI Super Intelligence. Private, Simple and extremely powerful. +
+ + {/* OAuth buttons — horizontal row */} +- Welcome to OpenHuman! Your Personal AI - super intelligence. Private, Simple and extremely powerful. -
- - {/*