1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
3
exports [` <Header /> component renders with DARK theme 1` ] = `
4
- .c4 {
4
+ .c5 {
5
5
background - color : #222222 ;
6
6
border : 1px solid #484848 ;
7
7
border - radius : 50 % ;
@@ -13,41 +13,41 @@ exports[`<Header /> component renders with DARK theme 1`] = `
13
13
width : 2.5rem ;
14
14
}
15
15
16
- .c4 :hover {
16
+ .c5 :hover {
17
17
background - color : #484848 ;
18
18
}
19
19
20
- .c4 :hover svg,
21
- .c4 :hover g {
20
+ .c5 :hover svg,
21
+ .c5 :hover g {
22
22
fill : #ffffff ;
23
23
}
24
24
25
- .c4 .active {
25
+ .c5 .active {
26
26
background - color : #e22a23 ;
27
27
border - color : #e22a23 ;
28
28
}
29
29
30
- .c4 .active svg,
31
- .c4 .active g {
30
+ .c5 .active svg,
31
+ .c5 .active g {
32
32
fill : #ffffff ;
33
33
}
34
34
35
- .c4 .light {
35
+ .c5 .light {
36
36
background - color : #ffffff ;
37
37
border - color : #c4c4c4 ;
38
38
}
39
39
40
- .c4 .light svg,
41
- .c4 .light g {
40
+ .c5 .light svg,
41
+ .c5 .light g {
42
42
fill : #707070 ;
43
43
}
44
44
45
- .c4 .light:hover svg,
46
- .c4 .light:hover g {
45
+ .c5 .light:hover svg,
46
+ .c5 .light:hover g {
47
47
fill : #707070 ;
48
48
}
49
49
50
- .c5 {
50
+ .c6 {
51
51
font - family : ' Karla' ,sans - serif ;
52
52
padding : 1.5rem ;
53
53
border - radius : 4px ;
@@ -84,14 +84,14 @@ exports[`<Header /> component renders with DARK theme 1`] = `
84
84
display : inline - flex ;
85
85
}
86
86
87
- .c3 {
87
+ .c4 {
88
88
display : - webkit - inline - box ;
89
89
display : - webkit - inline - flex ;
90
90
display : - ms - inline - flexbox ;
91
91
display : inline - flex ;
92
92
}
93
93
94
- .c2 {
94
+ .c3 {
95
95
border - bottom : 1px solid transparent ;
96
96
color : #888888 ;
97
97
display : - webkit - inline - box ;
@@ -105,11 +105,26 @@ exports[`<Header /> component renders with DARK theme 1`] = `
105
105
text - decoration : none ;
106
106
}
107
107
108
- .c2 :hover {
108
+ .c3 :hover {
109
109
border - bottom : 1px solid #f5f5f5 ;
110
110
color : #f5f5f5 ;
111
111
}
112
112
113
+ .c2 {
114
+ border - bottom : 1px solid transparent ;
115
+ color : #888888 ;
116
+ display : - webkit - inline - box ;
117
+ display : - webkit - inline - flex ;
118
+ display : - ms - inline - flexbox ;
119
+ display : inline - flex ;
120
+ font - size : 0.875rem ;
121
+ margin : 0.5rem 2rem 0 0 ;
122
+ padding - bottom : 1px ;
123
+ - webkit - text - decoration : none ;
124
+ text - decoration : none ;
125
+ color : #f5f5f5 ;
126
+ }
127
+
113
128
@media (min-width:769px) {
114
129
.c0 {
115
130
-webkit-box-pack: justify ;
@@ -120,32 +135,30 @@ exports[`<Header /> component renders with DARK theme 1`] = `
120
135
}
121
136
122
137
<div >
123
- <div
138
+ <header
124
139
className = " c0"
125
140
>
126
141
<div
127
142
className = " c1"
128
143
>
129
- <a
144
+ <span
130
145
className = " c2"
131
- href = " /"
132
- onClick = { [Function ]}
133
146
>
134
147
Game
135
- </a >
148
+ </span >
136
149
<a
137
- className = " c2 "
150
+ className = " c3 "
138
151
href = " /about"
139
152
onClick = { [Function ]}
140
153
>
141
154
About
142
155
</a >
143
156
</div >
144
157
<div
145
- className = " c3 "
158
+ className = " c4 "
146
159
>
147
160
<button
148
- className = " c4 "
161
+ className = " c5 "
149
162
onClick = { [Function ]}
150
163
>
151
164
<svg
@@ -172,7 +185,7 @@ exports[`<Header /> component renders with DARK theme 1`] = `
172
185
</svg >
173
186
</button >
174
187
<button
175
- className = " c4 "
188
+ className = " c5 "
176
189
onClick = { [Function ]}
177
190
>
178
191
<svg
@@ -194,16 +207,16 @@ exports[`<Header /> component renders with DARK theme 1`] = `
194
207
</button >
195
208
</div >
196
209
<h1
197
- className = " c5 "
210
+ className = " c6 "
198
211
>
199
212
JavaScript Design Patterns
200
213
</h1 >
201
- </div >
214
+ </header >
202
215
</div >
203
216
` ;
204
217
205
218
exports [` <Header /> component renders with LIGHT theme 1` ] = `
206
- .c4 {
219
+ .c5 {
207
220
background - color : #f4f4f4 ;
208
221
border : 1px solid #e8e8e8 ;
209
222
border - radius : 50 % ;
@@ -215,41 +228,41 @@ exports[`<Header /> component renders with LIGHT theme 1`] = `
215
228
width : 2.5rem ;
216
229
}
217
230
218
- .c4 :hover {
231
+ .c5 :hover {
219
232
background - color : #e8e8e8 ;
220
233
}
221
234
222
- .c4 :hover svg,
223
- .c4 :hover g {
235
+ .c5 :hover svg,
236
+ .c5 :hover g {
224
237
fill : #ffffff ;
225
238
}
226
239
227
- .c4 .active {
240
+ .c5 .active {
228
241
background - color : #e22a23 ;
229
242
border - color : #e22a23 ;
230
243
}
231
244
232
- .c4 .active svg,
233
- .c4 .active g {
245
+ .c5 .active svg,
246
+ .c5 .active g {
234
247
fill : #ffffff ;
235
248
}
236
249
237
- .c4 .light {
250
+ .c5 .light {
238
251
background - color : #ffffff ;
239
252
border - color : #aaaaaa ;
240
253
}
241
254
242
- .c4 .light svg,
243
- .c4 .light g {
255
+ .c5 .light svg,
256
+ .c5 .light g {
244
257
fill : #cccccc ;
245
258
}
246
259
247
- .c4 .light:hover svg,
248
- .c4 .light:hover g {
260
+ .c5 .light:hover svg,
261
+ .c5 .light:hover g {
249
262
fill : #cccccc ;
250
263
}
251
264
252
- .c5 {
265
+ .c6 {
253
266
font - family : ' Karla' ,sans - serif ;
254
267
padding : 1.5rem ;
255
268
border - radius : 4px ;
@@ -286,14 +299,14 @@ exports[`<Header /> component renders with LIGHT theme 1`] = `
286
299
display : inline - flex ;
287
300
}
288
301
289
- .c3 {
302
+ .c4 {
290
303
display : - webkit - inline - box ;
291
304
display : - webkit - inline - flex ;
292
305
display : - ms - inline - flexbox ;
293
306
display : inline - flex ;
294
307
}
295
308
296
- .c2 {
309
+ .c3 {
297
310
border - bottom : 1px solid transparent ;
298
311
color : #e22a23 ;
299
312
display : - webkit - inline - box ;
@@ -307,11 +320,26 @@ exports[`<Header /> component renders with LIGHT theme 1`] = `
307
320
text - decoration : none ;
308
321
}
309
322
310
- .c2 :hover {
323
+ .c3 :hover {
311
324
border - bottom : 1px solid #707070 ;
312
325
color : #707070 ;
313
326
}
314
327
328
+ .c2 {
329
+ border - bottom : 1px solid transparent ;
330
+ color : #e22a23 ;
331
+ display : - webkit - inline - box ;
332
+ display : - webkit - inline - flex ;
333
+ display : - ms - inline - flexbox ;
334
+ display : inline - flex ;
335
+ font - size : 0.875rem ;
336
+ margin : 0.5rem 2rem 0 0 ;
337
+ padding - bottom : 1px ;
338
+ - webkit - text - decoration : none ;
339
+ text - decoration : none ;
340
+ color : #707070 ;
341
+ }
342
+
315
343
@media (min-width:769px) {
316
344
.c0 {
317
345
-webkit-box-pack: justify ;
@@ -322,32 +350,30 @@ exports[`<Header /> component renders with LIGHT theme 1`] = `
322
350
}
323
351
324
352
<div >
325
- <div
353
+ <header
326
354
className = " c0"
327
355
>
328
356
<div
329
357
className = " c1"
330
358
>
331
- <a
359
+ <span
332
360
className = " c2"
333
- href = " /"
334
- onClick = { [Function ]}
335
361
>
336
362
Game
337
- </a >
363
+ </span >
338
364
<a
339
- className = " c2 "
365
+ className = " c3 "
340
366
href = " /about"
341
367
onClick = { [Function ]}
342
368
>
343
369
About
344
370
</a >
345
371
</div >
346
372
<div
347
- className = " c3 "
373
+ className = " c4 "
348
374
>
349
375
<button
350
- className = " c4 "
376
+ className = " c5 "
351
377
onClick = { [Function ]}
352
378
>
353
379
<svg
@@ -374,7 +400,7 @@ exports[`<Header /> component renders with LIGHT theme 1`] = `
374
400
</svg >
375
401
</button >
376
402
<button
377
- className = " c4 "
403
+ className = " c5 "
378
404
onClick = { [Function ]}
379
405
>
380
406
<svg
@@ -396,10 +422,10 @@ exports[`<Header /> component renders with LIGHT theme 1`] = `
396
422
</button >
397
423
</div >
398
424
<h1
399
- className = " c5 "
425
+ className = " c6 "
400
426
>
401
427
JavaScript Design Patterns
402
428
</h1 >
403
- </div >
429
+ </header >
404
430
</div >
405
431
` ;
0 commit comments