Skip to content

Commit 8ce4b16

Browse files
committed
updating cover image
1 parent 9d40198 commit 8ce4b16

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

reactjsfoundations.com/src/App.js

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,18 @@ function App(props) {
5757
style={{ height: 40, width: 40, margin: '8px' }}
5858
/>
5959
</div>
60-
<a
61-
href="https://www.amazon.com/dp/1119685540?&linkCode=li3&tag=chrismincom-20&linkId=6c69efbcfd2ca6ae74a870e3a88a40db&language=en_US&ref_=as_li_ss_il"
62-
target="_blank"
63-
>
64-
<img
65-
alt="ReactJS Foundations"
66-
border="0"
67-
width="200"
68-
height="250"
69-
src="//ws-na.amazon-adsystem.com/widgets/q?_encoding=UTF8&ASIN=1119685540&Format=_SL250_&ID=AsinImage&MarketPlace=US&ServiceVersion=20070822&WS=1&tag=chrismincom-20&language=en_US"
70-
/>
60+
<a href="https://www.amazon.com/dp/1119685540?&linkCode=li3&tag=chrismincom-20&linkId=6c69efbcfd2ca6ae74a870e3a88a40db&language=en_US&ref_=as_li_ss_il">
61+
<picture style={{ maxWidth: '100%', height: 'auto' }}>
62+
<source srcset="/images/cover.webp" type="image/webp" />
63+
<source srcset="/images/cover.jpg" type="image/jpeg" />
64+
<img
65+
src="/images/cover.jpg"
66+
width="300"
67+
height="378"
68+
style={{ maxWidth: '100%', height: 'auto' }}
69+
alt="React JS Foundations"
70+
/>
71+
</picture>
7172
</a>
7273
<img
7374
src="https://ir-na.amazon-adsystem.com/e/ir?t=chrismincom-20&language=en_US&l=li3&o=1&a=1119685540"

reactjsfoundations.com/src/Introduction.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Helmet from 'react-helmet';
33
function Introduction(props) {
44
return (
55
<>
6-
<div style={{ textAlign: 'center' }}>
6+
{/* <div style={{ textAlign: 'center' }}>
77
<a href="https://amzn.to/3wVXbqk">
88
<picture style={{ maxWidth: '100%', height: 'auto' }}>
99
<source srcset="/images/cover.webp" type="image/webp" />
@@ -17,7 +17,7 @@ function Introduction(props) {
1717
/>
1818
</picture>
1919
</a>
20-
</div>
20+
</div> */}
2121
<div style={{ textAlign: 'center', spadding: '4px 12px 0px 0px' }}>
2222
<button
2323
style={{

0 commit comments

Comments
 (0)