fix(pages): remove heavy video background
This commit is contained in:
parent
16312d177d
commit
e2f7ddeca9
@ -12,22 +12,17 @@ const Home: NextPage = () => {
|
|||||||
<Head />
|
<Head />
|
||||||
|
|
||||||
<p className={styles.title}>
|
<p className={styles.title}>
|
||||||
You feel a calming tranquility. <br />
|
You feel a calming tranquility... <br />
|
||||||
<span className={styles.subtitle}>
|
<span className={styles.subtitle}>
|
||||||
You're filled with determination...
|
You're filled with determination.
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
<Link href='https://github.com/Walidoux'>
|
<Link href='https://github.com/Walidoux'>
|
||||||
<a className={styles['redirect-link']}>
|
<a className={styles['redirect-link']} target='_blank'>
|
||||||
<GitHub />
|
<GitHub />
|
||||||
<span className={styles.text}>Walidoux's Github</span>
|
<span className={styles.text}>Walidoux's Github</span>
|
||||||
</a>
|
</a>
|
||||||
</Link>
|
</Link>
|
||||||
|
|
||||||
<video autoPlay loop muted playsInline className={styles.video}>
|
|
||||||
<source src='/videos/Background.m4v' type='video/mp4; codecs=hvc1' />
|
|
||||||
<source src='/videos/Background.webm' type='video/webm; codecs=vp9' />
|
|
||||||
</video>
|
|
||||||
</main>
|
</main>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
BIN
public/images/Background.jpg
Normal file
BIN
public/images/Background.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 614 KiB |
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user