Compare commits
1 commit
9f8266611b
...
0702f05838
| Author | SHA1 | Date | |
|---|---|---|---|
| 0702f05838 |
3 changed files with 14 additions and 1 deletions
BIN
src/assets/cosmic-stag-morph-1024.webm
Normal file
BIN
src/assets/cosmic-stag-morph-1024.webm
Normal file
Binary file not shown.
BIN
src/assets/cosmic-stag-morph-fallback.webp
Normal file
BIN
src/assets/cosmic-stag-morph-fallback.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 23 MiB |
|
|
@ -4,6 +4,8 @@ import { RouterLink } from 'vue-router'
|
||||||
import { Button } from '@/components/ui/button'
|
import { Button } from '@/components/ui/button'
|
||||||
import { Card, CardContent } from '@/components/ui/card'
|
import { Card, CardContent } from '@/components/ui/card'
|
||||||
import cosmicStag from '@/assets/cosmic-stag.avif'
|
import cosmicStag from '@/assets/cosmic-stag.avif'
|
||||||
|
import cosmicStagMorphWebm from '@/assets/cosmic-stag-morph-1024.webm'
|
||||||
|
import cosmicStagMorphWebp from '@/assets/cosmic-stag-morph-fallback.webp'
|
||||||
import heroLandscape from '@/assets/hero-landscape.webp'
|
import heroLandscape from '@/assets/hero-landscape.webp'
|
||||||
import sectionTile from '@/assets/section-tile.webp'
|
import sectionTile from '@/assets/section-tile.webp'
|
||||||
|
|
||||||
|
|
@ -74,10 +76,21 @@ const featuredEvents = [
|
||||||
>
|
>
|
||||||
Château du Faune
|
Château du Faune
|
||||||
</h1>
|
</h1>
|
||||||
|
<video
|
||||||
|
autoplay
|
||||||
|
muted
|
||||||
|
loop
|
||||||
|
playsinline
|
||||||
|
aria-hidden="true"
|
||||||
|
class="mt-4 h-80 w-80 object-contain motion-reduce:hidden md:h-[28rem] md:w-[28rem] lg:h-[36rem] lg:w-[36rem] xl:h-[42rem] xl:w-[42rem]"
|
||||||
|
>
|
||||||
|
<source :src="cosmicStagMorphWebm" type="video/webm" />
|
||||||
|
<img :src="cosmicStagMorphWebp" alt="" />
|
||||||
|
</video>
|
||||||
<img
|
<img
|
||||||
:src="cosmicStag"
|
:src="cosmicStag"
|
||||||
alt=""
|
alt=""
|
||||||
class="mt-4 h-80 w-80 object-contain md:h-[28rem] md:w-[28rem] lg:h-[36rem] lg:w-[36rem] xl:h-[42rem] xl:w-[42rem]"
|
class="mt-4 hidden h-80 w-80 object-contain motion-reduce:block md:h-[28rem] md:w-[28rem] lg:h-[36rem] lg:w-[36rem] xl:h-[42rem] xl:w-[42rem]"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue