Skip to content

Commit 3a811b3

Browse files
committed
removing lcp on homepage
1 parent 3319a21 commit 3a811b3

File tree

3 files changed

+9985
-9725
lines changed

3 files changed

+9985
-9725
lines changed

reactjsfoundations.com/src/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function App(props) {
3535
/>
3636
</Helmet>
3737
<div className="container">
38-
<Suspense fallback={<div></div>}>
38+
<Suspense fallback={<div>loading...</div>}>
3939
<div id="column2">
4040
<main>
4141
{routes}

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" />
@@ -35,7 +35,7 @@ function Introduction(props) {
3535
Preview and Buy Now @ Amazon.com
3636
</a>
3737
</button>
38-
</div>
38+
</div> */}
3939
<Helmet>
4040
<title>
4141
React JS Foundations - Building User Interfaces with ReactJS: An

0 commit comments

Comments
 (0)