chore: update hero image

This commit is contained in:
jinhojang6 2024-06-28 21:38:25 +09:00
parent 6483b318a1
commit 25923bcdb5
No known key found for this signature in database
GPG Key ID: 1762F21FE8B543F8
4 changed files with 10 additions and 5 deletions

View File

@ -16,9 +16,9 @@ html {
align-items: center;
}
.main-wrapper > .container {
overflow-x: hidden;
}
// .main-wrapper > .container {
// overflow-x: hidden;
// }
.mdx-hero > .mdx-hero-asset video {
position: absolute;
@ -27,13 +27,17 @@ html {
margin-top: -40%;
}
// .mdx-page nav {
// background: transparent;
// }
@media screen and (min-width: 996px) {
.mdx-hero > .mdx-hero-asset video {
position: absolute;
right: 0;
top: 0;
margin-right: -280px;
margin-top: -55%;
margin-top: -60%;
scale: 0.95;
}
}

View File

@ -41,7 +41,8 @@ import Link from '@docusaurus/Link'
</HeroInfo>
<HeroAsset>
<video autoPlay loop muted autoPlay playsInline>
<source src="/hero/hero-video.webm" type="video/webm" />
<source src="/hero/hero-video.mov" type='video/mp4; codecs="hvc1"' />
<source src="/hero/hero-video.webm" type="video/webm" />
</video>
</HeroAsset>
</Hero>

BIN
static/hero/hero-video.mov Normal file

Binary file not shown.

Binary file not shown.