1
1
import { Button } from "../../../ui/atoms/button" ;
2
2
import "./index.scss" ;
3
3
import screenshotAiHelp from "../../../../public/assets/ai-help/ai-help_light.png" ;
4
+ import screenshotAdFree from "../../../../public/assets/afree.png" ;
5
+ import screenshotUpdates from "../../../../public/assets/updates.png" ;
6
+ import screenshotCollections from "../../../../public/assets/collections.png" ;
7
+ import screenshotPlayground from "../../../../public/assets/playground.png" ;
4
8
5
9
function OfferOverviewFeature ( { id, img, imgAlt, children } ) {
6
10
return (
@@ -24,7 +28,7 @@ function OfferOverviewFeature({ id, img, imgAlt, children }) {
24
28
export default function OfferOverviewFeatures ( ) {
25
29
return (
26
30
< section id = "features" >
27
- < OfferOverviewFeature id = "afree" img = "/assets/afree.png" imgAlt = "" >
31
+ < OfferOverviewFeature id = "afree" img = { screenshotAdFree } imgAlt = "" >
28
32
< section aria-labelledby = "afree-section-title" >
29
33
< h2 id = "afree-section-title" > Go ads free</ h2 >
30
34
< h3 > Enjoy MDN ads-free with an MDN Plus subscription.</ h3 >
@@ -55,7 +59,7 @@ export default function OfferOverviewFeatures() {
55
59
</ OfferOverviewFeature >
56
60
< OfferOverviewFeature
57
61
id = "playground"
58
- img = "/assets/playground.png"
62
+ img = { screenshotPlayground }
59
63
imgAlt = ""
60
64
>
61
65
< section aria-labelledby = "playground-section-title" >
@@ -71,7 +75,7 @@ export default function OfferOverviewFeatures() {
71
75
</ Button >
72
76
</ section >
73
77
</ OfferOverviewFeature >
74
- < OfferOverviewFeature id = "updates" img = "/assets/updates.png" imgAlt = "" >
78
+ < OfferOverviewFeature id = "updates" img = { screenshotUpdates } imgAlt = "" >
75
79
< section aria-labelledby = "updates-section-title" >
76
80
< h2 id = "updates-section-title" > Updates</ h2 >
77
81
< h3 >
@@ -92,7 +96,7 @@ export default function OfferOverviewFeatures() {
92
96
</ OfferOverviewFeature >
93
97
< OfferOverviewFeature
94
98
id = "collections"
95
- img = "/assets/collections.png"
99
+ img = { screenshotCollections }
96
100
imgAlt = ""
97
101
>
98
102
< section aria-labelledby = "collections-section-title" >
0 commit comments