This commit is contained in:
everythingonblack
2025-10-08 17:28:11 +07:00
parent fc934c88d8
commit c7ab5db1b5
3 changed files with 18 additions and 5 deletions

BIN
public/maya-idle.mp4 Normal file

Binary file not shown.

View File

@@ -29,15 +29,27 @@ const HeroSection = ({scrollToProduct, scrollToCourse}) => {
<Col xs={{ order: 1 }} lg={{ span: 4, order: 2 }} xl={{ span: 5, order: 2 }}>
<div className={styles.imageWrap}>
<div className={styles.imageFrame}>
<img
src="https://kediritechnopark.com/assets/hero.png"
alt="Ekosistem digital Kediri Technopark"
<video
className={`img-fluid ${styles.heroImage}`}
autoPlay
muted
loop
playsInline
loading="lazy"
decoding="async"
/>
>
<source src="/maya-idle.mp4" type="video/mp4" />
Your browser does not support the video tag.
</video>
</div>
</div>
<div className='absolute'><h1>Perkenalkan Maya</h1>
<p>Asisten digital kami</p>
<Button variant="light" className={styles.ctaSecondary} onClick={()=>window.location.href='https://mayagen-cs.kediritechnopark.com'}>
Bincang dengan Maya
</Button>
</div>
</Col>
</Row>
</Container>

View File

@@ -169,6 +169,7 @@
aspect-ratio: 4 / 3;
object-fit: cover;
border-radius: calc(var(--radius-2xl) - 4px);
object-fit: contain;
}
.glow {