1import React, { useCallback } from 'react';
2import cn from 'classnames';
3import ob from 'urbit-ob';
4import { Grid, Text, LinkButton } from 'indigo-react';
6import useWasGreeted from 'lib/useWasGreeted';
8const TEXT_STYLE = 'f5';
10export default function ActivateDisclaimer({ point }) {
11 const [wasGreeted, setWasGreeted] = useWasGreeted();
13 const pointName = ob.patp(point);
15 const dismiss = useCallback(async () => {
21 <Grid gap={4} className="mb10">
23 <Text className={cn(TEXT_STYLE, 'block mb4')}>
24 Welcome <code>{pointName}</code>,
27 <Text className={cn(TEXT_STYLE, 'block mb2')}>
28 As of this moment, you own a piece of Urbit. No one can take it from
29 you, and you can keep it for the rest of your life.
31 <Text className={cn(TEXT_STYLE, 'block mb2')}>
32 Keep your Master Ticket safe. No one can recover it for you. But it
33 can get you back into Urbit at any time.
35 <Text className={cn(TEXT_STYLE, 'block mb2')}>
43 href="https://urbit.org/docs/getting-started/">
44 <Text className={cn(TEXT_STYLE, 'block mb2')}>
45 Boot Arvo, the Urbit OS
50 <Text className={cn(TEXT_STYLE, 'block mb4')}>
51 Welcome to Urbit. See you online.
54 <Grid.Item full as={LinkButton} onClick={dismiss}>
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list