mirror of
https://github.com/LaconicNetwork/laconic.com.git
synced 2026-03-01 04:04:08 +00:00
feat: preload video
This commit is contained in:
parent
2c522a0c3a
commit
9d0531ccd1
@ -39,7 +39,7 @@ const About = ({
|
||||
}: InferGetStaticPropsType<typeof getStaticProps>) => {
|
||||
return (
|
||||
<PageLayout>
|
||||
<Meta />
|
||||
<Meta preload={[{ href: '/videos/hero-about.mp4', as: 'fetch' }]} />
|
||||
<Hero />
|
||||
<Team />
|
||||
<Related data={initialBlogPosts?.data} />
|
||||
|
||||
@ -9,7 +9,7 @@ import { Page } from './_app'
|
||||
const Community: Page = () => {
|
||||
return (
|
||||
<PageLayout>
|
||||
<Meta />
|
||||
<Meta preload={[{ href: '/videos/banner-community.mp4', as: 'fetch' }]} />
|
||||
<Hero />
|
||||
<Events />
|
||||
<Socials />
|
||||
|
||||
@ -40,7 +40,7 @@ const HomePage = ({
|
||||
}: InferGetStaticPropsType<typeof getStaticProps>) => {
|
||||
return (
|
||||
<PageLayout>
|
||||
<Meta />
|
||||
<Meta preload={[{ href: '/videos/hero-grid.mp4', as: 'fetch' }]} />
|
||||
<Hero />
|
||||
<Benefits />
|
||||
<LatestNews data={initialBlogPosts?.data} />
|
||||
|
||||
@ -43,7 +43,7 @@ const Products = ({
|
||||
}: InferGetStaticPropsType<typeof getStaticProps>) => {
|
||||
return (
|
||||
<PageLayout>
|
||||
<Meta />
|
||||
<Meta preload={[{ href: '/videos/banner_products.mp4', as: 'fetch' }]} />
|
||||
<Hero />
|
||||
<Stack />
|
||||
<Network />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user