подвал старт
This commit is contained in:
@@ -72,11 +72,11 @@
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
.pozition-left {
|
||||
#call-my {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.pozition-left h2 {
|
||||
#call-my h2 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
+2
-28
@@ -306,37 +306,11 @@ footer {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.fon-vus h2, footer h2 {
|
||||
.fon-vus h2,
|
||||
footer h2 {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Контактная информация */
|
||||
.pozition-left {
|
||||
text-align: right;
|
||||
max-width: 500px;
|
||||
}
|
||||
|
||||
.pozition-left h2 {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#phoneNumber {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.social-network-a {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.social-network-a img {
|
||||
width: 30px;
|
||||
}
|
||||
|
||||
.social-network-a img:hover {
|
||||
opacity: 0.8;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Фиксированная кнопка Telegram */
|
||||
.fixed-telegram-btn {
|
||||
position: fixed;
|
||||
|
||||
+21
-43
@@ -3,12 +3,11 @@ import type { NavItem } from "~/types";
|
||||
import { CONTACTS } from "~/data/site";
|
||||
|
||||
/**
|
||||
* Подвал с контактными данными. Клик по номеру телефона начинает звонок
|
||||
* на мобильном (tel:-ссылка).
|
||||
* Подвал с контактными данными. Клики по телефонам открывают звонок
|
||||
* через tel:-ссылку.
|
||||
*/
|
||||
interface Props {
|
||||
links: NavItem[];
|
||||
/** Вступительный текст перед контактами — на страницах он разный. */
|
||||
intro: string;
|
||||
}
|
||||
|
||||
@@ -16,8 +15,8 @@ const props = defineProps<Props>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<footer class="py-5 text-color">
|
||||
<div class="container">
|
||||
<footer class="text-color py-5">
|
||||
<div class="container-fluid px-4">
|
||||
<div class="row">
|
||||
<!-- Левый столбец -->
|
||||
<div class="col-xl-6 col-md-4">
|
||||
@@ -30,71 +29,50 @@ const props = defineProps<Props>();
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-xl-1 col-md-2"></div>
|
||||
<!-- Правый столбец -->
|
||||
<div class="col-xl-5 col-md-6">
|
||||
<div class="pozition-left" id="call-my">
|
||||
<h2>Контактная информация:</h2>
|
||||
<p>{{ props.intro }}</p>
|
||||
<div class="col-xl-1"></div>
|
||||
<!-- Правый столбец: контакты -->
|
||||
<div class="col-xl-6 col-md-6">
|
||||
<div id="call-my" class="text-md-end">
|
||||
<h2 class="fs-3 fw-bold text-white mb-3">Контактная информация:</h2>
|
||||
|
||||
<p class="fs-5 mb-3">{{ props.intro }}</p>
|
||||
|
||||
<p
|
||||
v-for="phone in CONTACTS.phones"
|
||||
:key="phone.display"
|
||||
class="fs-4"
|
||||
class="fs-3 fw-bold mb-2"
|
||||
>
|
||||
<a :href="phone.href" class="phone-link">
|
||||
<a :href="phone.href" class="link-light text-decoration-none">
|
||||
<img
|
||||
src="/assets/ico/call.png"
|
||||
alt="Иконка трубки"
|
||||
class="navbar-brand-img call"
|
||||
alt="Телефон"
|
||||
style="width: 32px; height: 32px; margin-right: 1px"
|
||||
/>{{ phone.display }}
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p class="mb-1">{{ CONTACTS.schedule }}</p>
|
||||
<p class="text-secondary mb-3">{{ CONTACTS.schedule }}</p>
|
||||
|
||||
|
||||
<div class="social-network">
|
||||
<p>Официальные группы в социальных сетях:</p>
|
||||
<p class="text-nowrap mb-2">
|
||||
Официальные группы в социальных сетях:
|
||||
</p>
|
||||
<a
|
||||
v-for="social in CONTACTS.socials"
|
||||
:key="social.name"
|
||||
class="social-network-a"
|
||||
:class="social.extraClass"
|
||||
:href="social.url"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="d-inline-block ms-2"
|
||||
>
|
||||
<img
|
||||
:src="`/assets/ico/${social.icon}`"
|
||||
:alt="`Иконка ${social.name}`"
|
||||
style="width: 32px; height: 32px"
|
||||
/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div
|
||||
v-show="toastVisible"
|
||||
class="copy-toast"
|
||||
role="status"
|
||||
aria-live="polite"
|
||||
>
|
||||
{{ toastMessage }}
|
||||
</div>
|
||||
</footer>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.phone-link {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.email-link {
|
||||
color: inherit;
|
||||
text-decoration: underline;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -184,6 +184,7 @@ const phoneHref = CONTACTS.phones[0].href;
|
||||
class="col-lg-5 d-flex flex-column justify-content-between fon-v"
|
||||
id="nawigashion-shcool"
|
||||
>
|
||||
<h2 class="text-center pb-2">Условия поступления после 11 класса</h2>
|
||||
<StudyInstitutions :institutions="STUDY_INSTITUTIONS" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user