diff --git a/src/components/oauth/OAuthLoginSection.tsx b/src/components/oauth/OAuthLoginSection.tsx new file mode 100644 index 000000000..833d63f28 --- /dev/null +++ b/src/components/oauth/OAuthLoginSection.tsx @@ -0,0 +1,46 @@ +import OAuthProviderButton from './OAuthProviderButton'; +import TelegramLoginButton from '../TelegramLoginButton'; +import { oauthProviderConfigs } from './providerConfigs'; + +interface OAuthLoginSectionProps { + className?: string; + disabled?: boolean; + showTelegram?: boolean; +} + +const OAuthLoginSection = ({ + className = '', + disabled = false, + showTelegram = true +}: OAuthLoginSectionProps) => { + return ( +
Failed to load conversations
-{error}
- -No conversations yet
Failed to load messages
{messagesError}
{consumeError}
- Get a new link by sending '/start login' to the AlphaHuman bot on Telegram. + Please try logging in again with your preferred method.
Are you ready for this?
- {/* Show Telegram login button in Tauri app, download screen on web */} + {/* Show OAuth login options in Tauri app, download screen on web */} {!isWeb && (