Никита Круглицкий b3c99a667a Initial commit
2024-11-26 16:15:12 +03:00

106 lines
2.1 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<header class="header">
<div class="container">
<div class="header__inner">
<NuxtImg src="/logo.svg" alt="one2one" class="header__logo" draggable="false" />
<hr class="header__divider desktop-only">
<a href="#how-it-works" class="header__demo desktop-only">
<IMonoPlay />
<span>Демо видео о продукте</span>
</a>
<div class="header__socials">
<SocialLink href="https://www.instagram.com/samatk7/?igsh=Mm9keGxnbXBrdGQ4">
<IMonoInstagram />
</SocialLink>
<SocialLink href="https://t.me/+vOQDGC3VoUJmY2Qy">
<IMonoTelegram />
</SocialLink>
<SocialLink href="https://api.whatsapp.com/send/?phone=7077407714&text&type=phone_number&app_absent=0">
<IMonoWhatsapp />
</SocialLink>
</div>
<hr class="header__divider">
<PhoneNumber />
</div>
</div>
</header>
</template>
<script lang="ts" setup>
import SocialLink from '~/components/social-link.vue'
</script>
<style lang="scss">
.header {
position: sticky;
top: 0;
background-color: $color-gray-200;
z-index: 100;
&__inner {
display: flex;
align-items: center;
height: 80px;
padding: 16px 24px;
justify-content: flex-start;
@include mobile {
padding: 12px 0;
height: unset;
}
}
&__logo {
height: 21px;
@include mobile {
height: 16px;
}
}
&__divider {
height: 21px;
width: 1px;
border: none;
background-color: $color-gray-400;
margin-inline: 24px;
@include mobile {
margin-inline: 12px;
}
}
&__demo {
@include font(12px, 500, 15px);
display: flex;
align-items: center;
gap: 8px;
color: $color-gray-700;
> svg {
font-size: 24px;
color: $color-green-500;
}
}
&__socials {
display: flex;
align-items: center;
gap: 24px;
margin-left: auto;
font-size: 24px;
@include mobile {
font-size: 16px;
gap: 16px;
}
}
}
</style>