This commit is contained in:
Никита Круглицкий
2024-11-26 16:46:57 +03:00
parent ba08be33b1
commit 244b180507
83 changed files with 9 additions and 523 deletions

View File

@@ -21,8 +21,8 @@
<InfoButton />
</div>
<NuxtImg height="650" class="homepage-hero__image desktop-only" src="/hero-desktop.png" draggable="false" />
<NuxtImg height="650" class="homepage-hero__image mobile-only" src="/hero-mobile.png" draggable="false" />
<NuxtImg height="650" class="homepage-hero__image desktop-only" src="/hero-desktop.png" draggable="false" format="webp" />
<NuxtImg height="650" class="homepage-hero__image mobile-only" src="/hero-mobile.png" draggable="false" format="webp" />
<div class="homepage-hero__actions mobile-only">
<UiButton type="secondary">

View File

@@ -13,7 +13,7 @@
+ 100%
</p>
<NuxtImg class="result-card__image" src="/results/1.png" height="110px" loading="lazy" />
<NuxtImg class="result-card__image" src="/results/1.png" height="110px" loading="lazy" draggable="false" format="webp" />
</div>
<div class="result-card">
@@ -24,7 +24,7 @@
на 15%
</p>
<NuxtImg class="result-card__image" src="/results/2.png" height="110px" loading="lazy" />
<NuxtImg class="result-card__image" src="/results/2.png" height="110px" loading="lazy" draggable="false" format="webp" />
</div>
<div class="result-card">
@@ -36,7 +36,7 @@
заказов
</p>
<NuxtImg class="result-card__image" src="/results/3.png" height="110px" loading="lazy" />
<NuxtImg class="result-card__image" src="/results/3.png" height="110px" loading="lazy" draggable="false" format="webp" />
</div>
<div class="result-card">
@@ -47,7 +47,7 @@
в неделю на ручном <br> мониторинге
</p>
<NuxtImg class="result-card__image" src="/results/4.png" height="110px" loading="lazy" />
<NuxtImg class="result-card__image" src="/results/4.png" height="110px" loading="lazy" draggable="false" format="webp" />
</div>
</div>

View File

@@ -40,7 +40,7 @@
<Splide ref="splideEl" class="reviews__carousel" :options="splideOptions">
<SplideSlide v-for="i in 6" :key="i">
<NuxtImg class="reviews__review" :src="`/reviews/${i}.png`" height="416" />
<NuxtImg class="reviews__review" :src="`/reviews/${i}.png`" height="416" format="webp" />
</SplideSlide>
</Splide>

View File

@@ -6,7 +6,7 @@
>
<div class="tariff__inner">
<div class="tariff__header">
<NuxtImg class="mobile-only" src="/price-bg.png" height="35px" />
<NuxtImg class="mobile-only" src="/price-bg.png" height="35px" format="webp" />
<div class="tariff__price">
30 000 / месяц

View File

@@ -22,33 +22,6 @@
<script setup lang="ts">
import { Tooltip } from 'floating-vue'
// const infoTriggerEl = ref()
// const tooltipEl = ref()
// const tooltipArrowEl = ref()
//
// const { floatingStyles: tooltipStyles, middlewareData } = useFloating(
// infoTriggerEl,
// tooltipEl,
// {
// placement: 'bottom-end',
// middleware: [offset(8), arrow({ element: tooltipArrowEl })],
// },
// )
//
// const arrowStyles = computed(() => {
// if (!middlewareData.value.arrow) {
// return {
// position: 'absolute',
// }
// }
//
// return {
// position: 'absolute',
// left: `${middlewareData.value.arrow.x ?? 0}px`,
// top: `${middlewareData.value.arrow.y ?? 0}px`,
// }
// })
</script>
<style lang="scss">
@@ -67,6 +40,7 @@ import { Tooltip } from 'floating-vue'
flex-shrink: 0;
font-size: 24px;
color: $color-gray-500;
outline: none;
}
&__hint {