99 fontFamily,
1010} = require ( './style-settings' ) ;
1111
12- exports . MainNavContainer = styled ( 'div' , { } ) ;
12+ exports . MainNavContainer = styled ( 'div' , ( ) => ( {
13+ '@media (max-width: 587px)' : {
14+ display : 'none' ,
15+ } ,
16+ } ) ) ;
17+
18+ exports . MobileNavContainer = styled ( 'div' , ( ) => ( {
19+ paddingBottom : '15px' ,
20+ '@media (min-width: 588px)' : {
21+ display : 'none' ,
22+ } ,
23+ } ) ) ;
1324
1425exports . SearchField = styled ( 'input' , ( { styleProps = { } } ) => ( {
1526 boxSizing : 'border-box' ,
@@ -55,10 +66,10 @@ exports.MainNavItem = styled('span', ({styleProps = {}}) => ({
5566 textDecoration : 'none' ,
5667 lineHeight : '1' ,
5768 padding : '17px 15px 19px 15px' ,
58- borderTopWidth : '4px' ,
59- borderTopStyle : 'solid' ,
69+ borderBottomWidth : '4px' ,
70+ borderBottomStyle : 'solid' ,
6071 color : styleProps . isActive ? whiteColor : white120Color ,
61- borderTopColor : styleProps . isActive ? primaryColor : 'transparent' ,
72+ borderBottomColor : styleProps . isActive ? primaryColor : 'transparent' ,
6273 ':hover' : {
6374 color : whiteColor ,
6475 } ,
@@ -69,6 +80,9 @@ exports.MainNavItem = styled('span', ({styleProps = {}}) => ({
6980 padding : '17px 4px 19px 4px' ,
7081 letterSpacing : '1px' ,
7182 } ,
83+ '@media (max-width: 587px)' : {
84+ width : '97vw'
85+ } ,
7286 ...styleProps . overrides ,
7387} ) ) ;
7488
@@ -94,6 +108,52 @@ exports.SideNavUl = styled('ul', ({styleProps = {}}) => ({
94108 ...styleProps . overrides ,
95109} ) ) ;
96110
111+ exports . StyledBurger = styled ( 'button' , ( { styleProps = { } } ) => ( {
112+ position : 'absolute' ,
113+ top : '10px' ,
114+ right : '15px' ,
115+ display : 'flex' ,
116+ flexDirection : 'column' ,
117+ justifyContent : 'space-around' ,
118+ width : '32px' ,
119+ height : '32px' ,
120+ background : 'transparent' ,
121+ border : 'none' ,
122+ cursor : 'pointer' ,
123+ padding : '0' ,
124+ zIndex : '99' ,
125+
126+ ':focus' : {
127+ outline : 'none'
128+ } ,
129+
130+ '@media (min-width: 588px)' : {
131+ display : 'none' ,
132+ } ,
133+ } ) ) ;
134+
135+ exports . StyledBurgerBar = styled ( 'div' , ( { styleProps = { } } ) => ( {
136+ width : '32px' ,
137+ height : '2px' ,
138+ backgroundColor : whiteColor ,
139+ transition : 'all 0.3s linear' ,
140+ position : 'relative' ,
141+ transformOrigin : '1px' ,
142+
143+ ':first-child' : {
144+ transform : styleProps . open ? 'rotate(45deg)' : 'rotate(0)' ,
145+ } ,
146+
147+ ':nth-child(2)' : {
148+ opacity : styleProps . open ? '0' : '1' ,
149+ transform : styleProps . open ? 'translateX(20px)' : 'translateX(0)' ,
150+ } ,
151+
152+ ':nth-child(3)' : {
153+ transform : styleProps . open ? 'rotate(-45deg)' : 'rotate(0)' ,
154+ } ,
155+ } ) ) ;
156+
97157exports . SideNavLi = styled ( 'li' , ( { styleProps = { } } ) => ( {
98158 margin : '0' ,
99159 ...styleProps . overrides ,
@@ -123,3 +183,40 @@ exports.SideNavItem = styled('span', ({styleProps = {}}) => ({
123183 } ,
124184 ...styleProps . overrides ,
125185} ) ) ;
186+
187+ exports . Header = styled ( 'div' , {
188+ position : 'fixed' ,
189+ top : 0 ,
190+ left : 0 ,
191+ right : 0 ,
192+ minHeight : '52px' ,
193+ background : '#041725' ,
194+ color : whiteColor ,
195+ zIndex : '999' ,
196+ } ) ;
197+
198+ exports . HeaderTitle = styled ( 'span' , {
199+ backgroundColor : 'transparent' ,
200+ display : 'inline-block' ,
201+ fontWeight : '100' ,
202+ fontSize : '20px' ,
203+ textTransform : 'uppercase' ,
204+ letterSpacing : '4px' ,
205+ textDecoration : 'none' ,
206+ color : whiteColor ,
207+ paddingTop : '16px' ,
208+ paddingBottom : '16px' ,
209+ paddingLeft : '15px' ,
210+ paddingRight : '15px' ,
211+ lineHeight : '1' ,
212+ ':hover' : {
213+ textDecoration : 'none' ,
214+ } ,
215+ } ) ;
216+
217+ exports . H1 = styled ( 'h1' , {
218+ marginTop : '0' ,
219+ marginBottom : '0' ,
220+ marginLeft : '0' ,
221+ marginRight : '0' ,
222+ } ) ;
0 commit comments