Compare commits
1 commit
9f8266611b
...
0702f05838
| Author | SHA1 | Date | |
|---|---|---|---|
| 0702f05838 |
4 changed files with 15 additions and 2 deletions
|
|
@ -4,7 +4,7 @@
|
|||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite --host --port 6173",
|
||||
"dev": "vite",
|
||||
"build": "vue-tsc -b && vite build",
|
||||
"preview": "vite preview",
|
||||
"lint": "eslint . --fix",
|
||||
|
|
|
|||
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 { Card, CardContent } from '@/components/ui/card'
|
||||
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 sectionTile from '@/assets/section-tile.webp'
|
||||
|
||||
|
|
@ -74,10 +76,21 @@ const featuredEvents = [
|
|||
>
|
||||
Château du Faune
|
||||
</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
|
||||
:src="cosmicStag"
|
||||
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>
|
||||
</section>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue