Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

remove Container component

AykutSarac5c4500f01a9b
diff --git a/src/components/Container/index.tsx b/src/components/Container/index.tsx
deleted file mode 100644
index 8a086da7..00000000
--- a/src/components/Container/index.tsx
+++ /dev/null
@@ -1,32 +0,0 @@
-import React from "react";
-import styled from "styled-components";
-
-interface ContainerProps {
- reverse?: boolean;
-}
-
-const StyledContainer = styled.div<{ reverse: boolean }>`
- display: flex;
- justify-content: space-between;
- gap: 50px;
- align-items: center;
- width: 80%;
- margin: 0 auto 160px;
- min-height: calc(100vh - 250px);
- flex-direction: ${({ reverse }) => reverse && "row-reverse"};
- line-height: 1.2;
-
- @media only screen and (max-width: 768px) {
- width: 100%;
- flex-direction: column;
- margin-bottom: 50px;
- justify-content: center;
- }
-`;
-
-export const Container: React.FC<React.PropsWithChildren<ContainerProps>> = ({
- children,
- reverse = false,
-}) => {
- return <StyledContainer reverse={reverse}>{children}</StyledContainer>;
-};