@@ -0,0 +1,75 @@
1+import React, { useCallback } from 'react';
2+import cn from 'classnames';
3+import * as ob from 'urbit-ob';
4+import { Grid, Text, LinkButton } from 'indigo-react';
6+import { useLocalRouter } from 'lib/LocalRouter';
8+import useWasGreeted from 'lib/useWasGreeted';
9+import useCurrentPermissions from 'lib/useCurrentPermissions';
11+const TEXT_STYLE = 'f5';
13+export default function ActivateDisclaimer({ point }) {
14+ const { push, names } = useLocalRouter();
16+ const [wasGreeted, setWasGreeted] = useWasGreeted();
17+ const { isActiveOwner } = useCurrentPermissions();
19+ const pointName = ob.patp(point);
21+ const dismiss = useCallback(async () => {
25+ const goInvite = useCallback(() => push(names.INVITE), [push, names]);
29+ <Grid gap={4} className="mb10">
31+ <Text className={cn(TEXT_STYLE, 'block mb4')}>
32+ Welcome <code>{pointName}</code>,
35+ <Text className={cn(TEXT_STYLE, 'block mb2')}>
36+ As of this very moment, you own an Urbit identity – a digital
37+ identity that you can keep for the rest of your life. Use the Master
38+ Ticket included in your Passport to access your Urbit identity at
39+ any time. Right now you can:
48+ className={'yellow4'}>
49+ <Text className={cn(TEXT_STYLE, 'block mb2')}>
58+ href="https://urbit.org/docs/getting-started/">
59+ <Text className={cn(TEXT_STYLE, 'block mb2')}>
65+ <Text className={cn(TEXT_STYLE, 'block mb4')}>
66+ Welcome to Urbit. See you online.
69+ <Grid.Item full as={LinkButton} onClick={dismiss}>