in the first block of the site I have a large gif image that takes a very long time to load.
<picture>
<source srcset="https://media.githubusercontent.com/media/javascripteaser88/fintech-
remake/main/media/vapor.gif" type="image/gif" media="(min-width:501px)">
<source srcset="https://media.githubusercontent.com/media/javascripteaser88/fintech-remake/main/media/mobile.gif" type="image/gif" media="(max-width:501px)">
<img src="https://media.githubusercontent.com/media/javascripteaser88/fintech-remake/main/media/vapor.gif"alt="outrun gif" class="outrun">
</picture>
it looks very bad when the user has to wait a few tens of seconds before seeing the content (and someone's gif won't even load completely).
So I need to show some kind of lightweight image until my gif animation is fully loaded, or just show the first frame of this animation, but i don't know how to do it. Or you can advise some other ways to reduce the waiting time that I did not expect.
P.S. here is a link to the site hosted on github pages https://javascripteaser88.github.io/fintech-remake/