From 78703ab370ba829faad2269b76725d1b6001226b Mon Sep 17 00:00:00 2001
From: Ezekiel Aquino <ezekiel@bakkenbaeck.no>
Date: Mon, 3 Dec 2018 10:54:48 +0100
Subject: Some comments and cleanup

---
 packages/website/ts/@next/components/container.tsx | 30 ----------------------
 1 file changed, 30 deletions(-)
 delete mode 100644 packages/website/ts/@next/components/container.tsx

(limited to 'packages/website/ts/@next/components/container.tsx')

diff --git a/packages/website/ts/@next/components/container.tsx b/packages/website/ts/@next/components/container.tsx
deleted file mode 100644
index 58aaa8be9..000000000
--- a/packages/website/ts/@next/components/container.tsx
+++ /dev/null
@@ -1,30 +0,0 @@
-import * as React from 'react';
-import styled from 'styled-components';
-
-interface ContainerProps {
-  bgColor?: string;
-  removePadding?: boolean;
-}
-
-
-// are we still using this component? (i think not, so we should delete, but have notes)
-// Also, i dont understand why create a styled comp and then make a stateless component that returns the same thing?
-// should be enough to just export a styled component as it is understood that it takes props and a child
-const StyledContainer = styled.div<ContainerProps>`
-    background-color: ${props => props.bgColor || 'transparent'};
-    max-width: 111.111111111rem; // 2000px
-    margin: 0 auto;
-    padding: 0 1.666666667rem; // 30px
-
-    ${props => props.removePadding && `padding: 0;`}
-`;
-
-export const Container: React.StatelessComponent<ContainerProps> = props => {
-  const { children } = props;
-
-  return (
-    <StyledContainer {...props}>
-      {children}
-    </StyledContainer>
-  );
-};
-- 
cgit v1.2.3

