import React, { useCallback } from 'react'; import cn from 'classnames'; import ob from 'urbit-ob'; import { Grid, Text, LinkButton } from 'indigo-react'; import useWasGreeted from 'lib/useWasGreeted'; const TEXT_STYLE = 'f5'; export default function ActivateDisclaimer({ point }) { const [wasGreeted, setWasGreeted] = useWasGreeted(); const pointName = ob.patp(point); const dismiss = useCallback(async () => { setWasGreeted(true); }, [setWasGreeted]); if (wasGreeted) { return null; } return ( Welcome {pointName}, As of this moment, you own a piece of Urbit. No one can take it from you, and you can keep it for the rest of your life. Keep your Master Ticket safe. No one can recover it for you. But it can get you back into Urbit at any time. Right now you can: Boot Arvo, the Urbit OS Welcome to Urbit. See you online. Close ); }