From f37c6f2defc724c308666e97c7bb296a8ee8685c Mon Sep 17 00:00:00 2001 From: cyrus Date: Wed, 25 Mar 2026 22:30:38 +0530 Subject: [PATCH] Refactor Welcome page UI and update interaction flow. Simplified the Welcome page layout and styling for improved readability and design consistency. Replaced OAuth login button with a contextual action button directing users based on platform (`Download OpenHuman` or `Continue`). Removed unused dependencies and cleaned up the `package.json` file. --- package.json | 3 +-- skills | 2 +- src/pages/Welcome.tsx | 35 +++++++++++++++++++++++------------ 3 files changed, 25 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index aac5eab27..aa927579c 100644 --- a/package.json +++ b/package.json @@ -114,6 +114,5 @@ "vite": "^7.0.4", "vite-plugin-node-polyfills": "^0.25.0", "vitest": "^4.0.18" - }, - "packageManager": "pnpm@10.27.0+sha512.72d699da16b1179c14ba9e64dc71c9a40988cbdc65c264cb0e489db7de917f20dcf4d64d8723625f2969ba52d4b7e2a1170682d9ac2a5dcaeaab732b7e16f04a" + } } diff --git a/skills b/skills index 14217d3ae..c389a2be6 160000 --- a/skills +++ b/skills @@ -1 +1 @@ -Subproject commit 14217d3aee6b92f7cb6d4c891095de8947ba1397 +Subproject commit c389a2be6da0dbfbb9d61f56acfcb358384a9a4e diff --git a/src/pages/Welcome.tsx b/src/pages/Welcome.tsx index f2cffc456..2ee492ce5 100644 --- a/src/pages/Welcome.tsx +++ b/src/pages/Welcome.tsx @@ -1,16 +1,22 @@ -import OAuthProviderButton from '../components/oauth/OAuthProviderButton'; -import { getProviderConfig } from '../components/oauth/providerConfigs'; +import { useNavigate } from 'react-router-dom'; + import RotatingTetrahedronCanvas from '../components/RotatingTetrahedronCanvas'; -const googleProvider = getProviderConfig('google'); +interface WelcomeProps { + isWeb: boolean; +} + +const Welcome = ({ isWeb }: WelcomeProps) => { + const navigate = useNavigate(); -const Welcome = () => { return ( -
-
-
-
-
+
+
+
+
+ +
+
@@ -18,12 +24,17 @@ const Welcome = () => { OpenHuman -

+

Your AI superhuman for personal and business life.

-
- {googleProvider ? : null} +
+