Skip to content

Commit d72e4b8

Browse files
authored
Merge pull request #975 from cultuurnet/bugfix/III-6514
Reduce amount of console warnings
2 parents d746ed9 + 8dd0de7 commit d72e4b8

File tree

10 files changed

+201
-165
lines changed

10 files changed

+201
-165
lines changed

src/layouts/Sidebar.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -602,9 +602,7 @@ const Sidebar = () => {
602602
key="sidebar"
603603
forwardedAs="nav"
604604
height="100%"
605-
css={`
606-
overflow: scroll;
607-
`}
605+
overflow="scroll"
608606
width={{ default: '240px', s: '65px' }}
609607
backgroundColor={getValueForSidebar('backgroundColor')}
610608
color={getValueForSidebar('color')}

src/pages/404.page.js

Lines changed: 102 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -7,243 +7,243 @@ import { Title } from '@/ui/Title';
77

88
const BrokenGuitarIllustration = ({ width }) => (
99
<svg xmlns="http://www.w3.org/2000/svg" width={width} viewBox="0 0 506 571">
10-
<g transform="translate(131 1)" fill="none" fill-rule="evenodd">
10+
<g transform="translate(131 1)" fill="none" fillRule="evenodd">
1111
<path
1212
d="M132.7 277.795h63.7v247.9h-63.7v-247.9Zm-86.8 7h63.7v240.9H45.9v-240.9Z"
1313
stroke={colors.udbMainBlue}
14-
stroke-width="1.5"
14+
strokeWidth="1.5"
1515
fill="#FFF"
16-
fill-rule="nonzero"
17-
stroke-linecap="round"
18-
stroke-linejoin="round"
16+
fillRule="nonzero"
17+
strokeLinecap="round"
18+
strokeLinejoin="round"
1919
/>
2020
<path
2121
stroke={colors.udbMainBlue}
22-
stroke-width="1.5"
22+
strokeWidth="1.5"
2323
fill={colors.udbMainBlue}
24-
fill-rule="nonzero"
25-
stroke-linecap="round"
26-
stroke-linejoin="round"
24+
fillRule="nonzero"
25+
strokeLinecap="round"
26+
strokeLinejoin="round"
2727
d="m101 355.795-55.1 19.4v-40.6z"
2828
/>
2929
<path
3030
d="M45.9 498.795h63.7v26.9H45.9v-26.9Zm155.3-444.2 22.9-38.8c.9-1.6 2.8-2.4 4.6-2h0c2.2.5 3.6 2.6 3.3 4.8l-1.7 10.9 23.7-19.6c1.5-1.2 3.6-1.2 5 .1h0c1.7 1.5 1.7 4.2.1 5.7l-9.2 8.7 13.5-6.6c1.3-.6 2.9-.4 3.9.7h0c1.5 1.6 1.2 4.2-.7 5.2l-11.6 6.6 14-2.7c1.5-.3 2.9.9 2.9 2.4h0c0 1.1-.7 2.1-1.8 2.4l-14.5 5.1 11.2-.7c1.6 0 2.9 1.4 2.8 3h0c-.1 1.2-.9 2.2-2.1 2.6l-21.7 6c-2.4.7-4.3 2.5-5 4.9l-2.5 8-22.1 10-15-16.7h0Z"
3131
stroke={colors.udbMainBlue}
32-
stroke-width="1.5"
32+
strokeWidth="1.5"
3333
fill="#FFF"
34-
fill-rule="nonzero"
35-
stroke-linecap="round"
36-
stroke-linejoin="round"
34+
fillRule="nonzero"
35+
strokeLinecap="round"
36+
strokeLinejoin="round"
3737
/>
3838
<path
3939
d="m126.7 90.595.8-9.9 8.8-3.8c8.4-3.7 18.2-2.5 25.5 3l19.2 14.5 20.2-39.8 37.1 6.8-14 74.7c-2.7 14.7-18.3 23.1-32.1 17.3l-41-17.1 18.3 66.3 5.5 11.3H82l21.8 14.2-20.5 59-53.7-47.1c-13.7-12-18.9-31-13.3-48.4l21.4-66.2c3.2-10 10.7-18 20.4-22l25.2-10.3 43.4-2.5"
4040
stroke={colors.udbMainBlue}
41-
stroke-width="1.5"
41+
strokeWidth="1.5"
4242
fill={colors.udbMainBlue}
43-
fill-rule="nonzero"
44-
stroke-linecap="round"
45-
stroke-linejoin="round"
43+
fillRule="nonzero"
44+
strokeLinecap="round"
45+
strokeLinejoin="round"
4646
/>
4747
<path
4848
d="M233.1 227.095c0 28.4-18.9 52.3-44.8 60-7.6 2.2-13.4 8.3-15 16.1-7.2 34.5-37.8 60.3-74.5 60.3-40.9-.1-74.7-33.2-75.7-74-1-42.7 33.3-77.7 75.9-77.7h.2c6.1 0 11.5-3.6 13.9-9.2 9.6-22.3 31.7-37.8 57.5-37.8 34.5-.3 62.5 27.7 62.5 62.3h0Z"
4949
stroke={colors.udbMainBlue}
50-
stroke-width="1.5"
50+
strokeWidth="1.5"
5151
fill="#9EC7DB"
52-
fill-rule="nonzero"
53-
stroke-linecap="round"
54-
stroke-linejoin="round"
52+
fillRule="nonzero"
53+
strokeLinecap="round"
54+
strokeLinejoin="round"
5555
/>
5656
<circle
5757
stroke={colors.udbMainBlue}
58-
stroke-width="1.5"
58+
strokeWidth="1.5"
5959
fill={colors.udbMainBlue}
60-
fill-rule="nonzero"
61-
stroke-linecap="round"
62-
stroke-linejoin="round"
60+
fillRule="nonzero"
61+
strokeLinecap="round"
62+
strokeLinejoin="round"
6363
cx="150.3"
6464
cy="244.995"
6565
r="33.7"
6666
/>
6767
<path
6868
stroke={colors.udbMainBlue}
69-
stroke-width="1.5"
69+
strokeWidth="1.5"
7070
fill="#FFF"
71-
fill-rule="nonzero"
72-
stroke-linecap="round"
73-
stroke-linejoin="round"
71+
fillRule="nonzero"
72+
strokeLinecap="round"
73+
strokeLinejoin="round"
7474
d="m151.251 225.547 163.514-124.635 17.944 23.541-163.514 124.635z"
7575
/>
7676
<circle
7777
stroke={colors.udbMainBlue}
78-
stroke-width="1.5"
78+
strokeWidth="1.5"
7979
fill="#FFF"
80-
fill-rule="nonzero"
81-
stroke-linecap="round"
82-
stroke-linejoin="round"
80+
fillRule="nonzero"
81+
strokeLinecap="round"
82+
strokeLinejoin="round"
8383
cx="150.3"
8484
cy="244.995"
8585
r="22.2"
8686
/>
8787
<path
8888
d="m321 124.995-9.6-12.5c-3-3.9-2.7-9.1.5-12l33.7-30.3c1.6-1.4 3.8-1.9 6-1.4l17.5 4.2c3.4.8 5.8 4.1 5.7 7.5l-.6 17.9c-.1 2.3-1.2 4.3-3 5.4l-38.5 24c-3.7 2.3-8.8 1.1-11.7-2.8h0Z"
8989
stroke={colors.udbMainBlue}
90-
stroke-width="1.5"
90+
strokeWidth="1.5"
9191
fill={colors.udbMainBlue}
92-
fill-rule="nonzero"
93-
stroke-linecap="round"
94-
stroke-linejoin="round"
92+
fillRule="nonzero"
93+
strokeLinecap="round"
94+
strokeLinejoin="round"
9595
/>
9696
<path
9797
d="m69.5 294.495 207.9-158.5c10.1-7.7 13.7-21.5 8.2-32.9-2.3-4.6-5.8-8.3-11.3-8.8-17-1.8-20.5 14.2-10.6 15.2s15.9-23.4-9.2-27.3m-183 216.7 241.7-184.1m-239 188.2 241.9-184.4m-238.8 188 188.2-143.4c15.2-11.6 35.1-15.6 53.4-10.1 5.2 1.6 11.4 4 13.9 9.2 2.2 4.5.5 10.5-3.6 13.2-1.8 1.2-4.1 1.7-6 .9-2.5-1.2-3.4-4.8-1.9-7.2 2.8-4.4 8.4-2.4 11.3.6 3 3.1 5.2 7.6 5.9 11.8"
9898
stroke={colors.udbMainBlue}
99-
stroke-width="1.5"
100-
stroke-linecap="round"
101-
stroke-linejoin="round"
99+
strokeWidth="1.5"
100+
strokeLinecap="round"
101+
strokeLinejoin="round"
102102
/>
103103
<path
104104
d="m81.1 309.795 153.4-116.9c15.4-11.7 34.6-17.6 53.8-15.6 12 1.2 24.7 4.9 28.1 16 3.2 10.6-4.3 21.3-15.7 20.5-1.4-.1-2.9-.4-4.1-1.2-1.8-1.3-2.7-3.6-2.5-5.8.4-3.8 3.9-7 7.9-5.8 9.5 2.8 17.6 17.5 10.4 25.9"
105105
stroke={colors.udbMainBlue}
106-
stroke-width="1.5"
107-
stroke-linecap="round"
108-
stroke-linejoin="round"
106+
strokeWidth="1.5"
107+
strokeLinecap="round"
108+
strokeLinejoin="round"
109109
/>
110110
<path
111111
d="m350.1 76.295 5.1 1.3c2.7.7 3.4 4.2 1.2 5.9l-34.7 25.5c-1.5 1.1-3.5.8-4.6-.7h0c-1-1.4-.8-3.3.4-4.4l29.6-26.7c.8-.9 1.9-1.2 3-.9h0Zm16.2 20.4.3-5.2c.2-2.8-3-4.5-5.3-2.9l-34.7 25.5c-1.5 1.1-1.8 3.1-.7 4.6h0c1 1.4 2.9 1.8 4.4.9l34.4-20.2c.9-.6 1.5-1.6 1.6-2.7h0Z"
112112
stroke={colors.udbMainBlue}
113-
stroke-width="1.5"
113+
strokeWidth="1.5"
114114
fill="#9EC7DB"
115-
fill-rule="nonzero"
116-
stroke-linecap="round"
117-
stroke-linejoin="round"
115+
fillRule="nonzero"
116+
strokeLinecap="round"
117+
strokeLinejoin="round"
118118
/>
119119
<path
120120
d="M89.6 320.795h0c2.3-1.8 2.8-5.1 1-7.4l-22.1-29c-1.8-2.3-5.1-2.8-7.4-1h0c-2.3 1.8-2.8 5.1-1 7.4l22.1 29c1.8 2.3 5.1 2.8 7.4 1h0Zm-6-48.1 57.7 20.5c1.9.7 4-.3 4.7-2.3h0c.6-1.7-.2-3.6-1.9-4.4l-1.7-.8 9.2 1c1.7.2 3.4-.9 3.9-2.6h0c.5-1.8-.4-3.7-2.2-4.4l-2.8-1h4.8c1.4 0 2.7-.9 3.2-2.3h0c.5-1.5-.2-3.2-1.6-4l-3.3-1.7 2.6-.4c1.3-.2 2.4-1.2 2.7-2.6h0c.3-1.4-.3-2.8-1.5-3.6l-54.4-33.5-19.4 42.1h0Z"
121121
stroke={colors.udbMainBlue}
122-
stroke-width="1.5"
122+
strokeWidth="1.5"
123123
fill="#FFF"
124-
fill-rule="nonzero"
125-
stroke-linecap="round"
126-
stroke-linejoin="round"
124+
fillRule="nonzero"
125+
strokeLinecap="round"
126+
strokeLinejoin="round"
127127
/>
128128
<path
129129
d="M16.3 191.595c-5.6 17.3-.4 36.3 13.3 48.4l53.7 47.1 20.5-58.8-21.8-14.3-15.9-11.3-10.4 4.2"
130130
stroke={colors.udbMainBlue}
131-
stroke-width="1.5"
131+
strokeWidth="1.5"
132132
fill={colors.udbMainBlue}
133-
fill-rule="nonzero"
134-
stroke-linecap="round"
135-
stroke-linejoin="round"
133+
fillRule="nonzero"
134+
strokeLinecap="round"
135+
strokeLinejoin="round"
136136
/>
137137
<path
138138
d="m153.3 270.695-18.3-6.7m15.3 14.7-18-4.9m10.1 11.9-13-4.9m-39.6-143-23.7 64.8"
139139
stroke={colors.udbMainBlue}
140-
stroke-width="1.5"
141-
stroke-linecap="round"
142-
stroke-linejoin="round"
140+
strokeWidth="1.5"
141+
strokeLinecap="round"
142+
strokeLinejoin="round"
143143
/>
144144
<path
145145
stroke={colors.udbMainBlue}
146-
stroke-width="1.5"
146+
strokeWidth="1.5"
147147
fill="#FFF"
148-
fill-rule="nonzero"
149-
stroke-linecap="round"
150-
stroke-linejoin="round"
148+
fillRule="nonzero"
149+
strokeLinecap="round"
150+
strokeLinejoin="round"
151151
d="m116.7 341.695-5.3.1-1.5 5.1-2.7-4.5-5.1 1.2 2.6-4.6-3.7-3.8 5.3-.1 1.5-5 2.7 4.5 5.1-1.3-2.5 4.6zM81.1 338.295l4.6-3.2c3.4-1.7 6.8 2.3 4.7 5.4l-9.2 9.6h0l-9.4-9.6c-2.1-3.1 1.3-7 4.7-5.4l4.6 3.2h0Z"
152152
/>
153153
<circle
154154
stroke={colors.udbMainBlue}
155-
stroke-width="1.5"
155+
strokeWidth="1.5"
156156
fill="#FFF"
157-
fill-rule="nonzero"
158-
stroke-linecap="round"
159-
stroke-linejoin="round"
157+
fillRule="nonzero"
158+
strokeLinecap="round"
159+
strokeLinejoin="round"
160160
cx="61.9"
161161
cy="323.995"
162162
r="4.7"
163163
/>
164164
<path
165165
d="m151.2 136.295-3.3-14.4m33.1-27.5 8.4 6.6"
166166
stroke={colors.udbMainBlue}
167-
stroke-width="1.5"
168-
stroke-linecap="round"
169-
stroke-linejoin="round"
167+
strokeWidth="1.5"
168+
strokeLinecap="round"
169+
strokeLinejoin="round"
170170
/>
171171
<path
172172
stroke={colors.udbMainBlue}
173-
stroke-width="1.5"
173+
strokeWidth="1.5"
174174
fill={colors.udbMainBlue}
175-
fill-rule="nonzero"
176-
stroke-linecap="round"
177-
stroke-linejoin="round"
175+
fillRule="nonzero"
176+
strokeLinecap="round"
177+
strokeLinejoin="round"
178178
d="M109.6 568.495v-42.7H45.9L0 568.495z"
179179
/>
180180
<path
181181
stroke={colors.udbMainBlue}
182-
stroke-width="1.5"
182+
strokeWidth="1.5"
183183
fill="#FFF"
184-
fill-rule="nonzero"
185-
stroke-linecap="round"
186-
stroke-linejoin="round"
184+
fillRule="nonzero"
185+
strokeLinecap="round"
186+
strokeLinejoin="round"
187187
d="M132.7 498.795h63.7v26.9h-63.7z"
188188
/>
189189
<path
190190
stroke={colors.udbMainBlue}
191-
stroke-width="1.5"
191+
strokeWidth="1.5"
192192
fill={colors.udbMainBlue}
193-
fill-rule="nonzero"
194-
stroke-linecap="round"
195-
stroke-linejoin="round"
193+
fillRule="nonzero"
194+
strokeLinecap="round"
195+
strokeLinejoin="round"
196196
d="M132.7 568.495v-42.7h63.7l45.8 42.7z"
197197
/>
198198
<path
199199
d="M159.4 24.995c0 3.1-2 5.9-5.1 6.9l-9.9 2.9v1c.3 30.7-17.7 28.8-17.7 28.8v26c-18 21.7-43.4 2.5-43.4 2.5l12.7-52.4-11.6-2.8c-1.9-.5-3.5-1.5-4.6-3-1.1-1.4-1.8-3.2-1.8-5.2 0-5.2 4.6-9.1 9.7-8.3l5.8.9.4.1v-.3c0-6.4 1.6-11 3.9-14.3.4-.6.9-1.2 1.4-1.7 2.6-2.8 5.8-4.3 8.8-5.2 6.6-1.9 13.7-.7 19.7 2.9 4.9 3 10.7 8.1 14 16.7l8.5-2.5c3.8-1.1 7.8 1.1 8.9 4.9.2.8.3 1.5.3 2.1h0Z"
200200
stroke={colors.udbMainBlue}
201-
stroke-width="1.5"
201+
strokeWidth="1.5"
202202
fill="#FFF"
203-
fill-rule="nonzero"
204-
stroke-linecap="round"
205-
stroke-linejoin="round"
203+
fillRule="nonzero"
204+
strokeLinecap="round"
205+
strokeLinejoin="round"
206206
/>
207207
<path
208208
d="M106.8 18.095c0 .6-.1 1.1-.2 1.7-1 3.7-5.1 5.8-8.6 4.3l-4.3-1.7.4.1v-.3c0-6.4 1.6-11 3.9-14.3l6.5 5.2c1.4 1.2 2.3 3.1 2.3 5h0Z"
209209
stroke={colors.udbMainBlue}
210-
stroke-width="1.5"
210+
strokeWidth="1.5"
211211
fill="#9EC7DB"
212-
fill-rule="nonzero"
213-
stroke-linecap="round"
214-
stroke-linejoin="round"
212+
fillRule="nonzero"
213+
strokeLinecap="round"
214+
strokeLinejoin="round"
215215
/>
216216
<path
217217
d="m85.5 28.995 11 2.6m48-4.9 8.7-2.2m-42.5 29.1s5.9 10 16.1 11m1.4-11.4v2.7m8.7-7.7v2.7m-18.9-3.1v2.7"
218218
stroke={colors.udbMainBlue}
219-
stroke-width="1.5"
220-
stroke-linecap="round"
221-
stroke-linejoin="round"
219+
strokeWidth="1.5"
220+
strokeLinecap="round"
221+
strokeLinejoin="round"
222222
/>
223223
<circle
224224
fill={colors.udbMainBlue}
225-
fill-rule="nonzero"
225+
fillRule="nonzero"
226226
cx="120.5"
227227
cy="27.195"
228228
r="1.2"
229229
/>
230230
<circle
231231
fill={colors.udbMainBlue}
232-
fill-rule="nonzero"
232+
fillRule="nonzero"
233233
cx="122.9"
234234
cy="38.695"
235235
r="1.9"
236236
/>
237237
<circle
238238
fill={colors.udbMainBlue}
239-
fill-rule="nonzero"
239+
fillRule="nonzero"
240240
cx="134.2"
241241
cy="25.895"
242242
r="1.2"
243243
/>
244244
<ellipse
245245
fill={colors.udbMainBlue}
246-
fill-rule="nonzero"
246+
fillRule="nonzero"
247247
transform="rotate(-35.931 116.164 24.31)"
248248
cx="116.164"
249249
cy="24.31"
@@ -252,24 +252,24 @@ const BrokenGuitarIllustration = ({ width }) => (
252252
/>
253253
<ellipse
254254
fill={colors.udbMainBlue}
255-
fill-rule="nonzero"
255+
fillRule="nonzero"
256256
transform="rotate(-85.175 134.16 21.376)"
257257
cx="134.16"
258258
cy="21.376"
259259
rx="2"
260260
ry="4"
261261
/>
262-
<circle fill="#FFF" fill-rule="nonzero" cx="111.6" cy="34.995" r="3.4" />
262+
<circle fill="#FFF" fillRule="nonzero" cx="111.6" cy="34.995" r="3.4" />
263263
<path
264264
fill={colors.udbMainBlue}
265-
fill-rule="nonzero"
265+
fillRule="nonzero"
266266
d="m117.4 60.795 9.1 16.6-.2-12.1z"
267267
/>
268268
<path
269269
stroke={colors.udbMainBlue}
270-
stroke-width="1.5"
271-
stroke-linecap="round"
272-
stroke-linejoin="round"
270+
strokeWidth="1.5"
271+
strokeLinecap="round"
272+
strokeLinejoin="round"
273273
d="m125.6 22.595 3.9 10.3-2 1.5"
274274
/>
275275
</g>

src/pages/Footer.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ type FooterLinkProps = {
7171
const FooterLink = ({ footerVariant, ...props }: FooterLinkProps) => (
7272
<Link
7373
{...props}
74+
as="span"
7475
css={`
7576
text-decoration: underline;
7677
color: ${footerVariant === FooterVariants.LOGIN

0 commit comments

Comments
 (0)