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