123456789101112131415161718192021222324252627282930313233343536373839404142 |
- import React from "react";
- import styled from "styled-components";
- const StyledErrorView = styled.div`
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- width: 100%;
- height: 100%;
- img {
- filter: drop-shadow(2px 4px 6px black);
- }
- `;
- const StyledTitle = styled.h2`
- color: ${({ theme }) => theme.TEXT_DANGER};
- `;
- const StyledInfo = styled.p`
- width: 60%;
- text-align: center;
- color: ${({ theme }) => theme.TEXT_NORMAL};
- `;
- export const ErrorView = () => (
- <StyledErrorView>
- <img
- src="assets/undraw_qa_engineers_dg-5-p.svg"
- width="200"
- height="200"
- alt="oops"
- />
- <StyledTitle>JSON Crack unable to handle this file!</StyledTitle>
- <StyledInfo>
- We apologize for the problem you encountered, we are doing our best as Open
- Source community to improve our service. JSON Crack is currently unable to
- handle such a huge file.
- </StyledInfo>
- </StyledErrorView>
- );
|