@@ -16,45 +16,53 @@ export default ({ jobs }) => {
16
16
< img src = { items . company . avatar } className = "w-full h-full rounded-full" />
17
17
</ div >
18
18
</ div >
19
- < div className = "flex-1 items-center justify-between lg :flex" >
20
- < div className = "lg:w-8/12 " >
19
+ < div className = "flex-1 items-center justify-between xl :flex" >
20
+ < div className = "" >
21
21
< div >
22
22
< span className = "text-xl font-semibold" > { items . company . companyName } </ span >
23
23
</ div >
24
24
< div >
25
- < p className = "text-gray-600 text-lg font-medium mt-1 break-words " >
25
+ < p className = "text-gray-600 font-medium mt-1" >
26
26
{ items . jobTitle }
27
27
</ p >
28
28
</ div >
29
- < div className = "items-center space-y-1 mt-1 text-gray-500 text-sm sm:text-base sm:flex sm :space-x-2" >
29
+ < div className = "items-center space-y-2 mt-2 text-gray-500 sm:flex sm:space-x-2 sm:space-y-0 md:block md:space-y-2 md:space-x-0 lg: flex lg :space-x-2 lg:space-y-0 " >
30
30
< span className = "flex items-center" >
31
- < svg xmlns = "http://www.w3.org/2000/svg" className = "h-4 w-4 mr-1" viewBox = "0 0 20 20" fill = "currentColor" >
31
+ < svg xmlns = "http://www.w3.org/2000/svg" className = "h-5 w-5 mr-1 text-gray-400 " viewBox = "0 0 20 20" fill = "currentColor" >
32
32
< path fill-rule = "evenodd" d = "M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z" clip-rule = "evenodd" />
33
33
</ svg >
34
34
{ items . location }
35
35
</ span >
36
- < span className = "text-4xl hidden sm:inline-block" > ∙</ span >
36
+ < span className = "text-4xl hidden sm:inline-block md:hidden lg:inline-block " > ∙</ span >
37
37
< span className = "flex items-center" >
38
- < svg xmlns = "http://www.w3.org/2000/svg" className = "h-4 w-4 mr-1" viewBox = "0 0 20 20" fill = "currentColor" >
38
+ < svg xmlns = "http://www.w3.org/2000/svg" className = "h-5 w-5 mr-1 text-gray-400 " viewBox = "0 0 20 20" fill = "currentColor" >
39
39
< path fill-rule = "evenodd" d = "M6 6V5a3 3 0 013-3h2a3 3 0 013 3v1h2a2 2 0 012 2v3.57A22.952 22.952 0 0110 13a22.95 22.95 0 01-8-1.43V8a2 2 0 012-2h2zm2-1a1 1 0 011-1h2a1 1 0 011 1v1H8V5zm1 5a1 1 0 011-1h.01a1 1 0 110 2H10a1 1 0 01-1-1z" clip-rule = "evenodd" />
40
40
< path d = "M2 13.692V16a2 2 0 002 2h12a2 2 0 002-2v-2.308A24.974 24.974 0 0110 15c-2.796 0-5.487-.46-8-1.308z" />
41
41
</ svg >
42
42
{ items . jobType }
43
43
</ span >
44
44
</ div >
45
45
</ div >
46
- < div className = "items-center text-gray-500 space-y-1 sm:space-y-0 sm:flex sm:space-x-2 lg:text-base lg:space-y-1 lg :block lg :space-x-0" >
46
+ < div className = "mt-2 space-y-2 items-center text-gray-500 sm:space-y-0 sm:flex sm:space-x-2 md:block md:space-x-0 md:space-y-2 lg:space-x-4 lg:flex lg: space-y-0 xl :block xl :space-x-0 xl:space-y-2 " >
47
47
{
48
48
items . salary ? (
49
- < span className = "font-semibold text-gray-900" > ${ items . salary } < span className = "text-sm font-normal" > / year</ span > </ span >
49
+ < div className = "flex items-center" >
50
+ < svg xmlns = "http://www.w3.org/2000/svg" className = "h-5 w-5 mr-1 text-gray-400" viewBox = "0 0 20 20" fill = "currentColor" >
51
+ < path d = "M8.433 7.418c.155-.103.346-.196.567-.267v1.698a2.305 2.305 0 01-.567-.267C8.07 8.34 8 8.114 8 8c0-.114.07-.34.433-.582zM11 12.849v-1.698c.22.071.412.164.567.267.364.243.433.468.433.582 0 .114-.07.34-.433.582a2.305 2.305 0 01-.567.267z" />
52
+ < path fillRule = "evenodd" d = "M10 18a8 8 0 100-16 8 8 0 000 16zm1-13a1 1 0 10-2 0v.092a4.535 4.535 0 00-1.676.662C6.602 6.234 6 7.009 6 8c0 .99.602 1.765 1.324 2.246.48.32 1.054.545 1.676.662v1.941c-.391-.127-.68-.317-.843-.504a1 1 0 10-1.51 1.31c.562.649 1.413 1.076 2.353 1.253V15a1 1 0 102 0v-.092a4.535 4.535 0 001.676-.662C13.398 13.766 14 12.991 14 12c0-.99-.602-1.765-1.324-2.246A4.535 4.535 0 0011 9.092V7.151c.391.127.68.317.843.504a1 1 0 101.511-1.31c-.563-.649-1.413-1.076-2.354-1.253V5z" clipRule = "evenodd" />
53
+ </ svg >
54
+ < span >
55
+ ${ items . salary } K USD
56
+ </ span >
57
+ </ div >
50
58
) : ''
51
59
}
52
- < span className = "flex items-center" >
53
- < svg xmlns = "http://www.w3.org/2000/svg" className = "h-4 w-4 mr-1" viewBox = "0 0 20 20" fill = "currentColor" >
60
+ < div className = "flex items-center" >
61
+ < svg xmlns = "http://www.w3.org/2000/svg" className = "h-5 w-5 mr-1 text-gray-400 " viewBox = "0 0 20 20" fill = "currentColor" >
54
62
< path fill-rule = "evenodd" d = "M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z" clip-rule = "evenodd" />
55
63
</ svg >
56
64
{ moment ( items . date ) . fromNow ( ) }
57
- </ span >
65
+ </ div >
58
66
</ div >
59
67
</ div >
60
68
</ a >
0 commit comments