@@ -17,12 +17,8 @@ const AnnoucementBannerWrapper = styled.div`
17
17
border: none;
18
18
border-radius: 50%;
19
19
20
- @media(max-width: 472px) {
21
- right: 1rem;
22
- }
23
-
24
- @media(max-width: 320px) {
25
- right: .5rem;
20
+ @media(max-width: 505px) {
21
+ display: none;
26
22
}
27
23
}
28
24
@@ -48,58 +44,54 @@ const StyledAnnouncementBanner = styled(Link)`
48
44
font-size: 85%;
49
45
}
50
46
51
- .row {
52
- @media(max-width: 472px) {
53
- padding: 0 2.8rem 0 .5rem;
54
- }
55
- }
56
-
57
47
.text {
58
48
padding: 1rem 0;
59
49
font-weight: 600;
60
50
text-align: center;
61
- font-size: 90%;
62
-
63
- @media(max-width: 472px) {
64
- text-align: left;
65
- }
66
-
67
- @media(max-width: 410px) {
68
- text-align: center;
69
- }
51
+ font-size: 90%;
70
52
71
53
@media(max-width: 320px) {
72
54
padding: .8rem;
73
55
}
74
56
}
75
57
76
- .openings {
77
- background: ${ colors . white } ;
78
- color: ${ colors . grey } ;
79
- padding: .5rem 1.4rem;
80
- border-radius: 10rem;
81
- margin-left: 2rem;
58
+ @media(max-width: 505px) {
59
+ .help {
60
+ display: none;
61
+ }
82
62
83
- @media(max-width: 505px) {
84
- margin-left: 1rem ;
63
+ .openings {
64
+ margin-left: .3rem ;
85
65
}
66
+ }
86
67
87
- @media(max-width: 405px) {
88
- padding: .2rem .9rem;
68
+ @media(min-width: 506px) {
69
+ .openings {
70
+ display: inline flex;
71
+ align-items: center;
72
+ background: ${ colors . white } ;
73
+ color: ${ colors . grey } ;
74
+ padding: .5rem 1.4rem;
75
+ border-radius: 10rem;
76
+ margin-left: 2rem;
89
77
}
90
78
}
91
79
92
- i {
93
- margin-left: .3rem ;
80
+ .arrow {
81
+ margin-left: .8rem ;
94
82
95
- @media(max-width: 472px) {
96
- display: none;
97
- }
83
+ @media(max-width: 505px) {
84
+ height: .8rem;
85
+ margin-left: .2rem;
86
+ }
98
87
}
99
88
100
- .arrow {
101
- height: 8px;
102
- width: 15px;
89
+ .arrow-path {
90
+ stroke: #3D515E;
91
+
92
+ @media(max-width: 505px) {
93
+ stroke: #fff;
94
+ }
103
95
}
104
96
` ;
105
97
@@ -154,28 +146,13 @@ const AnnoucementBanner = () => {
154
146
< StyledAnnouncementBanner to = "/careers/#jobs" >
155
147
< div className = "row" >
156
148
< div className = "text" >
157
- Wanna help make Gitpod better? Join our team!
149
+ < span className = "help" > Wanna help make Gitpod better? </ span > Join our team!
158
150
< span className = "openings" >
159
151
< strong > { jobs . length } </ strong >
160
- Openings < i >
161
- < svg
162
- xmlns = "http://www.w3.org/2000/svg"
163
- width = "283"
164
- height = "118"
165
- fill = "none"
166
- viewBox = "0 0 283 118"
167
- className = "arrow"
168
- >
169
- < path
170
- stroke = "#000"
171
- strokeLinecap = "square"
172
- strokeMiterlimit = "10"
173
- strokeWidth = "18"
174
- d = "M224 9l50 50-50 50"
175
- > </ path >
176
- < path stroke = "#000" strokeWidth = "18" d = "M274.023 58L0.023 59.07" > </ path >
177
- </ svg >
178
- </ i >
152
+ Openings
153
+ < svg className = "arrow" width = "20" height = "11" viewBox = "0 0 20 11" fill = "none" xmlns = "http://www.w3.org/2000/svg" >
154
+ < path className = "arrow-path" d = "M15 1.5L19 5.5M19 5.5L15 9.5M19 5.5H1" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" />
155
+ </ svg >
179
156
</ span >
180
157
</ div >
181
158
</ div >
0 commit comments