Skip to content

Commit a1a6d1a

Browse files
committed
Add banner molecules
1 parent 7c1d49f commit a1a6d1a

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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

0 commit comments

Comments
 (0)