diff --git a/apps/web/src/components/Basenames/UsernameProfileSectionFrames/FarcasterAccountModal.tsx b/apps/web/src/components/Basenames/UsernameProfileSectionFrames/FarcasterAccountModal.tsx index 980330ec14..2b61ca2aec 100644 --- a/apps/web/src/components/Basenames/UsernameProfileSectionFrames/FarcasterAccountModal.tsx +++ b/apps/web/src/components/Basenames/UsernameProfileSectionFrames/FarcasterAccountModal.tsx @@ -9,7 +9,9 @@ import Modal from 'apps/web/src/components/Modal'; import { useFIDQuery } from 'apps/web/src/hooks/useFarcasterUserByFID'; import QRCode from 'qrcode.react'; import { useCallback, useMemo } from 'react'; -import FarcasterIcon from './white-purple-farcaster-icon.svg'; +import WPFarcasterIcon from './assets/white-purple-farcaster-icon.svg'; +import PWFarcasterIcon from './assets/purple-white-farcaster-icon.svg'; +import Image, { StaticImageData } from 'next/image'; export default function FarcasterAccountModal() { const { farcasterSignerState, showFarcasterQRModal, setShowFarcasterQRModal } = useFrameContext(); @@ -19,7 +21,7 @@ export default function FarcasterAccountModal() { [farcasterSignerState.signer], ); const loading = useMemo( - () => !!farcasterSignerState.isLoadingSigner ?? false, + () => !!farcasterSignerState.isLoadingSigner, [farcasterSignerState.isLoadingSigner], ); const handleButtonClick = useCallback(() => { @@ -32,21 +34,31 @@ export default function FarcasterAccountModal() { return ( -
+
{/* Sign-in section when the user is not signed in */} {!farcasterUser && (
-

Sign in with Farcaster

-

Use your Farcaster account to sign in.

-

Be careful! This action costs warps.

+ farcaster icon +

+ Sign in with Warpcast +

+

+ You will need to pay warps to sign in. +