fix: Revert & improvement for image loading & LCP
This commit is contained in:
@@ -29,8 +29,8 @@ export const Hero = () => {
|
||||
</div>
|
||||
<div className="flex items-center justify-center w-full lg:w-1/2">
|
||||
<div className="">
|
||||
<img src="/img/nature.png" width="616" height="617" alt="Hero Illustration" loading="eager"></img>
|
||||
{/* <Image
|
||||
{/* <img src="/img/nature.png" width="616" height="617" alt="Hero Illustration" loading="eager"></img> */}
|
||||
<Image
|
||||
src={heroImg}
|
||||
width="616"
|
||||
height="617"
|
||||
@@ -38,7 +38,7 @@ export const Hero = () => {
|
||||
alt="Hero Illustration"
|
||||
loading="eager"
|
||||
placeholder="blur"
|
||||
/> */}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</Container>
|
||||
|
||||
Reference in New Issue
Block a user