2022-12-11 23:33:34 +00:00
|
|
|
<template>
|
2022-12-23 14:42:30 +00:00
|
|
|
<div>
|
2022-12-31 20:29:52 +00:00
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row">
|
2023-01-01 19:18:13 +00:00
|
|
|
<div class="col-12 px-0 mx-0">
|
2023-01-27 03:33:29 +00:00
|
|
|
<audio ref="audio" src="/sounds/Lagoon.aac" loop></audio>
|
2023-01-01 18:40:22 +00:00
|
|
|
<video-background
|
2023-02-25 06:48:20 +00:00
|
|
|
src="/video/bg-video.mp4"
|
|
|
|
poster="/images/posters/poster1.png"
|
2023-01-01 19:18:13 +00:00
|
|
|
style=" height: 100vh;"
|
2023-01-01 18:40:22 +00:00
|
|
|
>
|
2023-01-02 23:19:42 +00:00
|
|
|
|
|
|
|
|
2023-01-27 03:33:29 +00:00
|
|
|
<home-bar v-on:play="playPause" :title="title" />
|
2023-01-02 23:19:42 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2023-01-01 19:18:13 +00:00
|
|
|
<div class="container-fluid">
|
2023-01-02 23:19:42 +00:00
|
|
|
<div class="row justify-content-center">
|
2023-01-02 23:48:18 +00:00
|
|
|
<div class="adaptive pb-2">
|
2023-01-02 23:19:42 +00:00
|
|
|
|
|
|
|
|
2023-01-01 19:18:13 +00:00
|
|
|
<div class="col-12 ">
|
2023-01-03 22:38:43 +00:00
|
|
|
<div class="d-none d-md-block mx-auto pb-1" style="width: 225px" >
|
|
|
|
<div class="progress " style="height: 10px">
|
|
|
|
<div class="progress-bar" role="progressbar" aria-label="Basic example" style="width: 88%;background-color: #e9c046" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-01-02 23:19:42 +00:00
|
|
|
<div class="d-flex justify-content-center mb-1">
|
2023-02-25 06:48:20 +00:00
|
|
|
<nuxt-link to="#adaptive-modal" data-bs-target="#adaptive-modal" data-bs-toggle="modal" class="text-muted text-decoration-none fw-bold fs-6 ">{{t('adaptive_soundscap')}} : <span class="" style="color: #e9c046">On</span> </nuxt-link><span class="ps-3"><i style="padding: 5px 0px;" class="fa-solid text-muted d-flex fa-chevron-right"></i></span>
|
2023-01-01 19:18:13 +00:00
|
|
|
</div>
|
2023-01-03 22:38:43 +00:00
|
|
|
<div class="d-block d-md-none mx-auto pb-1" style="width: 225px" >
|
2023-01-02 23:19:42 +00:00
|
|
|
<div class="progress " style="height: 10px">
|
|
|
|
<div class="progress-bar" role="progressbar" aria-label="Basic example" style="width: 88%;background-color: #e9c046" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-01-01 19:18:13 +00:00
|
|
|
</div>
|
2023-02-25 06:48:20 +00:00
|
|
|
<BootomBar/>
|
2023-01-02 23:19:42 +00:00
|
|
|
</div>
|
2023-01-01 19:18:13 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-01-01 18:40:22 +00:00
|
|
|
</video-background>
|
|
|
|
<!-- <video muted id="myVideo" autoplay loop>-->
|
|
|
|
<!-- <source src="~/assets/video/bg-video.mp4" type="video/mp4">-->
|
|
|
|
<!-- <source src="~/assets/video/bg-video.ogg" type="video/ogg">-->
|
|
|
|
<!-- Your browser does not support HTML5 video.-->
|
|
|
|
<!-- </video>-->
|
2022-12-31 20:29:52 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-01-01 19:18:13 +00:00
|
|
|
|
2022-12-23 14:42:30 +00:00
|
|
|
</div>
|
2022-12-12 03:10:34 +00:00
|
|
|
</template>
|
2022-12-23 14:42:30 +00:00
|
|
|
<script>
|
2022-12-24 16:36:24 +00:00
|
|
|
|
2022-12-23 14:42:30 +00:00
|
|
|
import HomeBar from "../components/homebar";
|
2023-02-25 06:48:20 +00:00
|
|
|
import BootomBar from "~/components/BootomBar.vue";
|
2022-12-23 14:42:30 +00:00
|
|
|
export default {
|
2023-02-25 06:48:20 +00:00
|
|
|
setup() {
|
|
|
|
const { t } = useI18n()
|
|
|
|
const localePath = useLocalePath()
|
|
|
|
|
|
|
|
return {
|
|
|
|
t,
|
|
|
|
localePath,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
components: {BootomBar, HomeBar},
|
2023-01-02 23:19:42 +00:00
|
|
|
data(){
|
|
|
|
return{
|
2023-01-03 00:59:50 +00:00
|
|
|
title:'Lagoon soundscape',
|
2023-01-02 23:19:42 +00:00
|
|
|
}
|
|
|
|
},
|
2022-12-28 00:20:42 +00:00
|
|
|
methods:{
|
|
|
|
handleAnimation: function (anim) {
|
|
|
|
this.anim = anim;
|
2023-01-27 03:33:29 +00:00
|
|
|
},
|
|
|
|
playPause(play){
|
|
|
|
console.log("Play Pause");
|
|
|
|
if (play){
|
|
|
|
this.$refs['audio'].play();
|
|
|
|
}else {
|
|
|
|
this.$refs['audio'].pause();
|
|
|
|
|
|
|
|
}
|
2022-12-28 00:20:42 +00:00
|
|
|
}
|
|
|
|
}
|
2022-12-31 20:05:12 +00:00
|
|
|
|
2022-12-23 14:42:30 +00:00
|
|
|
}
|
2022-12-31 20:05:12 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
#myVideo{
|
|
|
|
position: fixed;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2023-01-01 18:33:52 +00:00
|
|
|
min-width: 100%;
|
|
|
|
|
2022-12-31 20:05:12 +00:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
z-index: -99;
|
|
|
|
}
|
|
|
|
.adaptive{
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|