on aee35bb help sign in
bridge/src/views/Landing.js
45 lines 1.2 kB history raw
1import React from 'react';
2import { H1, P } from '../components/old/Base';
4import { ROUTE_NAMES } from '../lib/routeNames';
5import { useHistory } from '../store/history';
7import View from 'components/View';
8import { ForwardButton } from 'components/Buttons';
10function Landing(props) {
11 const history = useHistory();
13 return (
14 <View>
15 <H1>Welcome</H1>
17 <P>
18 Bridge is a tool for managing and viewing assets on Azimuth, the Urbit
19 address space.
20 </P>
22 <ForwardButton onClick={() => history.push(ROUTE_NAMES.INVITE_TICKET)}>
23 Claim an invite
24 </ForwardButton>
26 <P>If you were sent an Azimuth invite code, start here.</P>
28 <ForwardButton onClick={() => history.push(ROUTE_NAMES.NETWORK)}>
29 Unlock a Wallet
30 </ForwardButton>
32 <P>
33 If you own Azimuth assets and want to manage them in some way, start
34 here. You'll need either your Urbit ticket or a keypair.
35 </P>
37 <ForwardButton onClick={() => history.push(ROUTE_NAMES.VIEW_POINT)}>
38 View a point
39 </ForwardButton>
40 <P>{'View an Azimuth point without signing into a wallet.'}</P>
41 </View>
42 );
45export default Landing;