Update signIn.tsx (#339)

This commit is contained in:
BlowaterNostr 2023-11-25 23:47:41 +08:00 committed by GitHub
parent 270a427767
commit e9e4ea9e67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,8 +89,6 @@ export class SignIn extends Component<Props, State> {
block: tw`flex-1 desktop:hidden`,
signInButton:
tw`w-full mt-4 ${ButtonClass} ${LinearGradientsClass} hover:bg-gradient-to-l mobile:rounded-full font-bold`,
ablyButton:
tw`${ButtonClass} ${CenterClass} mt-4 bg-[#F8C455] text-[#313338] hover:bg-[#FFDF6F] py-0 mobile:rounded-full`,
cancelButton:
tw`${ButtonClass} ${CenterClass} mt-4 bg-[${SecondaryBackgroundColor}] text-[${PrimaryTextColor}] hover:bg-[${HoverButtonBackgroudColor}] mobile:rounded-full`,
newButton:
@ -232,10 +230,9 @@ export class SignIn extends Component<Props, State> {
</button>
<button
onClick={async () => await this.signInWithExtension()}
class={this.styles.ablyButton}
class={this.styles.signInButton}
>
<img class={this.styles.ablyIcon} src="alby-logo.svg" alt="Alby Logo" />
Sign in with Alby
Sign in with Nostr Extension
</button>
<p class={this.styles.hint}>
<span class={this.styles.isError(this.state.nip07Error)}>