feat: update perf

This commit is contained in:
Nazareno Oviedo 2022-03-31 12:15:16 -03:00
parent 9f6f1bc578
commit 9974b56c69
3 changed files with 20 additions and 12 deletions

Binary file not shown.

View File

@ -22,12 +22,16 @@ export const Footer = () => {
<>
<Section className={s['pre__footer--section']}>
<Line className={s['line']} height={276} />
<img
alt=""
<video
autoPlay
className={clsx('hide-on-mobile', s['video'])}
loading="eager"
src="/images/hero-grid.gif"
/>
controls={false}
loop
muted
preload="true"
>
<source src="/videos/hero-grid.mp4" type="video/mp4" />
</video>
<Container className={s['pre__footer']}>
<Isotype className={s['isotype']} />
<Heading

View File

@ -26,12 +26,16 @@ const Hero = () => {
return (
<Section className={s['section']}>
<img
alt=""
<video
autoPlay
className={clsx('hide-on-mobile', s['video'])}
loading="eager"
src="/images/hero-grid.gif"
/>
controls={false}
loop
muted
preload="true"
>
<source src="/videos/hero-grid.mp4" type="video/mp4" />
</video>
<Heading as="h1" variant="xl" centered>
The <br className="hide-on-desktop" />{' '}
<HighlightedText>Multi-chain</HighlightedText> <br /> Verifable Data
@ -49,7 +53,7 @@ const Hero = () => {
Get Started
</Button>
<div className={s['scroll']}>
<div>
<div className="hide-on-mobile">
<p>C:</p>
<Flag className={s['flag']} />
</div>
@ -59,7 +63,7 @@ const Hero = () => {
</Heading>
<ArrowDotted className={s['arrow']} />
</div>
<div className="hide-on-mobile">
<div>
<p>Home</p>
<ul>
<li>