ui: first pass on redesign (#228)

This commit is contained in:
Jean-Philippe Sirois
2020-05-11 02:00:57 -04:00
committed by GitHub
parent 12d1346d4b
commit ab8e8edd5a
40 changed files with 779 additions and 362 deletions
+33
View File
@@ -0,0 +1,33 @@
import React from "react"
import * as SC from "./styles"
import { Container } from "../Container"
interface IHeaderBareboneProps {
above?: React.ReactNode
title: string
content?: React.ReactNode
className?: string
}
export const HeaderBarebone: React.FC<IHeaderBareboneProps> = props => {
return (
<SC.HeaderWrapper className={props.className}>
<SC.BackgroundWrapper>
<SC.StyledWavesBottom />
<SC.StyledWavesTop />
<SC.StyledCircles />
</SC.BackgroundWrapper>
<Container>
<SC.Box>
{props.above}
<SC.Title>{props.title}</SC.Title>
{props.content}
</SC.Box>
</Container>
</SC.HeaderWrapper>
)
}