-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5841c08
commit 7554978
Showing
22 changed files
with
166 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export { EmptyMessage } from "./EmptyMessage"; | ||
export { VerifyMessage } from "./VerifyMessage"; | ||
export type { EmptyMessageProps } from "./EmptyMessage"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82 changes: 82 additions & 0 deletions
82
apps/web/src/components/Onboarding/VerificationFlow/ImportantNoticeModal.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
import { | ||
Box, | ||
Button, | ||
Center, | ||
Flex, | ||
Heading, | ||
Icon, | ||
ModalBody, | ||
ModalContent, | ||
ModalFooter, | ||
ModalHeader, | ||
Text, | ||
VStack, | ||
} from "@chakra-ui/react"; | ||
|
||
import { | ||
AlertIcon, | ||
EyeOffIcon, | ||
PencilIcon, | ||
ScanIcon, | ||
WindowCloseIcon, | ||
} from "../../../assets/icons"; | ||
import { useColor } from "../../../styles/useColor"; | ||
import { ModalCloseButton } from "../../CloseButton"; | ||
|
||
export const ImportantNoticeModal = () => { | ||
const color = useColor(); | ||
|
||
return ( | ||
<ModalContent> | ||
<ModalHeader> | ||
<Center flexDirection="column" gap="12px"> | ||
<Icon as={AlertIcon} boxSize="24px" marginBottom="4px" color={color("blue")} /> | ||
<Heading size="xl">Important Notice</Heading> | ||
<Text width="full" color={color("700")} fontWeight="400" textAlign="center" size="md"> | ||
Please read the following before you continue to see your secret Seed Phrase. | ||
</Text> | ||
</Center> | ||
<ModalCloseButton /> | ||
</ModalHeader> | ||
<ModalBody> | ||
<VStack align="stretch" spacing="12px"> | ||
<Flex | ||
alignItems="center" | ||
gap="16px" | ||
padding="12px 24px" | ||
color={color("white")} | ||
background={color("100")} | ||
borderRadius="6px" | ||
> | ||
<Icon as={PencilIcon} boxSize="24px" color={color("300")} /> | ||
<Text color={color("900")}>Write down your seed phrase and store it safely</Text> | ||
</Flex> | ||
|
||
<Box padding="12px" background={color("700")} borderRadius="6px"> | ||
<Flex alignItems="center"> | ||
<Icon as={EyeOffIcon} marginRight="8px" /> | ||
<Text>Ensure no one else can see it</Text> | ||
</Flex> | ||
</Box> | ||
<Box padding="12px" background={color("700")} borderRadius="6px"> | ||
<Flex alignItems="center"> | ||
<Icon as={WindowCloseIcon} marginRight="8px" /> | ||
<Text>Do not store it digitally</Text> | ||
</Flex> | ||
</Box> | ||
<Box padding="12px" background={color("700")} borderRadius="6px"> | ||
<Flex alignItems="center"> | ||
<Icon as={ScanIcon} marginRight="8px" /> | ||
<Text>Avoid taking screenshots</Text> | ||
</Flex> | ||
</Box> | ||
</VStack> | ||
</ModalBody> | ||
<ModalFooter> | ||
<Button width="full" variant="primary"> | ||
Next | ||
</Button> | ||
</ModalFooter> | ||
</ModalContent> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...nents/EmptyMessage/VerifyMessage.test.tsx → ...g/VerificationFlow/VerifyMessage.test.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 15 additions & 13 deletions
28
...components/EmptyMessage/VerifyMessage.tsx → ...arding/VerificationFlow/VerifyMessage.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export { CopySeedphraseModal } from "./CopySeedphraseModal"; | ||
export { VerificationInfoModal } from "./VerificationInfoModal"; | ||
export { VerifyMessage } from "./VerifyMessage"; | ||
export { useIsAccountVerified } from "./useIsAccountVerified"; | ||
export { ImportantNoticeModal } from "./ImportantNoticeModal"; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7554978
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.