1import React, { useCallback } from 'react';
2import cn from 'classnames';
3import { Grid, H3, B, Text, CheckboxInput } from 'indigo-react';
5import { useCheckboxInput } from 'lib/useInputs';
6import { useHistory } from 'store/history';
7import { setDisclaimerCookie } from 'lib/disclaimerCookie';
9import View from 'components/View';
10import { ForwardButton } from 'components/Buttons';
11import WarningBox from 'components/WarningBox';
13const TEXT_STYLE = 'f5';
15export default function ActivateDisclaimer() {
16 const { popAndPush, names } = useHistory();
17 const [understoodInput, { data: isUnderstood }] = useCheckboxInput({
19 label: 'I acknowledge and understand these rights',
22 const goToPassport = useCallback(() => {
23 setDisclaimerCookie();
24 popAndPush(names.LANDING);
25 }, [popAndPush, names]);
29 <Grid gap={2} className="mt8 mb10">
30 <Grid.Item as={H3} full>
34 <Text className={cn(TEXT_STYLE, 'block mb4')}>
35 Welcome to Bridge. Please read this information. Your assets could
36 be stolen if you do not pay attention to these warnings.
39 <Text className={cn(TEXT_STYLE, 'block mb4')}>
40 <B>You own and control your assets. We do not.</B> If you send your
41 assets to another address, we can’t get them back for you.
44 <B className={TEXT_STYLE}>Please understand that nobody can:</B>
45 <Text className={cn(TEXT_STYLE, 'block mb4')}>
46 1. Access your assets for you <br />
47 2. Recover, reset, or modify ANY of your information <br />
48 3. Reverse, cancel, or refund transactions <br />
49 4. Hold, back-up, or access your keys
52 <B className={TEXT_STYLE}>
53 You’re responsible for keeping your information safe. This includes:
55 <Text className={cn(TEXT_STYLE, 'block mb4')}>
56 1. Private Keys/Mnemonic Phrases and passwords <br />
58 3. Hardware wallet PINs; <br />
59 4. Downloading this software from a reliable site, and ensuring it
60 has not been tampered with. [add something about using the checksum
64 <B className={TEXT_STYLE}>To be clear</B>
65 <Text className={cn(TEXT_STYLE, 'block')}>
66 This software is provided “as is” without warranties of any kind and
67 our liability to you in connection with the same is limited;
69 <Text className={cn(TEXT_STYLE, 'block')}>
70 We have no liability for any security problems or incidents that you
71 may experience, including any loss or theft of your keys or any
72 problems that may arise in connection with your wallet.
75 <Grid.Item full as={WarningBox}>
76 Warning: Nobody but you can restore or reset your Master Ticket
78 <Grid.Item as={CheckboxInput} {...understoodInput} full />
81 disabled={!isUnderstood}
82 onClick={goToPassport}
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