dev-audioprocessing/pages/onboarding/fixproblem.vue

98 lines
3.2 KiB
Vue
Raw Normal View History

2022-12-23 14:42:30 +00:00
<template>
<div>
<div class="row">
<div class="col-12 pt-3">
2023-02-27 16:51:33 +00:00
<h6 class="text-muted text-center">{{t("We are analyzing your background noise...")}}</h6>
2022-12-23 14:42:30 +00:00
</div>
<div class="col-12">
2023-02-27 16:51:33 +00:00
<h4 class="text-center fw-bold pt-5">{{ t("The microphone does not provide any level") }}</h4>
<h6 class="text-center text-muted">{{t("Please check the input level of the microphone in the audio")}} </h6>
<h6 class="text-center text-muted">{{t("system settings of your device and start again.")}} </h6>
2022-12-23 14:42:30 +00:00
</div>
<div class=" pt-5 text-center">
2023-01-03 22:38:43 +00:00
<div class=" pt-3 ">
<div class="checkmark pt-2 d-block d-sm-inline-block d-inline-block">
<input type="radio" class="btn-check" name="options-outlined" id="success-outlined1" autocomplete="off" >
<label class="btn px-4 checklabel" for="success-outlined1">
2023-02-27 16:51:33 +00:00
<p class=" p-0 m-0 text-center">{{t("Fix This Problem")}}</p>
2023-01-03 22:38:43 +00:00
</label>
</div>
2022-12-23 14:42:30 +00:00
2023-01-03 22:38:43 +00:00
<nuxt-link to="" class="checkmark pt-2 d-inline-block">
<input type="radio" class="btn-check checkmark" name="options-outlined" id="danger-outlined1" autocomplete="off">
<label class="btn checklabel px-5 ms-0 ms-sm-3 " for="danger-outlined1">
2023-02-27 16:51:33 +00:00
<p class="p-0 m-0 text-center">{{t("Try Again")}}</p>
2023-01-03 22:38:43 +00:00
</label>
</nuxt-link>
</div>
2022-12-23 14:42:30 +00:00
</div>
2023-01-03 22:38:43 +00:00
2022-12-23 14:42:30 +00:00
</div>
2023-01-03 22:38:43 +00:00
<div class="row pt-5 mt-0 mt-sm-4 ">
<div class="col-12 text-center pt-5 mt-3 pb-5 mb-2">
<NuxtLink class="btn btn-warning px-2 " @click.once="increment(25)" to="/onbording"></NuxtLink>
<NuxtLink class="btn btn-warning px-2 mx-2" @click.once="increment(50)" to="/onbording/onbording2"></NuxtLink>
<NuxtLink class="btn btn-warning px-4 " @click.once="increment(75)" to="/onbording/onbording3"></NuxtLink>
<NuxtLink class="btn btn-warning px-2 mx-2" @click.once="increment(100)" to="/onbording/onbording4"></NuxtLink>
2023-02-27 16:51:33 +00:00
<h6 class="text-muted text-center pt-3">{{t("You can customize your selection later")}}</h6>
2022-12-23 14:42:30 +00:00
</div>
</div>
2023-01-03 22:38:43 +00:00
</div>
2022-12-23 14:42:30 +00:00
</template>
<script>
2023-01-03 22:38:43 +00:00
import {useCounterStore} from '@/stores/counter';
import {mapActions, mapState} from "pinia";
2022-12-23 14:42:30 +00:00
export default {
2023-02-27 16:51:33 +00:00
setup() {
const { t } = useI18n()
const localePath = useLocalePath()
return {
t,
localePath,
}
},
2022-12-23 14:42:30 +00:00
name:'OnBording',
2023-01-03 22:38:43 +00:00
mounted() {
this.increment(75);
},
computed:{...mapState(useCounterStore,['count'])},
methods:{
...mapActions(useCounterStore,['increment']),
}
2022-12-23 14:42:30 +00:00
}
</script>
<style >
2023-01-03 22:38:43 +00:00
.checklabel:hover{
border-color: #e9c046;
}
.checklabel {
color: #e9c046 !important;
border: 1px solid #e9c046;
}
.checkmark .checklabel svg path{
/*background-color: white;*/
fill: #e9c046;
}
.checkmark input:checked ~ .checklabel {
2022-12-23 14:42:30 +00:00
background-color: #e9c046;
2023-01-03 22:38:43 +00:00
border: 1px solid #e9c046;
color: #f4f5f7 !important;
}
.checkmark input:checked ~ .checklabel svg path {
fill: white;
2022-12-23 14:42:30 +00:00
}
2023-01-03 22:38:43 +00:00
.checkmark input:hover ~ .checklabel {
background-color: #e9c046;
border: 1px solid #e9c046;
color: #f4f5f7 !important;
2022-12-23 14:42:30 +00:00
}
2023-01-03 22:38:43 +00:00
.checkmark input:hover ~ .checklabel svg path {
fill: white;
2022-12-23 14:42:30 +00:00
}
</style>