mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-06 23:43:45 +02:00
ui: first pass on redesign (#228)
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user