feat: 登陆美化

This commit is contained in:
CaIon 2024-04-20 21:05:38 +08:00
parent 6b71db7ce2
commit 892b7d1ad4

View File

@ -241,16 +241,25 @@ const LoginForm = () => {
) : ( ) : (
<></> <></>
)} )}
</div>
{status.telegram_oauth ? ( {status.telegram_oauth ? (
<>
<div
style={{
display: 'flex',
justifyContent: 'center',
marginTop: 5,
}}
>
<TelegramLoginButton <TelegramLoginButton
dataOnauth={onTelegramLoginClicked} dataOnauth={onTelegramLoginClicked}
botName={status.telegram_bot_name} botName={status.telegram_bot_name}
/> />
</div>
</>
) : ( ) : (
<></> <></>
)} )}
</div>
</> </>
) : ( ) : (
<></> <></>