Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copy changes per marketings figma updates #63

Merged
merged 1 commit into from
Feb 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,10 @@ import { useMasa } from '../../../../provider';
import { Spinner } from '../../../spinner';

export const InterfaceAuthenticate = (): JSX.Element => {
const { handleLogin, walletAddress, identity, loading } = useMasa();
const { handleLogin, walletAddress, loading } = useMasa();

const [copied, setCopied] = useState(false);

const hasIdentity = useMemo(() => {
return identity && identity?.identityId;
}, [identity]);
const shortAddress = useMemo(() => {
return `${walletAddress?.substring(0, 2)}...${walletAddress?.substring(
walletAddress.length - 4,
Expand All @@ -32,8 +29,8 @@ export const InterfaceAuthenticate = (): JSX.Element => {
<div>
<h3 className="title">Wallet connected!</h3>
<p className="connected-wallet">
Your wallet is connected you can now create an account by minting a
Masa Soulbound Identity and Masa Soulname!
Your wallet is now connected. Start your soulbound journey by minting
a Masa Soulbound Identity and claiming a unique Masa Soul Name.
</p>

<p className="connected-wallet with-wallet">
Expand All @@ -48,7 +45,7 @@ export const InterfaceAuthenticate = (): JSX.Element => {
className="masa-button authenticate-button"
onClick={handleLogin}
>
{loading ? 'loading...' : hasIdentity ? 'Sign in' : 'Register'}
{loading ? 'loading...' : 'Get Started'}
</button>
<div className="dont-have-a-wallet">
<a>
Expand Down
4 changes: 2 additions & 2 deletions src/components/masa-interface/pages/connected/connected.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { MasaLoading } from '../../../masa-loading';
import { Spinner } from '../../../spinner';

export const InterfaceConnected = (): JSX.Element => {
const { company, loading, closeModal } = useMasa();
const { loading, closeModal } = useMasa();

useEffect(() => {
if (!loading) {
Expand All @@ -19,7 +19,7 @@ export const InterfaceConnected = (): JSX.Element => {
return (
<div className="interface-connected">
<div>
<h3 className="title">We are taking you to {company}</h3>
<h3 className="title">Starting your soulbound journey</h3>

<Spinner />
</div>
Expand Down