File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
packages/client/src/patterns/molecules/banner Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ import React from 'react'
2+ import { string , node } from 'prop-types'
3+
4+ const HeroBanner = ( { className, children } ) => (
5+ < div className = "md-order-1 d-flex flex-lg-column flex-auto flex-wrap" >
6+ < div className = "flex-row width-full bg-blue py-3 py-lg-6" >
7+ < div className = "main-content mx-auto py-4 px-3 px-md-6 px-lg-3 text-white" >
8+ < div className = "" >
9+ { children }
10+ </ div >
11+ </ div >
12+ </ div >
13+ < div className = "flex-row main-content my-6 mx-auto px-3 px-md-6 px-lg-3" > </ div >
14+ </ div >
15+ )
16+
17+ HeroBanner . defaultProps = {
18+ className : '' ,
19+ children : null ,
20+ }
21+
22+ HeroBanner . propTypes = {
23+ className : string ,
24+ children : node ,
25+ }
26+
27+ export default HeroBanner
You can’t perform that action at this time.
0 commit comments