Created
July 27, 2021 01:54
-
-
Save wescopeland/e29755a9bdb0507ab4e2fb1ef04c6453 to your computer and use it in GitHub Desktop.
Perfect LCP Scores Every Time
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import type { VFC } from "react"; | |
export const VeryLargeImage: VFC = () => { | |
return ( | |
<img | |
width="99999" | |
height="99999" | |
style={{ | |
pointerEvents: "none", | |
position: "absolute", | |
top: 0, | |
left: 0, | |
width: "99vw", | |
height: "99vh", | |
maxWidth: "99vw", | |
maxHeight: "99vh" | |
}} | |
src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSI5OTk5OXB4IiBoZWlnaHQ9Ijk5OTk5cHgiIHZpZXdCb3g9IjAgMCA5OTk5OSA5OTk5OSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48ZyBzdHJva2U9Im5vbmUiIGZpbGw9Im5vbmUiIGZpbGwtb3BhY2l0eT0iMCI+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9Ijk5OTk5IiBoZWlnaHQ9Ijk5OTk5Ij48L3JlY3Q+IDwvZz4gPC9zdmc+" | |
/> | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment