File tree Expand file tree Collapse file tree 3 files changed +29
-5
lines changed Expand file tree Collapse file tree 3 files changed +29
-5
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,14 @@ const ListItem = styled.li`
62
62
63
63
const FooterLink = styled ( Link ) `
64
64
color: ${ ( props ) => props . theme . colors . text200 } ;
65
+ &:after {
66
+ color: ${ ( props ) => props . theme . colors . text200 } ;
67
+ }
65
68
&:hover {
66
69
color: ${ ( props ) => props . theme . colors . primary } ;
70
+ &:after {
71
+ color: ${ ( props ) => props . theme . colors . primary } ;
72
+ }
67
73
}
68
74
`
69
75
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import { languageMetadata } from "../utils/translations"
8
8
// TODO set globally to apply to markdown files
9
9
const ExternalLink = styled . a `
10
10
&:after {
11
+ color: ${ ( props ) => props . theme . colors . primary } ;
11
12
margin-left: 0.125em;
12
13
margin-right: 0.3em;
13
14
display: inline-block;
Original file line number Diff line number Diff line change @@ -246,13 +246,14 @@ const Table = styled.div`
246
246
`
247
247
248
248
const Item = styled ( Link ) `
249
+ display: flex;
250
+ justify-content: space-between;
249
251
color: ${ ( props ) => props . theme . colors . text } !important;
250
252
box-shadow: 0 1px 1px ${ ( props ) => props . theme . colors . tableItemBoxShadow } ;
251
253
margin-bottom: 1px;
252
254
padding: 1rem;
253
255
width: 100%;
254
256
color: #000;
255
- display: flex;
256
257
257
258
&:hover {
258
259
border-radius: 4px;
@@ -268,10 +269,25 @@ const ItemNumber = styled.div`
268
269
const ItemTitle = styled . div ``
269
270
const ItemDesc = styled . p `
270
271
margin-bottom: 0;
271
- margin-left: auto;
272
+ opacity: 0.6;
273
+ `
274
+
275
+ const Flag = styled ( Twemoji ) `
276
+ margin-right: 0.5rem;
277
+ `
278
+
279
+ const RightContainer = styled . div `
280
+ display: flex;
281
+ align-items: right;
282
+ align-content: flex-start;
283
+ width: 25%;
284
+ margin-right: 1rem;
285
+ flex-wrap: wrap;
272
286
`
273
287
const LeftContainer = styled . div `
274
288
display: flex;
289
+ width: 75%;
290
+ margin-right: 2rem;
275
291
`
276
292
// TODO create generalized CardList / TableCard
277
293
// TODO prop if ordered list or unordered
@@ -285,9 +301,10 @@ const MeetupList = () => {
285
301
< ItemNumber > { idx + 1 } </ ItemNumber >
286
302
< ItemTitle > { meetup . title } </ ItemTitle >
287
303
</ LeftContainer >
288
- < ItemDesc >
289
- < Twemoji svg text = { meetup . emoji } /> { meetup . location }
290
- </ ItemDesc >
304
+ < RightContainer >
305
+ < Flag svg text = { meetup . emoji } />
306
+ < ItemDesc > { meetup . location } </ ItemDesc >
307
+ </ RightContainer >
291
308
</ Item >
292
309
)
293
310
} ) }
You can’t perform that action at this time.
0 commit comments