diff --git a/src/assets/icons/Reload.tsx b/src/assets/icons/Reload.tsx new file mode 100644 index 0000000000..b04c4b7f75 --- /dev/null +++ b/src/assets/icons/Reload.tsx @@ -0,0 +1,22 @@ +import { Icon, IconProps } from "@chakra-ui/react"; + +import colors from "../../style/colors"; + +export const ReloadIcon: React.FC = props => ( + + + +); diff --git a/src/assets/icons/index.tsx b/src/assets/icons/index.tsx index 4437949b44..f360658d96 100644 --- a/src/assets/icons/index.tsx +++ b/src/assets/icons/index.tsx @@ -45,6 +45,7 @@ export * from "./OutgoingArrow"; export * from "./Pen"; export * from "./Plus"; export * from "./RefreshClock"; +export * from "./Reload"; export * from "./Rotate"; export * from "./Slash"; export * from "./Sliders"; diff --git a/src/components/ErrorPage.tsx b/src/components/ErrorPage.tsx index 652e20d1a3..be405527e7 100644 --- a/src/components/ErrorPage.tsx +++ b/src/components/ErrorPage.tsx @@ -1,9 +1,13 @@ -import { Box, Button, Center, Flex, Heading, Link } from "@chakra-ui/react"; +import { Box, Button, Center, Link, VStack } from "@chakra-ui/react"; + +import { ModalContentWrapper } from "./Onboarding/ModalContentWrapper"; +import { NoticeIcon, ReloadIcon } from "../assets/icons"; +import BackgroundImage from "../assets/onboarding/background_image.png"; +import colors from "../style/colors"; const feedbackEmailBodyTemplate = "What is it about? (if a bug report please consider including your account address) %0A PLEASE FILL %0A%0A What is the feedback? %0A PLEASE FILL"; -// TODO: prepare for Beta release properly export const ErrorPage: React.FC = () => { const onRefresh = () => { window.location.reload(); @@ -27,33 +31,57 @@ export const ErrorPage: React.FC = () => { }; return ( - -
- - - Ooops, something went wrong! - - - - - - + + + + + + - -
-
+ Refresh + + + + + ); };