refact: remove unused components

This commit is contained in:
Jean-Philippe Sirois
2020-05-12 00:38:51 -04:00
parent f463d8c58a
commit ad3f172115
7 changed files with 0 additions and 86 deletions
-8
View File
@@ -1,8 +0,0 @@
import React from "react"
import * as SC from "./styles"
export const ContentPage: React.FC = ({ children, ...restProps }) => {
return (
<SC.ContentPageWrapper {...restProps}>{children}</SC.ContentPageWrapper>
)
}
-11
View File
@@ -1,11 +0,0 @@
import styled from "styled-components"
export const ContentPageWrapper = styled.div`
width: calc(100% - 305px);
margin-right: 305px;
@media screen and (max-width: 1200px) {
width: 100%;
margin: 0;
}
`
@@ -1,18 +0,0 @@
import React, { FC } from "react"
import * as SC from "./styles"
export interface IResourcesSidebarSectionProps {
readonly title: string
}
export const ResourcesSidebarSection: FC<IResourcesSidebarSectionProps> = ({
title,
children,
}) => {
return (
<div>
<SC.SidebarTitle>{title}</SC.SidebarTitle>
{children}
</div>
)
}
@@ -1,5 +0,0 @@
import styled from "styled-components"
export const SidebarTitle = styled.h3`
text-transform: uppercase;
`
-4
View File
@@ -5,10 +5,6 @@ export const WavesTop: FC = props => {
return <SC.StyledWavesTop {...props} />
}
export const WavesTopTwo: FC = props => {
return <SC.StyledWavesTopTwo {...props} />
}
export const WavesBottom: FC = props => {
return <SC.StyledWavesBottom {...props} />
}
-7
View File
@@ -1,7 +1,6 @@
import styled, { css } from "styled-components"
import WavesBottom from "../../images/waves-bot.svg"
import WavesTop from "../../images/waves-top.svg"
import WavesTopTwo from "../../images/waves-top2.svg"
const waves = css`
display: block;
@@ -18,12 +17,6 @@ export const StyledWavesTop = styled(WavesTop)`
height: 87vh;
`
export const StyledWavesTopTwo = styled(WavesTopTwo)`
${waves};
top: 0;
height: 87vh;
`
export const StyledWavesBottom = styled(WavesBottom)`
${waves};
bottom: 0;