Adjust heros

This commit is contained in:
Fede Álvarez 2022-05-17 11:59:17 +02:00
parent 64d2e66d8f
commit ebeb481e50
5 changed files with 25 additions and 6 deletions

View File

@ -15,8 +15,10 @@
.video_container {
position: relative;
display: flex;
width: 100%;
align-self: center;
width: 102%;
margin-top: tovw(-165px, 'default');
padding-top: tovw(30px, 'default', 20px);
mix-blend-mode: lighten;
video {

View File

@ -21,8 +21,10 @@
}
.video_container {
align-self: center;
position: relative;
margin: auto;
margin-top: tovw(-165px, 'default');
padding-top: tovw(30px, 'default', 20px);
width: 82%;
mix-blend-mode: lighten;

View File

@ -39,7 +39,12 @@ const About = ({
}: InferGetStaticPropsType<typeof getStaticProps>) => {
return (
<PageLayout>
<Meta preload={[{ href: '/videos/hero-about.mp4', as: 'fetch' }]} />
<Meta
preload={[
{ href: '/videos/banner-about.mp4', as: 'fetch' },
{ href: '/videos/banner-about.webm', as: 'fetch' }
]}
/>
<Hero />
<Team />
<Related data={initialBlogPosts?.data} />

View File

@ -9,7 +9,12 @@ import { Page } from './_app'
const Community: Page = () => {
return (
<PageLayout>
<Meta preload={[{ href: '/videos/banner-community.mp4', as: 'fetch' }]} />
<Meta
preload={[
{ href: '/videos/banner-community.mp4', as: 'fetch' },
{ href: '/videos/banner-community.webm', as: 'fetch' }
]}
/>
<Hero />
<Events />
<Socials />

View File

@ -43,7 +43,12 @@ const Products = ({
}: InferGetStaticPropsType<typeof getStaticProps>) => {
return (
<PageLayout>
<Meta preload={[{ href: '/videos/banner_products.mp4', as: 'fetch' }]} />
<Meta
preload={[
{ href: '/videos/banner-products.mp4', as: 'fetch' },
{ href: '/videos/banner-products.webm', as: 'fetch' }
]}
/>
<Hero />
<Watchers />
<Stack />