File tree Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,18 @@ function Introduction(props) {
4
4
return (
5
5
< >
6
6
< div style = { { textAlign : 'center' } } >
7
- < a href = "https://www.amazon.com/React-Foundations-Building-Interfaces-ReactJS/dp/1119685540" >
8
- < img
9
- src = "/images/cover.jpg"
10
- width = "300"
11
- height = "378"
12
- style = { { maxWidth : '100%' , height : 'auto' } }
13
- alt = "React JS Foundations"
14
- />
7
+ < a href = "https://amzn.to/3wVXbqk" >
8
+ < picture style = { { maxWidth : '100%' , height : 'auto' } } >
9
+ < source srcset = "/images/cover.webp" type = "image/webp" />
10
+ < source srcset = "/images/cover.jpg" type = "image/jpeg" />
11
+ < img
12
+ src = "/images/cover.jpg"
13
+ width = "300"
14
+ height = "378"
15
+ style = { { maxWidth : '100%' , height : 'auto' } }
16
+ alt = "React JS Foundations"
17
+ />
18
+ </ picture >
15
19
</ a >
16
20
</ div >
17
21
< div style = { { textAlign : 'center' , spadding : '4px 12px 0px 0px' } } >
@@ -27,10 +31,7 @@ function Introduction(props) {
27
31
backgroundColor : '#2da44e' ,
28
32
} }
29
33
>
30
- < a
31
- style = { { color : '#fff' } }
32
- href = "https://www.amazon.com/React-Foundations-Building-Interfaces-ReactJS/dp/1119685540"
33
- >
34
+ < a style = { { color : '#fff' } } href = "https://amzn.to/3wVXbqk" >
34
35
Preview and Buy Now @ Amazon.com
35
36
</ a >
36
37
</ button >
You can’t perform that action at this time.
0 commit comments