File tree Expand file tree Collapse file tree 8 files changed +15
-5
lines changed Expand file tree Collapse file tree 8 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,8 @@ const ContentHero = (props: ContentHeroProps) => {
26
26
blurDataURL = { blurDataURL }
27
27
width = { 760 }
28
28
height = { 451 }
29
- sizes = "(max-width: 992px) 100vw, 50vw"
29
+ // TODO: adjust value when the old theme breakpoints are removed (src/theme.ts)
30
+ sizes = "(max-width: 992px) 100vw, 760px"
30
31
boxSize = "full"
31
32
style = { { objectFit : "contain" } }
32
33
flex = { { base : "1 1 100%" , md : "none" } }
Original file line number Diff line number Diff line change @@ -26,7 +26,8 @@ const HubHero = ({
26
26
src = { heroImg }
27
27
alt = ""
28
28
priority
29
- sizes = "100vw"
29
+ // TODO: adjust value when the old theme breakpoints are removed (src/theme.ts)
30
+ sizes = "(max-width: 1504px) 100vw, 1504px"
30
31
style = { { width : "100vw" , objectFit : "cover" } }
31
32
h = { {
32
33
base : "192px" ,
Original file line number Diff line number Diff line change @@ -156,7 +156,8 @@ const PageHero = ({
156
156
>
157
157
< Image
158
158
src = { image }
159
- sizes = "(max-width: 992px) 100vw, 50vw"
159
+ // TODO: adjust value when the old theme breakpoints are removed (src/theme.ts)
160
+ sizes = "(max-width: 992px) 100vw, 624px"
160
161
style = { {
161
162
width : "100%" ,
162
163
height : "auto" ,
Original file line number Diff line number Diff line change @@ -185,6 +185,8 @@ export const RoadmapLayout = ({
185
185
style = { { objectFit : "contain" } }
186
186
width = { 1504 }
187
187
height = { 336 }
188
+ // TODO: adjust value when the old theme breakpoints are removed (src/theme.ts)
189
+ sizes = "(max-width: 992px) 100vw, 720px"
188
190
priority
189
191
/>
190
192
</ Center >
Original file line number Diff line number Diff line change @@ -216,6 +216,7 @@ export const UseCasesLayout = ({
216
216
width = { 1200 }
217
217
height = { 610 }
218
218
style = { { objectFit : "cover" } }
219
+ // TODO: adjust value when the old theme breakpoints are removed (src/theme.ts)
219
220
sizes = "(max-width: 992px) 100vw, 750px"
220
221
priority
221
222
alignSelf = { {
Original file line number Diff line number Diff line change @@ -396,7 +396,8 @@ const EthPage = () => {
396
396
< Hero >
397
397
< Image
398
398
src = { eth }
399
- width = { 800 }
399
+ // TODO: adjust value when the old theme breakpoints are removed (src/theme.ts)
400
+ sizes = "(max-width: 768px) 100vw, 800px"
400
401
alt = { t ( "page-eth-whats-eth-hero-alt" ) }
401
402
priority
402
403
/>
Original file line number Diff line number Diff line change @@ -165,7 +165,8 @@ const FindWalletPage = () => {
165
165
< Center w = { { base : "full" , sm : "50%" } } >
166
166
< Image
167
167
src = { HeroImage }
168
- width = { 500 }
168
+ // TODO: adjust value when the old theme breakpoints are removed (src/theme.ts)
169
+ sizes = "(max-width: 480px) 100vw, 500px"
169
170
alt = ""
170
171
priority
171
172
style = { {
Original file line number Diff line number Diff line change @@ -347,6 +347,8 @@ const WhatIsEthereumPage = ({
347
347
< Image
348
348
src = { hero }
349
349
alt = { t ( "page-what-is-ethereum-alt-img-bazaar" ) }
350
+ // TODO: adjust value when the old theme breakpoints are removed (src/theme.ts)
351
+ sizes = "(max-width: 992px) 100vw, 750px"
350
352
priority
351
353
/>
352
354
</ Hero >
You can’t perform that action at this time.
0 commit comments