on d760cbf help sign in
bridge/src/views/Landing.js
46 lines 1.1 kB history raw
1import React from 'react';
2import { H1, P } from 'indigo-react';
4import { ROUTE_NAMES } from '../lib/routeNames';
5import { useHistory } from '../store/history';
7import View from 'components/View';
8import { ForwardButton } from 'components/Buttons';
10function Landing() {
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
23 className="mt3"
24 detail="If you were sent an Azimuth invite code."
25 onClick={() => history.push(ROUTE_NAMES.ACTIVATE)}>
26 Activate a Point
27 </ForwardButton>
29 <ForwardButton
30 className="mt3"
31 detail="Login to an activated point."
32 onClick={() => history.push(ROUTE_NAMES.LOGIN)}>
33 Login
34 </ForwardButton>
36 <ForwardButton
37 className="mt3"
38 detail="View an Azimuth point without signing into a wallet."
39 onClick={() => history.push(ROUTE_NAMES.VIEW_POINT)}>
40 View a Point
41 </ForwardButton>
42 </View>
43 );
46export default Landing;