diff --git a/src/components/LoginOptions.tsx b/src/components/LoginOptions.tsx index 0f8b1988..2b299532 100644 --- a/src/components/LoginOptions.tsx +++ b/src/components/LoginOptions.tsx @@ -1,4 +1,6 @@ import React, { useState } from 'react' +import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' +import { faPuzzlePiece, faShieldHalved, faCircleInfo } from '@fortawesome/free-solid-svg-icons' import { Hooks } from 'applesauce-react' import { Accounts } from 'applesauce-accounts' import { NostrConnectSigner } from 'applesauce-signers' @@ -87,7 +89,7 @@ const LoginOptions: React.FC = () => { disabled={isLoading} className="login-button login-button-primary" > - + {isLoading && !showBunkerInput ? 'Connecting...' : 'Login with Extension'} @@ -97,7 +99,7 @@ const LoginOptions: React.FC = () => { disabled={isLoading} className="login-button login-button-secondary" > - + Login with Bunker ) : ( @@ -141,7 +143,7 @@ const LoginOptions: React.FC = () => { {error && (
- + {error}
)} diff --git a/src/styles/components/login.css b/src/styles/components/login.css index 4fa171ec..4bb9e5f6 100644 --- a/src/styles/components/login.css +++ b/src/styles/components/login.css @@ -57,8 +57,10 @@ min-height: var(--min-touch-target); } -.login-button i { +.login-button svg { font-size: 1.125rem; + width: 1.125rem; + height: 1.125rem; } .login-button-primary { @@ -185,8 +187,10 @@ line-height: 1.5; } -.login-error i { +.login-error svg { font-size: 1.125rem; + width: 1.125rem; + height: 1.125rem; color: rgb(251, 191, 36); flex-shrink: 0; }