mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-11-28 14:43:49 -05:00
priority flag on above-the-fold images
This commit is contained in:
@@ -15,8 +15,9 @@ const CustomImg = (props: ImageProps) => {
|
||||
width={props.width}
|
||||
height={props.height}
|
||||
alt={props.alt}
|
||||
quality={85}
|
||||
loading="lazy"
|
||||
quality={65}
|
||||
loading={props.priority ? "eager" : "lazy"}
|
||||
priority={!!props.priority}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user