Initial commit: dekart-school reference site
117
.gitignore
vendored
Normal file
@ -0,0 +1,117 @@
|
||||
# ============================================================
|
||||
# .gitignore для WordPress (Декарт dev)
|
||||
# Эталонный сайт: dev.dekart.school
|
||||
# ============================================================
|
||||
|
||||
# === WordPress core (обновляется через админку) ===
|
||||
/wp-admin/
|
||||
/wp-includes/
|
||||
/wp-*.php
|
||||
/index.php
|
||||
/index.htm
|
||||
/license.txt
|
||||
/readme.html
|
||||
/xmlrpc.php
|
||||
/wp-config.php
|
||||
/wp-config-sample.php
|
||||
/robots.txt
|
||||
|
||||
# === Серверные файлы (на каждом сайте свои) ===
|
||||
.htaccess
|
||||
.htaccess.bk
|
||||
.htaccess.disabled
|
||||
.htpasswd
|
||||
.user.ini
|
||||
.tmb/
|
||||
|
||||
# === wp-content: общие исключения ===
|
||||
/wp-content/uploads/
|
||||
/wp-content/blogs.dir/
|
||||
/wp-content/upgrade/
|
||||
/wp-content/backup-db/
|
||||
/wp-content/backups/
|
||||
/wp-content/cache/
|
||||
/wp-content/wflogs/
|
||||
/wp-content/wflogs-old/
|
||||
/wp-content/debug.log
|
||||
/wp-content/advanced-cache.php*
|
||||
/wp-content/object-cache.php*
|
||||
/wp-content/wp-cache-config.php*
|
||||
/wp-content/advanced-headers.php*
|
||||
/wp-content/index.php*
|
||||
|
||||
# === Локализации WordPress (обновляются через WP) ===
|
||||
/wp-content/languages/
|
||||
/wp-content/languages-old/
|
||||
|
||||
# === Бэкапы плагинов (UpdraftPlus, All-in-One и др.) ===
|
||||
/wp-content/updraft/
|
||||
/wp-content/updraft-pre*
|
||||
/wp-content/ai1wm-backups/
|
||||
|
||||
# === LiteSpeed Cache - служебные файлы ===
|
||||
/wp-content/litespeed/
|
||||
/wp-content/litespeed-old/
|
||||
/wp-content/.litespeed_*
|
||||
|
||||
# === Старые конфиги кеш-плагинов ===
|
||||
/wp-content/w3tc-config/
|
||||
/wp-content/w3tc-config-old/
|
||||
|
||||
# === Сторонние плагины и темы (целиком) ===
|
||||
/wp-content/plugins/
|
||||
/wp-content/themes/
|
||||
|
||||
# === Файлы безопасности ===
|
||||
wordfence-waf.php
|
||||
*.log
|
||||
|
||||
# === Системное ===
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
*.swp
|
||||
*~
|
||||
|
||||
# === Google/Yandex верификация (на каждом домене своя) ===
|
||||
google*.html
|
||||
yandex_*.html
|
||||
|
||||
# ============================================================
|
||||
# ИСКЛЮЧЕНИЯ — ЧТО ВКЛЮЧАЕМ В GIT (несмотря на правила выше)
|
||||
# ============================================================
|
||||
!/wp-content/
|
||||
!/wp-content/themes/
|
||||
!/wp-content/themes/dekart/
|
||||
!/wp-content/themes/dekart/**
|
||||
|
||||
# ============================================================
|
||||
# ВАЖНО: эти правила идут ПОСЛЕ исключений выше — они их перекрывают.
|
||||
# Это нужно потому что !/.../dekart/** включает ВСЕ файлы в теме,
|
||||
# и нам надо вручную исключить мусор внутри темы.
|
||||
# ============================================================
|
||||
|
||||
# === Архивы и бэкапы файлов (даже внутри темы!) ===
|
||||
*.zip
|
||||
*.rar
|
||||
*.tar
|
||||
*.tar.gz
|
||||
*.gz
|
||||
*.bak
|
||||
*.old
|
||||
*-old*
|
||||
*.swp
|
||||
|
||||
# === Дампы БД ===
|
||||
*.sql
|
||||
*.sql.gz
|
||||
*.db
|
||||
*.sqlite
|
||||
|
||||
# === Заглушки в служебных папках WP ===
|
||||
/wp-content/themes/index.php
|
||||
/wp-content/themes/index.html
|
||||
|
||||
# Если в будущем появятся свои плагины — добавь их так:
|
||||
# !/wp-content/plugins/
|
||||
# !/wp-content/plugins/мой-кастомный-плагин/
|
||||
# !/wp-content/plugins/мой-кастомный-плагин/**
|
||||
27
wp-content/themes/dekart/404.php
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
get_header();
|
||||
?>
|
||||
<main class="page page404">
|
||||
<section class="banner">
|
||||
<div class="banner-wrapper">
|
||||
<picture class="banner-fon">
|
||||
<source srcset="<?php echo get_template_directory_uri(); ?>/assets/images/404.webp" media="(min-width: 780px)">
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/assets/images/404.webp" alt="">
|
||||
</picture>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="preparation">
|
||||
<div class="container">
|
||||
<h1 class="title_404">Упс! Страница потерялась, как ответ на сложный вопрос!</h1>
|
||||
<p class="sub-title_404">Не переживайте — даже отличники иногда делают ошибки.<br>
|
||||
Но не волнуйтесь — мы знаем, как помочь вам вернуться на правильный путь!</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php get_template_part( 'template-parts/map' ); ?>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
829
wp-content/themes/dekart/assets/css/after-school.css
Normal file
@ -0,0 +1,829 @@
|
||||
:root {
|
||||
/* --main-color: #BF568E;
|
||||
--main-blue: #006DB7;
|
||||
--main-yellow: #FFD43E; */
|
||||
}
|
||||
|
||||
/* html {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
body {
|
||||
color: #000;
|
||||
font-family: Roboto;
|
||||
background: #FFF;
|
||||
} */
|
||||
|
||||
/* p {
|
||||
font-weight: 400;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-family: Oswald;
|
||||
} */
|
||||
|
||||
.as-container {
|
||||
max-width: 960px;
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 60px;
|
||||
}
|
||||
|
||||
/* as-banner */
|
||||
.as-banner {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.as-banner_img {
|
||||
width: 100%;
|
||||
height: 480px;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.as-banner_title {
|
||||
font-weight: 700;
|
||||
font-size: 42px;
|
||||
line-height: 52px;
|
||||
color: #0D141C;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.as-banner_blocks {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.as-banner_blocks div {
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 15px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.as_block1 {
|
||||
width: 100%;
|
||||
font-style: normal;
|
||||
font-size: 24px;
|
||||
line-height: 30px;
|
||||
text-align: center;
|
||||
color: #F7FAFC;
|
||||
background-color: #59545C;
|
||||
}
|
||||
|
||||
.as_block1 span {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.as_block2 {
|
||||
width: 55%;
|
||||
font-weight: 700;
|
||||
background-color: #FAE7C4;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.as_block3 {
|
||||
width: calc(44% - 24px);
|
||||
font-weight: 700;
|
||||
background-color: #95D7EF;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.as_block3 span {
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
/* as- END */
|
||||
|
||||
/* promo__block */
|
||||
.promo__block {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 20px 16px;
|
||||
gap: 50px;
|
||||
background: #FFFFFF;
|
||||
border: 1px solid #000000;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.promo__block_text {
|
||||
width: 50%;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
color: #0D141C;
|
||||
padding-left: 130px;
|
||||
padding-right: 40px;
|
||||
}
|
||||
|
||||
.promo__block_text span {
|
||||
display: block;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.promo__block_btn-action {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 0px 28.2593px;
|
||||
width: 327px;
|
||||
min-width: 117.67px;
|
||||
max-width: 672.43px;
|
||||
height: 67.24px;
|
||||
background: #1A8FE6;
|
||||
border-radius: 16.8106px;
|
||||
text-align: left;
|
||||
font-weight: 700;
|
||||
font-size: 22.4142px;
|
||||
line-height: 34px;
|
||||
color: #F7FAFC;
|
||||
}
|
||||
|
||||
/* promo__block END */
|
||||
|
||||
/* as-advantages */
|
||||
.as-advantages {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
padding: 20px 16px;
|
||||
gap: 20px;
|
||||
background: #95D7EF;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.as_title {
|
||||
font-family: Roboto;
|
||||
font-weight: 900;
|
||||
font-size: 22px;
|
||||
color: #121417;
|
||||
}
|
||||
|
||||
.as_description {
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 20px;
|
||||
color: #0D141C;
|
||||
}
|
||||
|
||||
.as-advantages-wrapper {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
|
||||
}
|
||||
|
||||
.as-advantages__item {
|
||||
width: calc(25% - 6px);
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
padding: 16px;
|
||||
background: #FFFFFF;
|
||||
border: 1px solid #DBE3E6;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.as-advantages__item p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.as-advantages__item_logo {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.as-advantages__item_title {
|
||||
margin-bottom: 4px;
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
line-height: 20px;
|
||||
color: #121417;
|
||||
}
|
||||
|
||||
.as-advantages__item_description {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 21px;
|
||||
color: #5E7A8C;
|
||||
}
|
||||
|
||||
/* as-advantages END */
|
||||
|
||||
/* activities */
|
||||
.activities {
|
||||
background: #F7FAFC;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.as-activities-wrapper {
|
||||
gap: 70px;
|
||||
}
|
||||
|
||||
.as-activities__item {
|
||||
/* width: calc(25% - 50px); */
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.as-activities__item_logo {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
border: 1px solid #000000;
|
||||
border-radius: 12px;
|
||||
height: 173px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.as-activities__item_logo img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
/* activities END */
|
||||
/* as-teachers */
|
||||
.as-teachers {
|
||||
background: #95D7EF;
|
||||
}
|
||||
|
||||
.as-teachers .as-advantages-wrapper {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.as-teachers__item {
|
||||
max-width: 223px;
|
||||
min-width: 223px;
|
||||
background: #FFFFFF;
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 16px;
|
||||
border-radius: 8px;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.as-teachers__item_logo {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.as-teachers__item_logo img {
|
||||
width: 140px;
|
||||
height: 140px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.as-teachers__item .as-advantages__item_title {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.as-advantages__item_description {
|
||||
margin-top: -12px;
|
||||
}
|
||||
|
||||
/* as-teachers END */
|
||||
|
||||
/* as-schedule */
|
||||
.as-schedule {
|
||||
border-radius: 0;
|
||||
background: #F7FAFC;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.as-schedule-wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.as-schedule_title {
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
line-height: 28px;
|
||||
color: #121417;
|
||||
}
|
||||
|
||||
.as-schedule_li {
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 21px;
|
||||
color: #4F7896;
|
||||
}
|
||||
|
||||
/* as-schedule END */
|
||||
|
||||
/* as-price */
|
||||
.as-price {
|
||||
gap: 16px;
|
||||
background: #FAE7C4;
|
||||
}
|
||||
|
||||
.as-price__block {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.as-price_title {
|
||||
font-weight: 700;
|
||||
font-size: 22px;
|
||||
line-height: 28px;
|
||||
color: #0D141C;
|
||||
}
|
||||
|
||||
.as-price__block span {
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
color: #4F7896;
|
||||
}
|
||||
|
||||
.as-price_img {
|
||||
width: 500px;
|
||||
}
|
||||
|
||||
/* as-price END */
|
||||
|
||||
/* as-reviews */
|
||||
.as-reviews {
|
||||
background: #F7FAFC;
|
||||
}
|
||||
|
||||
.as-reviews-wrapper {
|
||||
position: relative;
|
||||
padding: 0 50px;
|
||||
}
|
||||
|
||||
.as-desctop {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.custom-button {
|
||||
top: calc(50% - 20px);
|
||||
}
|
||||
|
||||
.as-desctop .custom-button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.as-desctop .swiper-wrapper {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 25px;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.as-desctop .reviews__item {
|
||||
width: calc(50% - 21px);
|
||||
}
|
||||
|
||||
.as-reviews-wrapper .swiper {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.as-reviews__banner {
|
||||
padding: 24px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
background: #BF568E;
|
||||
border-radius: 8px;
|
||||
color: #F7FAFC;
|
||||
}
|
||||
|
||||
.as-reviews__banner p {
|
||||
font-weight: 500;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.as-reviews_stars {
|
||||
font-weight: 700;
|
||||
font-size: 24px;
|
||||
line-height: 30px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
/* as-reviews END */
|
||||
|
||||
/* as-faq */
|
||||
.as-faq {
|
||||
background: #95D7EF;
|
||||
}
|
||||
|
||||
.as-faq-wrapper {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.as-faq-wrapper .box__accordion_label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
background: #fff;
|
||||
border-radius: 8px;
|
||||
padding: 7px 15px !important;
|
||||
}
|
||||
|
||||
.as-faq-wrapper .accordion {
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.as-faq-wrapper .accordion .box__accordion {
|
||||
border-radius: 8px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.as-faq-wrapper svg {
|
||||
transition: .2s;
|
||||
}
|
||||
|
||||
.as-faq-wrapper .active svg {
|
||||
rotate: -180deg;
|
||||
}
|
||||
|
||||
.as-faq-wrapper .box__accordion_content-text {
|
||||
padding-left: 15px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.as-faq-wrapper .accordion .box__accordion .box__accordion_label::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* as-faq END */
|
||||
|
||||
/* as-sign-up */
|
||||
.as-sign-up {
|
||||
background: #FAE7C4;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.as-sign-up-wrapper {
|
||||
padding: 0 16px;
|
||||
}
|
||||
|
||||
.as-sign-up__item {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.as-sign-up__item-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.as-sign-up__item-content__title {
|
||||
font-weight: 500;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
color: #121417;
|
||||
}
|
||||
|
||||
.as-sign-up__item-content__text {
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
color: #5E7A8C;
|
||||
}
|
||||
|
||||
/* as-sign-up END*/
|
||||
|
||||
/* as-foto */
|
||||
.as-foto {
|
||||
background: #F7FAFC;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.as-foto-wrapper {
|
||||
position: relative;
|
||||
padding: 0 54px;
|
||||
}
|
||||
|
||||
.foto__item {
|
||||
height: 250px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: 1px solid #000000;
|
||||
border-radius: 12px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.foto__item img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.reviews-foto-prev {
|
||||
left: 0 !important;
|
||||
top: calc(50% - 12px);
|
||||
}
|
||||
|
||||
.reviews-foto-next {
|
||||
right: 0 !important;
|
||||
top: calc(50% - 12px);
|
||||
}
|
||||
|
||||
/* as-foto END */
|
||||
|
||||
.as-promo-form {
|
||||
background: #F7FAFC;
|
||||
gap: 30px;
|
||||
}
|
||||
|
||||
.as-promo-form .promo-form-left-part,
|
||||
.as-promo-form .promo-form-right-part {
|
||||
width: calc(50% - 10px);
|
||||
border: 1px solid #000000;
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.as-promo-form .promo-form-wrapper {
|
||||
background: none;
|
||||
}
|
||||
|
||||
.as-promo-form .b24-form-header-title,
|
||||
.as-promo-form .b24-form-field-agreement-link,
|
||||
.as-promo-form .b24-form-control-required,
|
||||
.as-promo-form [type="checkbox"],
|
||||
.as-promo-form .b24-form-sign-abuse {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.as-promo-form .promo-form-left-part {
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.as-promo-form .phone a {
|
||||
font-weight: 400;
|
||||
font-size: 30.6187px;
|
||||
line-height: 46px;
|
||||
color: #4F7896;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.as-promo-form .text-block_label {
|
||||
color: #0D141C !important;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
text-transform: math-auto;
|
||||
}
|
||||
|
||||
.as-promo-form .promo-form-right-part {
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
color: #0D141C;
|
||||
}
|
||||
|
||||
.as-promo-form .b24-form-control-icon-after .b24-form-control {
|
||||
border: none !important;
|
||||
background: #E8EDF2 !important;
|
||||
}
|
||||
|
||||
.as-promo-form .b24-form-btn-block {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.as-promo-form .b24-form-btn-block button {
|
||||
background-color: #1A8FE5 !important;
|
||||
padding: 12px;
|
||||
font-family: Roboto !important;
|
||||
text-transform: capitalize !important;
|
||||
}
|
||||
|
||||
.as-promo-form .promo-form-wrapper {
|
||||
padding: 0 60px;
|
||||
}
|
||||
|
||||
.as-promo-form .b24-form-header {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.as-promo-form .b24-form-wrapper {
|
||||
background: none;
|
||||
}
|
||||
|
||||
/* as-map */
|
||||
.as-map {
|
||||
background: #F7FAFC;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
/* as-map END */
|
||||
|
||||
.modal-camp-request-form {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: #000;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 99999;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 960px) {
|
||||
.as-container {
|
||||
background: #F7FAFC;
|
||||
}
|
||||
|
||||
.as-container {
|
||||
gap: 30px;
|
||||
}
|
||||
|
||||
.as-banner_img {
|
||||
height: 320px;
|
||||
}
|
||||
|
||||
.as-banner_title {
|
||||
font-size: 26px;
|
||||
line-height: 35px;
|
||||
}
|
||||
|
||||
.as-banner_blocks div {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.as_block1 {
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.as_block2 {
|
||||
width: 100%;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.as_block3 {
|
||||
width: 100%;
|
||||
background: none;
|
||||
gap: 24px;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 20px;
|
||||
padding-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.promo__block_btn-action {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 0px 20px;
|
||||
width: 234px;
|
||||
max-width: 480px;
|
||||
height: 48px;
|
||||
background: #1A8FE6;
|
||||
border-radius: 12px;
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.as-advantages {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.activities {
|
||||
padding: 0px 16px;
|
||||
}
|
||||
|
||||
.as-advantages-wrapper.mobile {
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
font-size: 16px;
|
||||
color: #0D141C;
|
||||
margin-left: 16px;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.as-advantages-wrapper li {
|
||||
list-style-type: disc;
|
||||
}
|
||||
|
||||
.as-foto-wrapper {
|
||||
padding: 0 24px;
|
||||
}
|
||||
|
||||
.activities .as-activities-wrapper {
|
||||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.as-activities__item {
|
||||
width: calc(50% - 6px);
|
||||
flex: none;
|
||||
}
|
||||
|
||||
.as-activities__item_logo {
|
||||
max-width: 175px;
|
||||
}
|
||||
|
||||
.as-teachers {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.as-advantages-wrapper {
|
||||
overflow: auto;
|
||||
padding-bottom: 10px;
|
||||
padding-right: 16px;
|
||||
}
|
||||
|
||||
.as-teachers .as-advantages-wrapper {
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
.as-reviews-wrapper .reviews-owl-prev {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.as-teachers__item {
|
||||
min-width: 225px;
|
||||
}
|
||||
|
||||
.as-advantages__item_title {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.as-price_title {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.as-price_img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.as-reviews__banner {
|
||||
padding: 10px 16px;
|
||||
}
|
||||
|
||||
.as-reviews-wrapper {
|
||||
padding: 0 0 0 30px;
|
||||
}
|
||||
|
||||
.reviews__item-wrapper {
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.as-reviews-wrapper .reviews__item-client_text {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.reviews__item-client_avatar {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.as-faq-wrapper {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.as-foto-wrapper {
|
||||
padding: 0 0 0 24px;
|
||||
}
|
||||
|
||||
.as-promo-form .promo-form-wrapper {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.as-promo-form .promo-form-left-part,
|
||||
.as-promo-form .promo-form-right-part {
|
||||
width: 100%;
|
||||
border: none;
|
||||
border-radius: none;
|
||||
}
|
||||
|
||||
.as-promo-form {
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.as-promo-form .b24-form-content form {
|
||||
padding: 0 !important;
|
||||
}
|
||||
}
|
||||
2193
wp-content/themes/dekart/assets/css/camp.css
Normal file
9625
wp-content/themes/dekart/assets/css/main.css
Normal file
89
wp-content/themes/dekart/assets/css/reset.css
Normal file
@ -0,0 +1,89 @@
|
||||
/*Обнуление*/
|
||||
* {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
*,
|
||||
*:before,
|
||||
*:after {
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
:focus,
|
||||
:active {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
a:focus,
|
||||
a:active {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
nav,
|
||||
footer,
|
||||
header,
|
||||
aside {
|
||||
display: block;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
font-size: 100%;
|
||||
font-size: 14px;
|
||||
-ms-text-size-adjust: 100%;
|
||||
-moz-text-size-adjust: 100%;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
input::-ms-clear {
|
||||
display: none;
|
||||
}
|
||||
|
||||
button {
|
||||
cursor: pointer;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
button::-moz-focus-inner {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
a,
|
||||
a:visited {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
ul li {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
img {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-size: inherit;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 5.9 KiB |
BIN
wp-content/themes/dekart/assets/images/404.webp
Normal file
|
After Width: | Height: | Size: 62 KiB |
|
After Width: | Height: | Size: 11 KiB |
BIN
wp-content/themes/dekart/assets/images/666-1.webp
Normal file
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 13 KiB |
BIN
wp-content/themes/dekart/assets/images/advantages__block-1.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
wp-content/themes/dekart/assets/images/advantages__block-2.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
wp-content/themes/dekart/assets/images/advantages__block-3.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
wp-content/themes/dekart/assets/images/advantages__block-4.png
Normal file
|
After Width: | Height: | Size: 7.1 KiB |
BIN
wp-content/themes/dekart/assets/images/advantages__block-5.png
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
BIN
wp-content/themes/dekart/assets/images/advantages__block-6.png
Normal file
|
After Width: | Height: | Size: 8.1 KiB |
1
wp-content/themes/dekart/assets/images/age.svg
Normal file
@ -0,0 +1 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="279" height="279" viewBox="0 0 279 279" fill="none"><rect width="279" height="279" rx="40" fill="#DAF8FF"></rect><path d="M90.77 202.505C83.422 202.505 76.7142 200.696 70.6465 197.077C64.5788 193.459 59.7358 188.616 56.1175 182.548C52.4992 176.481 50.69 169.773 50.69 162.425V117.335C50.69 109.987 52.4713 103.279 56.034 97.2115C59.6523 91.1438 64.4953 86.3008 70.563 82.6825C76.6307 79.0642 83.3663 77.255 90.77 77.255C98.118 77.255 104.854 79.092 110.977 82.766C117.156 86.44 121.943 91.283 125.339 97.295L119.327 100.802C116.488 95.8477 112.536 91.8675 107.47 88.8615C102.46 85.7998 96.8933 84.269 90.77 84.269C84.4797 84.269 78.8295 85.7998 73.8195 88.8615C68.8652 91.9232 64.9407 95.959 62.046 100.969C59.1513 105.979 57.704 111.434 57.704 117.335V147.729L55.032 144.556C58.539 138.043 63.4377 132.727 69.728 128.607C76.0183 124.432 83.0323 122.345 90.77 122.345C98.118 122.345 104.826 124.154 110.894 127.772C116.961 131.391 121.804 136.234 125.423 142.301C129.041 148.369 130.85 155.077 130.85 162.425C130.85 169.773 129.041 176.481 125.423 182.548C121.804 188.616 116.961 193.459 110.894 197.077C104.826 200.696 98.118 202.505 90.77 202.505ZM90.77 195.491C96.8933 195.491 102.46 194.016 107.47 191.065C112.48 188.115 116.46 184.135 119.411 179.125C122.361 174.115 123.836 168.548 123.836 162.425C123.836 156.302 122.361 150.735 119.411 145.725C116.46 140.715 112.48 136.735 107.47 133.784C102.46 130.834 96.8933 129.359 90.77 129.359C84.6467 129.359 79.08 130.834 74.07 133.784C69.06 136.735 65.0798 140.715 62.1295 145.725C59.1792 150.735 57.704 156.302 57.704 162.425C57.704 168.548 59.1792 174.115 62.1295 179.125C65.0798 184.135 69.06 188.115 74.07 191.065C79.08 194.016 84.6467 195.491 90.77 195.491ZM187.483 178.29V143.387H152.58V136.373H187.483V101.47H194.497V136.373H229.4V143.387H194.497V178.29H187.483Z" fill="#13ACD0"></path></svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
3
wp-content/themes/dekart/assets/images/arrow-menu.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="18" height="12" viewBox="0 0 18 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M1 1L8.21913 10.0239C8.61946 10.5243 9.38054 10.5243 9.78087 10.0239L17 0.999999" stroke="white" stroke-width="2" stroke-linecap="round"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 251 B |
@ -0,0 +1,3 @@
|
||||
<svg width="17" height="11" viewBox="0 0 17 11" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M8.49996 8.41564L2.42224 0.580298C2.12006 0.19072 1.56462 0.124351 1.18218 0.434629L8.49996 8.41564ZM8.49996 8.41564L14.5777 0.580297L14.5777 0.580232C14.8799 0.191094 15.4353 0.124764 15.8177 0.434569L15.8178 0.434636C16.1982 0.743334 16.2604 1.30586 15.9603 1.69335L15.9602 1.69344L9.19124 10.4198C9.19123 10.4198 9.19123 10.4198 9.19122 10.4198C9.02471 10.6346 8.76997 10.7609 8.49996 10.7609C8.22994 10.7609 7.97519 10.6346 7.80869 10.4198L1.03975 1.69345C0.911628 1.52832 0.85 1.33149 0.85 1.13724C0.85 0.874176 0.963013 0.612421 1.18217 0.434636L8.49996 8.41564Z" fill="#006DB7" stroke="#006DB7" stroke-width="0.3"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 735 B |
18
wp-content/themes/dekart/assets/images/arrow_accordion_.svg
Normal file
|
After Width: | Height: | Size: 12 KiB |
@ -0,0 +1,3 @@
|
||||
<svg width="17" height="11" viewBox="0 0 17 11" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M8.49996 8.41564L2.42224 0.580298C2.12006 0.19072 1.56462 0.124351 1.18218 0.434629L8.49996 8.41564ZM8.49996 8.41564L14.5777 0.580297L14.5777 0.580232C14.8799 0.191094 15.4353 0.124764 15.8177 0.434569L15.8178 0.434636C16.1982 0.743334 16.2604 1.30586 15.9603 1.69335L15.9602 1.69344L9.19124 10.4198C9.19123 10.4198 9.19123 10.4198 9.19122 10.4198C9.02471 10.6346 8.76997 10.7609 8.49996 10.7609C8.22994 10.7609 7.97519 10.6346 7.80869 10.4198L1.03975 1.69345C0.911628 1.52832 0.85 1.33149 0.85 1.13724C0.85 0.874176 0.963013 0.612421 1.18217 0.434636L8.49996 8.41564Z" fill="#BF568E" stroke="#BF568E" stroke-width="0.3"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 735 B |
@ -0,0 +1,9 @@
|
||||
<svg width="152" height="152" viewBox="0 0 152 152" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M75.9756 137.085C109.725 137.085 137.085 109.725 137.085 75.9758C137.085 42.226 109.725 14.8665 75.9756 14.8665C42.2259 14.8665 14.8663 42.226 14.8663 75.9758C14.8663 109.725 42.2259 137.085 75.9756 137.085Z" fill="#BF568E"/>
|
||||
<path d="M106.083 107.407C103.05 109.323 98.9926 108.965 96.3495 106.322L95.3898 105.362C94.2989 104.986 93.2714 104.371 92.4004 103.501L79.3608 90.4608L63.5 106.322C60.4344 109.387 55.4656 109.387 52.4 106.322C52.1207 106.042 51.8757 105.742 51.6468 105.434C50.4785 105.068 49.3778 104.427 48.4514 103.5C45.3861 100.435 45.3861 95.466 48.4508 92.4007L64.8755 75.976L48.4508 59.551C45.386 56.4857 45.386 51.5163 48.4508 48.451C51.5155 45.3858 56.4851 45.3858 59.5507 48.451L60.5104 49.4107C61.6014 49.7865 62.6288 50.4013 63.499 51.2723L68.6349 56.4078C63.5998 43.7978 60.3218 30.4076 60.3918 16.8745C34.191 23.7645 14.8661 47.6118 14.8661 75.9756C14.8661 109.725 42.2256 137.085 75.9753 137.085C93.8332 137.085 109.9 129.424 121.073 117.21C116.325 114.545 111.731 111.612 107.344 108.355C106.922 108.042 106.501 107.725 106.083 107.407Z" fill="#BF568E"/>
|
||||
<path d="M103.5 48.451C103.779 48.7305 104.024 49.0299 104.253 49.3383C105.422 49.7046 106.523 50.3461 107.449 51.2723C110.514 54.3373 110.514 59.3067 107.449 62.372L105.935 63.8871C107.744 64.3919 109.624 64.6829 111.568 64.7154C121.447 64.8805 125.188 56.5649 121.638 47.9706C117.738 38.5268 110.008 30.2862 100.538 26.3197C94.6346 23.847 82.1513 19.9672 79.1129 28.7151C76.6988 35.6644 83.0056 43.7211 86.8068 48.9493C87.511 49.9174 88.2545 50.8774 89.034 51.8184L92.401 48.4509C95.4659 45.3857 100.436 45.3857 103.5 48.451Z" fill="#C48AA9"/>
|
||||
<path d="M59.5507 103.5C57.4122 105.64 54.3466 106.281 51.6467 105.434C51.8756 105.742 52.1207 106.042 52.4 106.321C55.4655 109.387 60.4343 109.387 63.4999 106.321L79.3608 90.4606L75.9754 87.0752L59.5507 103.5Z" fill="#6A0B08"/>
|
||||
<path d="M60.5105 49.4109L75.9754 64.8763L76.5394 64.3123L68.6349 56.408L63.4991 51.2724C62.6289 50.4014 61.6014 49.7867 60.5105 49.4109Z" fill="#6A0B08"/>
|
||||
<path d="M107.449 51.2724C106.523 50.3462 105.422 49.7046 104.253 49.3384C106.531 52.4107 106.287 56.765 103.5 59.551L87.0753 75.976L103.5 92.4009C106.566 95.4659 106.566 100.435 103.5 103.5C101.306 105.695 98.1383 106.309 95.3897 105.362L96.3494 106.322C98.9925 108.965 103.05 109.323 106.083 107.407C106.566 107.101 107.027 106.743 107.449 106.322C110.514 103.257 110.514 98.2872 107.449 95.2219L91.0244 78.7969L105.935 63.8872L107.449 62.3721C110.514 59.3068 110.514 54.3374 107.449 51.2724Z" fill="#6A0B08"/>
|
||||
<path d="M103.5 92.4009L87.0753 75.976L103.5 59.551C106.287 56.7649 106.531 52.4106 104.253 49.3384C104.024 49.03 103.78 48.7306 103.5 48.4511C100.436 45.3858 95.4659 45.3858 92.4009 48.4511L89.034 51.8186L76.5394 64.3122L75.9754 64.8763L60.5105 49.4108L59.5508 48.4511C56.4852 45.3859 51.5155 45.3859 48.4508 48.4511C45.3861 51.5164 45.3861 56.4858 48.4508 59.5511L64.8755 75.976L48.4508 92.4007C45.3861 95.466 45.3861 100.435 48.4514 103.5C49.3778 104.427 50.4786 105.068 51.6468 105.434C54.3466 106.281 57.4122 105.64 59.5508 103.5L75.9754 87.0754L79.3608 90.4608L92.4004 103.501C93.2714 104.371 94.2989 104.986 95.3898 105.362C98.1383 106.309 101.306 105.695 103.5 103.5C106.566 100.435 106.566 95.4659 103.5 92.4009Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.3 KiB |
@ -0,0 +1,9 @@
|
||||
<svg width="44" height="44" viewBox="0 0 44 44" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M21.9931 39.6825C31.7628 39.6825 39.6826 31.7626 39.6826 21.9929C39.6826 12.2233 31.7628 4.30341 21.9931 4.30341C12.2234 4.30341 4.30356 12.2233 4.30356 21.9929C4.30356 31.7626 12.2234 39.6825 21.9931 39.6825Z" fill="#006db7"/>
|
||||
<path d="M30.7082 31.0915C29.8303 31.6461 28.6558 31.5425 27.8907 30.7774L27.6128 30.4995C27.297 30.3906 26.9996 30.2127 26.7475 29.9607L22.9729 26.186L18.3816 30.7773C17.4942 31.6646 16.0558 31.6646 15.1684 30.7773C15.0876 30.6965 15.0167 30.6095 14.9504 30.5204C14.6122 30.4143 14.2936 30.2287 14.0254 29.9606C13.1381 29.0733 13.1381 27.6349 14.0252 26.7475L18.7797 21.993L14.0252 17.2384C13.1381 16.3511 13.1381 14.9126 14.0252 14.0253C14.9124 13.138 16.351 13.138 17.2384 14.0253L17.5162 14.3031C17.832 14.4119 18.1294 14.5898 18.3813 14.842L19.868 16.3286C18.4105 12.6783 17.4616 8.80218 17.4818 4.8847C9.89739 6.87918 4.30333 13.7823 4.30333 21.9929C4.30333 31.7626 12.2232 39.6824 21.9928 39.6824C27.1622 39.6824 31.8131 37.4647 35.0475 33.9293C33.6732 33.1578 32.3433 32.3086 31.0732 31.366C30.951 31.2753 30.8294 31.1836 30.7082 31.0915Z" fill="#006db7"/>
|
||||
<path d="M29.9606 14.0253C30.0414 14.1062 30.1123 14.1928 30.1786 14.2821C30.5168 14.3881 30.8357 14.5738 31.1038 14.842C31.9909 15.7292 31.9909 17.1677 31.1038 18.055L30.6653 18.4936C31.189 18.6397 31.7331 18.7239 32.2961 18.7334C35.1556 18.7812 36.2386 16.374 35.211 13.8862C34.0821 11.1525 31.8445 8.76703 29.1031 7.61882C27.3942 6.90304 23.7806 5.77994 22.9011 8.31222C22.2023 10.3239 24.0279 12.6561 25.1283 14.1695C25.3321 14.4497 25.5474 14.7276 25.773 15L26.7476 14.0252C27.6349 13.1379 29.0734 13.1379 29.9606 14.0253Z" fill="#0797fae6"/>
|
||||
<path d="M17.2384 29.9606C16.6193 30.5799 15.7319 30.7655 14.9504 30.5204C15.0166 30.6095 15.0876 30.6964 15.1684 30.7773C16.0558 31.6646 17.4941 31.6646 18.3816 30.7773L22.9729 26.186L21.9929 25.206L17.2384 29.9606Z" fill="#6A0B08"/>
|
||||
<path d="M17.5162 14.3031L21.9929 18.7799L22.1562 18.6167L19.868 16.3286L18.3813 14.842C18.1294 14.5898 17.832 14.4119 17.5162 14.3031Z" fill="#6A0B08"/>
|
||||
<path d="M31.1038 14.842C30.8357 14.5738 30.5168 14.3881 30.1786 14.2821C30.8381 15.1715 30.7672 16.4319 29.9606 17.2384L25.206 21.993L29.9606 26.7476C30.848 27.6348 30.848 29.0732 29.9606 29.9606C29.3253 30.5958 28.4085 30.7737 27.6128 30.4995L27.8906 30.7773C28.6557 31.5425 29.8303 31.6461 30.7082 31.0915C30.8481 31.003 30.9816 30.8994 31.1035 30.7772C31.9909 29.89 31.9909 28.4515 31.1038 27.5642L26.3492 22.8096L30.6653 18.4936L31.1038 18.055C31.9909 17.1677 31.9909 15.7292 31.1038 14.842Z" fill="#6A0B08"/>
|
||||
<path d="M29.9606 26.7476L25.206 21.993L29.9606 17.2384C30.7672 16.4319 30.838 15.1715 30.1786 14.2821C30.1123 14.1929 30.0414 14.1062 29.9606 14.0253C29.0734 13.138 27.6349 13.138 26.7476 14.0253L25.773 15.0001L22.1562 18.6167L21.9929 18.78L17.5162 14.3031L17.2384 14.0253C16.351 13.138 14.9124 13.138 14.0252 14.0253C13.1381 14.9126 13.1381 16.3511 14.0252 17.2385L18.7797 21.993L14.0252 26.7476C13.1381 27.6349 13.1381 29.0733 14.0254 29.9606C14.2936 30.2287 14.6122 30.4143 14.9504 30.5204C15.7319 30.7656 16.6193 30.5799 17.2384 29.9606L21.9929 25.206L22.9729 26.186L26.7475 29.9607C26.9996 30.2128 27.297 30.3906 27.6128 30.4996C28.4085 30.7737 29.3254 30.5959 29.9606 29.9606C30.848 29.0733 30.848 27.6349 29.9606 26.7476Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.3 KiB |
BIN
wp-content/themes/dekart/assets/images/calendar+.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
wp-content/themes/dekart/assets/images/calendar.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 4.4 KiB |
1
wp-content/themes/dekart/assets/images/fon.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1160" height="112" viewBox="0 0 1160 112" fill="none"><g clip-path="url(#clip0_1398_566)"><rect width="1160" height="112" fill="#3BB273"/><path d="M1146.8 -64.7996C1069.86 -36.7893 990.67 -11.2723 917.191 25.3813C887.042 40.4208 860.1 60.048 833.682 80.7494C787.183 117.187 741.448 155.366 709.749 205.785C709.268 206.55 685.152 239.669 693.188 246.899C697.831 251.075 717.451 244.167 721.469 242.893C763.45 229.588 802.278 204.318 839.631 181.623C898.528 145.838 958.439 109.479 1009.76 63.0793C1029.25 45.4531 1065.93 14.2132 1058.67 -16.527C1054.69 -33.4158 1039.27 -43.3352 1023.93 -49.2C984.036 -64.4508 938.363 -64.3165 896.343 -63.2912C825.758 -61.5688 752.915 -55.7084 683.822 -41.0549C648.864 -33.6411 614.442 -23.4777 580.183 -13.4085C539.254 -1.3791 497.967 10.6004 458.08 25.8335C406.763 45.4318 351.695 69.1814 310.248 106.272C298.601 116.694 286.832 131.736 287.496 148.358C288.146 164.635 304.554 170.94 318.239 174.926C354.959 185.622 394.367 180.579 431.549 175.78C499.775 166.973 565.796 151.112 630.762 128.696C679.471 111.889 728.91 94.6493 773.54 68.4712C790.329 58.6239 809.66 47.206 816.306 27.6246C819.858 17.1594 814.384 9.04382 806.153 2.74242C785.751 -12.877 760.855 -16.3902 735.971 -18.6288C689.774 -22.7847 643.663 -20.1278 597.614 -15.2727C535.552 -8.72939 474.907 4.12489 415.335 22.6905C363.301 38.9068 310.024 57.9462 262.981 85.9413C240.004 99.6149 212.027 116.908 200.32 142.309C194.997 153.858 191.714 165.695 200.937 176.109C213.683 190.499 232.372 191.195 250.356 191.492C288.246 192.118 324.312 182.614 360.209 171.196C412.834 154.458 464.859 134.445 514.83 110.888C524.41 106.373 612.647 67.7321 576.146 46.4105C547.273 29.5451 506.825 32.7446 475.009 33.4818C369.419 35.9285 264.334 47.0467 160.228 64.496C69.0227 79.783 -21.6951 98.0316 -111.569 119.841C-130.901 124.532 -149.896 129.961 -169.426 133.775" stroke="white" stroke-opacity="0.08" stroke-width="3" stroke-linecap="round"/></g><defs><clipPath id="clip0_1398_566"><rect width="1160" height="112" fill="white"/></clipPath></defs></svg>
|
||||
|
After Width: | Height: | Size: 2.0 KiB |
BIN
wp-content/themes/dekart/assets/images/girl_and_a_boy.webp
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
wp-content/themes/dekart/assets/images/graduation-cap-icon.webp
Normal file
|
After Width: | Height: | Size: 8.0 KiB |
1
wp-content/themes/dekart/assets/images/green-star.svg
Normal file
@ -0,0 +1 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="203" height="203" viewBox="0 0 203 203" fill="none"><path d="M180.771 85.2052C194.2 87.0327 203.119 94.2817 202.997 101.45C203.2 108.699 194.2 115.927 180.771 117.694C153.467 122.121 140.79 125.288 132.989 132.903C125.188 140.517 122.202 153.371 117.752 180.661C115.924 194.083 108.671 202.997 101.5 202.997C94.2676 203.18 87.015 194.185 85.2475 180.661C80.7984 153.371 77.6292 140.7 70.0108 132.903C62.3925 125.105 49.5327 122.121 22.2285 117.694C8.82021 115.866 -0.118531 108.617 0.00336263 101.45C-0.199793 94.2005 8.82021 86.9515 22.2285 85.2052C49.5327 80.7583 62.2096 77.6109 70.0108 69.9761C77.812 62.3412 80.7984 49.5284 85.2475 22.2176C87.0759 8.81595 94.3286 -0.118472 101.5 0.00336091C108.753 -0.199694 116.005 8.81595 117.752 22.2176C127.849 75.9053 127.057 75.1337 180.771 85.2052Z" fill="#3BB273"></path></svg>
|
||||
|
After Width: | Height: | Size: 911 B |
1
wp-content/themes/dekart/assets/images/group.svg
Normal file
|
After Width: | Height: | Size: 9.5 KiB |
1
wp-content/themes/dekart/assets/images/header-arrow.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><defs><style>.cls-1{fill:none;}</style></defs><title/><g data-name="Layer 2" id="Layer_2"><path d="M16,21a1,1,0,0,1-.71-.29l-8-8a1,1,0,1,1,1.42-1.42L16,18.59l7.29-7.3a1,1,0,0,1,1.42,1.42l-8,8A1,1,0,0,1,16,21Z" fill="white"/></g><g id="frame"><rect class="cls-1" height="32" width="32"/></g></svg>
|
||||
|
After Width: | Height: | Size: 356 B |
4
wp-content/themes/dekart/assets/images/header-arrow_.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg width="18" height="14" viewBox="0 0 18 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M5.04821 10.9843L1.42868 7.59263C0.519347 6.74054 0.000138041 5.52705 0.000138097 4.25417L0.000138242 0.927262C0.000138277 0.125927 0.913113 -0.296681 1.48563 0.239917L9 7.28135L7.59614 9.94394L5.04821 10.9843Z" fill="white"/>
|
||||
<path d="M7.72145 13.4893L5.04808 10.9843L8.9999 7.28129L16.5145 0.239655C17.087 -0.296733 18 0.125875 18 0.927209L18 4.25387C18 5.52679 17.4808 6.74024 16.5715 7.59234L10.2783 13.4893C9.55186 14.1702 8.4479 14.1702 7.72145 13.4893Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 588 B |
14
wp-content/themes/dekart/assets/images/icon-category.svg
Normal file
@ -0,0 +1,14 @@
|
||||
<svg width="31" height="30" viewBox="0 0 31 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_2027_4669)">
|
||||
<path d="M15.6488 23.1641C11.1621 23.1234 7.51905 19.4897 7.47825 15.0144C7.45884 12.8869 8.33876 10.8321 9.81187 9.31146C11.3508 7.72296 13.4669 6.88451 15.6488 6.8647C17.7345 6.84578 17.7364 3.61791 15.6488 3.63686C9.39755 3.69361 4.29905 8.77899 4.24215 15.0144C4.18526 21.2503 9.4832 26.336 15.6488 26.392C17.7364 26.4108 17.7345 23.183 15.6488 23.1641Z" fill="#4C5AA3"/>
|
||||
<path d="M16.1827 6.8647C20.6694 6.90543 24.3125 10.5391 24.3533 15.0144C24.3728 17.1419 23.4928 19.1967 22.0196 20.7173C20.4807 22.3059 18.3646 23.1443 16.1827 23.1641C14.0969 23.183 14.0951 26.4108 16.1827 26.392C22.434 26.3352 27.5325 21.2498 27.5894 15.0144C27.6463 8.77838 22.3483 3.69288 16.1827 3.63686C14.0951 3.61791 14.0969 6.84581 16.1827 6.8647Z" fill="#D860B5"/>
|
||||
<path d="M12.939 14.9579C12.9377 13.2826 14.1944 11.9381 15.847 11.8734C17.5257 11.8078 18.8765 13.1743 18.9394 14.7741C18.974 15.6529 19.6492 16.388 20.5574 16.388C21.4133 16.388 22.2101 15.6536 22.1755 14.7741C22.041 11.3569 19.3021 8.64332 15.847 8.64563C12.4182 8.64792 9.70056 11.6109 9.70288 14.9579C9.70435 17.0393 12.9404 17.0395 12.939 14.9579Z" fill="#FD9E22"/>
|
||||
<path d="M18.8943 15.1178C18.8625 16.7622 17.5416 18.0796 15.8931 18.1113C14.2437 18.143 12.9228 16.7146 12.892 15.1178C12.8518 13.039 9.61565 13.0351 9.65589 15.1178C9.72221 18.55 12.4521 21.2729 15.8931 21.3391C19.3339 21.4053 22.0659 18.4502 22.1303 15.1178C22.1706 13.0351 18.9345 13.039 18.8943 15.1178Z" fill="#F35A50"/>
|
||||
<path d="M30.681 15.0144C30.681 15.6794 30.122 16.2185 29.4323 16.2185H24.1601C23.4705 16.2185 22.9114 15.6794 22.9114 15.0144C22.9114 14.3495 23.4705 13.8104 24.1601 13.8104H29.4323C30.122 13.8104 30.681 14.3495 30.681 15.0144ZM8.9127 15.0676C8.9127 15.7325 8.35367 16.2716 7.6639 16.2716H2.39169C1.7021 16.2716 1.14307 15.7326 1.14307 15.0676C1.14307 14.4026 1.7021 13.8635 2.39169 13.8635H7.6639C8.35367 13.8635 8.9127 14.4026 8.9127 15.0676ZM15.8814 7.99106C15.2149 7.99106 14.6744 7.43357 14.6744 6.74556V1.4868C14.6744 0.799002 15.2149 0.241394 15.8814 0.241394C16.5482 0.241394 17.0886 0.799002 17.0886 1.4868V6.74556C17.0886 7.43354 16.5482 7.99112 15.8814 7.99106ZM15.8814 29.8569C15.2149 29.8569 14.6744 29.2994 14.6744 28.6114V23.3526C14.6744 22.6648 15.2149 22.1071 15.8814 22.1071C16.5482 22.1071 17.0886 22.6648 17.0886 23.3526V28.6115C17.0886 29.2994 16.5482 29.8569 15.8814 29.8569Z" fill="#F9D73B"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_2027_4669">
|
||||
<rect width="30.0767" height="30" fill="white" transform="translate(0.877197)"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
14
wp-content/themes/dekart/assets/images/icon-direction.svg
Normal file
@ -0,0 +1,14 @@
|
||||
<svg width="31" height="30" viewBox="0 0 31 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_2027_4687)">
|
||||
<path d="M29.2292 5.47107H2.71134C1.96303 5.47107 1.35645 6.09149 1.35645 6.85675V7.0659C1.35645 7.83117 1.96303 8.45153 2.71134 8.45153H29.2292C29.9776 8.45153 30.5841 7.83117 30.5841 7.0659V6.85675C30.5841 6.09149 29.9776 5.47107 29.2292 5.47107Z" fill="#4A5699"/>
|
||||
<path d="M29.2292 24.0732H2.71134C1.96303 24.0732 1.35645 24.6935 1.35645 25.4588V25.668C1.35645 26.4332 1.96303 27.0537 2.71134 27.0537H29.2292C29.9776 27.0537 30.5841 26.4332 30.5841 25.668V25.4588C30.5841 24.6935 29.9776 24.0732 29.2292 24.0732Z" fill="#C45FA0"/>
|
||||
<path d="M2.91597 5.47107H2.70796C1.94074 5.47107 1.31885 6.09149 1.31885 6.85675V25.668C1.31885 26.4332 1.94074 27.0536 2.70796 27.0536H2.91597C3.68319 27.0536 4.30508 26.4332 4.30508 25.668V6.85675C4.30511 6.09149 3.68319 5.47107 2.91597 5.47107ZM29.1951 5.47107H28.9871C28.2199 5.47107 27.5979 6.09149 27.5979 6.85675V25.668C27.5979 26.4332 28.2199 27.0536 28.9871 27.0536H29.1951C29.9623 27.0536 30.5842 26.4332 30.5842 25.668V6.85675C30.5842 6.09149 29.9623 5.47107 29.1951 5.47107Z" fill="#F39A2B"/>
|
||||
<path d="M13.4077 12.7681H13.1997C12.4325 12.7681 11.8105 13.3884 11.8105 14.1537V15.2879C11.8105 16.0531 12.4325 16.6735 13.1997 16.6735H13.4077C14.1749 16.6735 14.7969 16.0531 14.7969 15.2879V14.1537C14.7969 13.3884 14.1749 12.7681 13.4077 12.7681ZM18.5564 12.7681H18.3484C17.5813 12.7681 16.9594 13.3884 16.9594 14.1537V15.2879C16.9594 16.0531 17.5813 16.6735 18.3484 16.6735H18.5564C19.3236 16.6735 19.9457 16.0531 19.9457 15.2879V14.1537C19.9457 13.3884 19.3236 12.7681 18.5564 12.7681ZM23.7053 12.7681H23.4973C22.73 12.7681 22.1081 13.3884 22.1081 14.1537V15.2879C22.1081 16.0531 22.73 16.6735 23.4973 16.6735H23.7053C24.4725 16.6735 25.0943 16.0531 25.0943 15.2879V14.1537C25.0943 13.3884 24.4725 12.7681 23.7053 12.7681ZM23.7053 17.9069H23.4973C22.73 17.9069 22.1081 18.5271 22.1081 19.2924V20.4267C22.1081 21.1917 22.73 21.8122 23.4973 21.8122H23.7053C24.4725 21.8122 25.0943 21.1917 25.0943 20.4267V19.2924C25.0943 18.5271 24.4725 17.9069 23.7053 17.9069ZM18.5564 17.9069H18.3484C17.5813 17.9069 16.9594 18.5271 16.9594 19.2924V20.4267C16.9594 21.1917 17.5813 21.8122 18.3484 21.8122H18.5564C19.3236 21.8122 19.9457 21.1917 19.9457 20.4267V19.2924C19.9457 18.5271 19.3236 17.9069 18.5564 17.9069ZM13.4077 17.9069H13.1997C12.4325 17.9069 11.8105 18.5271 11.8105 19.2924V20.4267C11.8105 21.1917 12.4325 21.8122 13.1997 21.8122H13.4077C14.1749 21.8122 14.7969 21.1917 14.7969 20.4267V19.2924C14.7969 18.5271 14.1749 17.9069 13.4077 17.9069ZM8.25893 17.9069H8.05098C7.2837 17.9069 6.66187 18.5271 6.66187 19.2924V20.4267C6.66187 21.1917 7.2837 21.8122 8.05098 21.8122H8.25893C9.02621 21.8122 9.64804 21.1917 9.64804 20.4267V19.2924C9.64804 18.5271 9.02621 17.9069 8.25893 17.9069Z" fill="#E5594F"/>
|
||||
<path d="M9.66663 2.69281H9.44825C8.68091 2.69281 8.05908 3.2784 8.05908 4.00089V9.14767C8.05908 9.87005 8.68091 10.4557 9.44825 10.4557H9.66663C10.434 10.4557 11.0558 9.87005 11.0558 9.14767V4.00089C11.0558 3.2784 10.4339 2.69281 9.66663 2.69281ZM22.0237 2.69281H21.8052C21.0381 2.69281 20.4162 3.2784 20.4162 4.00089V9.14767C20.4162 9.87005 21.0381 10.4557 21.8052 10.4557H22.0237C22.791 10.4557 23.4128 9.87005 23.4128 9.14767V4.00089C23.4128 3.2784 22.791 2.69281 22.0237 2.69281Z" fill="#6277BA"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_2027_4687">
|
||||
<rect width="30.0767" height="30" fill="white" transform="translate(0.877197)"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.5 KiB |
3
wp-content/themes/dekart/assets/images/icon-home.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="21" height="16" viewBox="0 0 21 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M11.6473 10.6897H12.1473V11.1897V15.4692H16.4353C16.5143 15.4692 16.5756 15.4464 16.6432 15.3789C16.7108 15.3114 16.7333 15.2506 16.7333 15.1726V9.36988L10.0513 3.87132L3.36922 9.36988V15.1726C3.36922 15.2506 3.39178 15.3114 3.45937 15.3789C3.52698 15.4464 3.5883 15.4692 3.66723 15.4692H7.95527V11.1897V10.6897H8.45527H11.6473ZM10.3711 1.74419L18.9226 8.86186L19.5643 8.09734L16.9141 5.89882L16.7333 5.74886V5.514V0.537441H14.5413V2.86285V3.93139L13.7209 3.24672L10.6815 0.710072C10.5114 0.572951 10.3095 0.500103 10.0513 0.500103C9.79293 0.500103 9.59094 0.573036 9.42075 0.710316L0.538196 8.09725L1.17996 8.86186L9.73142 1.74419L10.0513 1.47796L10.3711 1.74419Z" fill="white" stroke="#8D8D8D"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 810 B |
5
wp-content/themes/dekart/assets/images/icon-location.svg
Normal file
@ -0,0 +1,5 @@
|
||||
<svg width="16" height="25" viewBox="0 0 16 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M9.88146 19.7461C9.24822 21.5132 6.74918 21.5132 6.11594 19.7461L2.23803 8.92469C1.77115 7.62185 2.73682 6.25 4.12079 6.25L11.8766 6.25C13.2606 6.25 14.2263 7.62185 13.7594 8.92469L9.88146 19.7461Z" fill="#BF568E"/>
|
||||
<circle cx="7.99884" cy="6.89654" r="6.03448" fill="#BF568E"/>
|
||||
<circle cx="7.99978" cy="6.89651" r="2.58621" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 452 B |
3
wp-content/themes/dekart/assets/images/icon-phone-w.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="11" height="19" viewBox="0 0 11 19" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M8.9156 0.25H2.66852C1.5909 0.25 0.716309 1.16636 0.716309 2.29545V16.2045C0.716309 17.3336 1.5909 18.25 2.66852 18.25H8.9156C9.99322 18.25 10.8678 17.3336 10.8678 16.2045V2.29545C10.8678 1.16636 9.99322 0.25 8.9156 0.25ZM5.79206 17.4318C5.14392 17.4318 4.62073 16.8836 4.62073 16.2045C4.62073 15.5255 5.14392 14.9773 5.79206 14.9773C6.44019 14.9773 6.96339 15.5255 6.96339 16.2045C6.96339 16.8836 6.44019 17.4318 5.79206 17.4318ZM9.30604 14.1591H2.27808V2.70455H9.30604V14.1591Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 608 B |
10
wp-content/themes/dekart/assets/images/icon-phone.svg
Normal file
@ -0,0 +1,10 @@
|
||||
<svg width="19" height="21" viewBox="0 0 19 21" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_193_371)">
|
||||
<path d="M12.271 0.875H5.93766C4.84516 0.875 3.9585 1.855 3.9585 3.0625V17.9375C3.9585 19.145 4.84516 20.125 5.93766 20.125H12.271C13.3635 20.125 14.2502 19.145 14.2502 17.9375V3.0625C14.2502 1.855 13.3635 0.875 12.271 0.875ZM9.10433 19.25C8.44725 19.25 7.91683 18.6637 7.91683 17.9375C7.91683 17.2113 8.44725 16.625 9.10433 16.625C9.76141 16.625 10.2918 17.2113 10.2918 17.9375C10.2918 18.6637 9.76141 19.25 9.10433 19.25ZM12.6668 15.75H5.54183V3.5H12.6668V15.75Z" fill="#BF568E"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_193_371">
|
||||
<rect width="19" height="21" fill="white"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 728 B |
16
wp-content/themes/dekart/assets/images/icon-price.svg
Normal file
@ -0,0 +1,16 @@
|
||||
<svg width="31" height="30" viewBox="0 0 31 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_2027_4654)">
|
||||
<path d="M10.5741 21.3159L10.4829 21.254C9.77815 20.7746 8.81649 20.955 8.33526 21.657L4.41292 27.3759C3.93155 28.0778 4.11274 29.0355 4.81764 29.5146L4.90869 29.5767C5.61361 30.0562 6.57527 29.8757 7.0565 29.1738L10.9789 23.4548C11.4602 22.7529 11.279 21.7954 10.5741 21.3159Z" fill="#E5594F"/>
|
||||
<path d="M14.3275 21.3159L14.2365 21.254C13.5316 20.7746 12.5699 20.955 12.0886 21.657L8.16633 27.3759C7.68499 28.0778 7.86615 29.0355 8.57093 29.5146L8.66225 29.5767C9.36702 30.0562 10.3287 29.8757 10.8099 29.1738L14.7321 23.4548C15.2137 22.7529 15.0325 21.7954 14.3275 21.3159Z" fill="#F0D043"/>
|
||||
<path d="M27.1675 27.3695L23.253 21.6799C22.7726 20.9815 21.8129 20.8021 21.1094 21.2788L21.0183 21.3406C20.3149 21.8176 20.1341 22.7702 20.6145 23.4684L24.5291 29.158C25.0095 29.8564 25.9692 30.0361 26.6726 29.559L26.7637 29.4975C27.4672 29.0205 27.6479 28.0679 27.1675 27.3695Z" fill="#E5594F"/>
|
||||
<path d="M23.4216 27.3695L19.507 21.6799C19.0266 20.9815 18.0669 20.8021 17.3633 21.2788L17.2724 21.3406C16.5688 21.8176 16.388 22.7702 16.8685 23.4684L20.783 29.158C21.2634 29.8564 22.2231 30.0361 22.9267 29.559L23.0176 29.4975C23.7212 29.0205 23.902 28.0679 23.4216 27.3695Z" fill="#F0D043"/>
|
||||
<path d="M21.7974 10.6842L17.8381 9.9252L15.8915 6.40143L13.9447 9.9252L9.9856 10.6842L12.7417 13.6212L12.2413 17.6141L15.8915 15.9053L19.5416 17.6141L19.0412 13.6212L21.7974 10.6842Z" fill="#F39A2B"/>
|
||||
<path d="M24.481 12.7293C24.4382 17.4343 20.6082 21.2545 15.8912 21.2973C13.6488 21.3176 11.4832 20.395 9.88033 18.8502C8.20628 17.2367 7.32251 15.0175 7.3016 12.7294C7.28175 10.5512 3.8935 10.5493 3.91342 12.7294C3.97316 19.2771 9.32664 24.6173 15.8912 24.6768C22.4563 24.7364 27.8103 19.1873 27.8692 12.7294C27.8891 10.5492 24.5009 10.5511 24.481 12.7293Z" fill="#4A5699"/>
|
||||
<path d="M7.3016 12.1699C7.34454 7.46499 11.1741 3.64474 15.8912 3.60188C18.1336 3.58149 20.2993 4.50425 21.902 6.04908C23.5761 7.6626 24.4601 9.88175 24.481 12.1699C24.5009 14.3481 27.8891 14.35 27.8692 12.1699C27.8095 5.62222 22.4557 0.281958 15.8912 0.222339C9.32605 0.16272 3.97231 5.71199 3.91342 12.1699C3.8935 14.35 7.28175 14.3481 7.3016 12.1699Z" fill="#C45FA0"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_2027_4654">
|
||||
<rect width="30.0767" height="30" fill="white" transform="translate(0.877197)"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
3
wp-content/themes/dekart/assets/images/icon-user-w.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="19" height="19" viewBox="0 0 19 19" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M9.88689 8.94565C8.64675 8.94565 7.63209 8.53986 6.84291 7.72826C6.05373 6.91667 5.65913 5.87319 5.65913 4.59783C5.65913 3.32246 6.05373 2.27899 6.84291 1.46739C7.63209 0.655797 8.64675 0.25 9.88689 0.25C11.127 0.25 12.1417 0.655797 12.9309 1.46739C13.7201 2.27899 14.1147 3.32246 14.1147 4.59783C14.1147 5.87319 13.7201 6.91667 12.9309 7.72826C12.1417 8.53986 11.127 8.94565 9.88689 8.94565ZM0.867676 18.25V15.5254C0.867676 14.7911 1.04618 14.163 1.40319 13.6413C1.7602 13.1196 2.22056 12.7234 2.78426 12.4529C4.04319 11.8732 5.25045 11.4384 6.40604 11.1486C7.56163 10.8587 8.72191 10.7138 9.88689 10.7138C11.0519 10.7138 12.2075 10.8635 13.3537 11.163C14.4998 11.4626 15.7017 11.8944 16.9591 12.4585C17.5473 12.7315 18.0188 13.1273 18.3737 13.6459C18.7286 14.1646 18.9061 14.7911 18.9061 15.5254V18.25H0.867676ZM2.55878 16.5109H17.215V15.5254C17.215 15.2162 17.1258 14.9215 16.9472 14.6413C16.7687 14.3611 16.548 14.1534 16.2849 14.0181C15.0823 13.4191 13.9831 13.0085 12.9872 12.7862C11.9914 12.564 10.9579 12.4529 9.88689 12.4529C8.81586 12.4529 7.77301 12.564 6.75835 12.7862C5.74369 13.0085 4.64447 13.4191 3.4607 14.0181C3.19764 14.1534 2.98155 14.3611 2.81244 14.6413C2.64333 14.9215 2.55878 15.2162 2.55878 15.5254V16.5109ZM9.88689 7.20652C10.6197 7.20652 11.2257 6.96014 11.7048 6.46739C12.184 5.97464 12.4235 5.35145 12.4235 4.59783C12.4235 3.8442 12.184 3.22101 11.7048 2.72826C11.2257 2.23551 10.6197 1.98913 9.88689 1.98913C9.15408 1.98913 8.5481 2.23551 8.06896 2.72826C7.58981 3.22101 7.35024 3.8442 7.35024 4.59783C7.35024 5.35145 7.58981 5.97464 8.06896 6.46739C8.5481 6.96014 9.15408 7.20652 9.88689 7.20652Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.7 KiB |
3
wp-content/themes/dekart/assets/images/icon-user.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M9 8.69565C7.7625 8.69565 6.75 8.28986 5.9625 7.47826C5.175 6.66667 4.78125 5.62319 4.78125 4.34783C4.78125 3.07246 5.175 2.02899 5.9625 1.21739C6.75 0.405797 7.7625 0 9 0C10.2375 0 11.25 0.405797 12.0375 1.21739C12.825 2.02899 13.2187 3.07246 13.2187 4.34783C13.2187 5.62319 12.825 6.66667 12.0375 7.47826C11.25 8.28986 10.2375 8.69565 9 8.69565ZM0 18V15.2754C0 14.5411 0.178125 13.913 0.534375 13.3913C0.890625 12.8696 1.35 12.4734 1.9125 12.2029C3.16875 11.6232 4.37344 11.1884 5.52656 10.8986C6.67969 10.6087 7.8375 10.4638 9 10.4638C10.1625 10.4638 11.3156 10.6135 12.4594 10.913C13.6031 11.2126 14.8024 11.6444 16.0572 12.2085C16.644 12.4815 17.1146 12.8773 17.4687 13.3959C17.8229 13.9146 18 14.5411 18 15.2754V18H0ZM1.6875 16.2609H16.3125V15.2754C16.3125 14.9662 16.2234 14.6715 16.0453 14.3913C15.8672 14.1111 15.6469 13.9034 15.3844 13.7681C14.1844 13.1691 13.0875 12.7585 12.0938 12.5362C11.1 12.314 10.0687 12.2029 9 12.2029C7.93125 12.2029 6.89062 12.314 5.87812 12.5362C4.86562 12.7585 3.76875 13.1691 2.5875 13.7681C2.325 13.9034 2.10937 14.1111 1.94062 14.3913C1.77187 14.6715 1.6875 14.9662 1.6875 15.2754V16.2609ZM9 6.95652C9.73125 6.95652 10.3359 6.71014 10.8141 6.21739C11.2922 5.72464 11.5312 5.10145 11.5312 4.34783C11.5312 3.5942 11.2922 2.97101 10.8141 2.47826C10.3359 1.98551 9.73125 1.73913 9 1.73913C8.26875 1.73913 7.66406 1.98551 7.18594 2.47826C6.70781 2.97101 6.46875 3.5942 6.46875 4.34783C6.46875 5.10145 6.70781 5.72464 7.18594 6.21739C7.66406 6.71014 8.26875 6.95652 9 6.95652Z" fill="#BF568E"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
10
wp-content/themes/dekart/assets/images/icon-whatsap.svg
Normal file
@ -0,0 +1,10 @@
|
||||
<svg width="24" height="23" viewBox="0 0 24 23" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M19.7173 23H4.31683C2.22697 23 0.51709 21.2901 0.51709 19.2003V3.79974C0.51709 1.70988 2.22697 0 4.31683 0H19.7173C21.8071 0 23.517 1.70988 23.517 3.79974V19.2002C23.517 21.29 21.8071 23 19.7173 23Z" fill="url(#paint0_linear_408_362)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M19.8584 11.2982C19.8584 15.5167 16.4117 18.9372 12.16 18.9372C10.8097 18.9372 9.54119 18.5924 8.43838 17.9867L4.17578 19.3413L5.56521 15.2429C4.86407 14.0915 4.46091 12.7413 4.46091 11.2983C4.46091 7.079 7.90756 3.65869 12.16 3.65869C16.4117 3.65861 19.8584 7.07893 19.8584 11.2982ZM12.16 4.87536C8.59001 4.87536 5.68696 7.75617 5.68696 11.2982C5.68696 12.7029 6.14461 14.0048 6.91979 15.064L6.11149 17.4488L8.59845 16.6586C9.6202 17.329 10.8445 17.7204 12.1599 17.7204C15.7284 17.7204 18.6322 14.8393 18.6322 11.2982C18.6323 7.75617 15.7285 4.87536 12.16 4.87536ZM16.0476 13.0577C15.9999 12.9795 15.8739 12.9327 15.686 12.8391C15.4971 12.7456 14.5688 12.2921 14.396 12.2301C14.2233 12.1678 14.0966 12.1364 13.9715 12.3235C13.8456 12.5109 13.4838 12.9327 13.3734 13.0578C13.2637 13.183 13.1538 13.1983 12.965 13.1046C12.776 13.0112 12.1676 12.8127 11.4471 12.1757C10.8865 11.6786 10.5077 11.0662 10.397 10.8788C10.2875 10.6917 10.3862 10.5905 10.4796 10.497C10.5648 10.4127 10.6686 10.2784 10.763 10.1695C10.8575 10.0597 10.8889 9.98127 10.9518 9.85629C11.0148 9.73123 10.9834 9.62234 10.9357 9.52866C10.8889 9.43522 10.5112 8.51369 10.3537 8.13836C10.1974 7.76414 10.0398 7.77817 9.92921 7.77817C9.81945 7.77817 9.6157 7.81082 9.6157 7.81082C9.6157 7.81082 9.23738 7.85766 9.06469 8.04501C8.89193 8.23212 8.40447 8.68559 8.40447 9.60625C8.40447 10.5276 9.08015 11.4185 9.17445 11.5426C9.26899 11.6678 10.4796 13.6203 12.3983 14.37C14.3171 15.1195 14.3171 14.8695 14.6632 14.8379C15.0086 14.8074 15.7795 14.3853 15.9369 13.9479C16.0943 13.5103 16.0943 13.1353 16.0476 13.0577Z" fill="white"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_408_362" x1="12.0171" y1="3.94254e-05" x2="12.0171" y2="23" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#AF427C"/>
|
||||
<stop offset="1" stop-color="#BF568E"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
@ -0,0 +1,3 @@
|
||||
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M18 8.76845C18 13.6103 14.044 17.5363 9.16399 17.5363C7.61423 17.5363 6.15823 17.1405 4.89246 16.4453L0 18L1.59474 13.296C0.789994 11.9745 0.327257 10.4247 0.327257 8.76854C0.327257 3.92574 4.2832 1.56479e-09 9.16399 1.56479e-09C14.044 -9.05012e-05 18 3.92565 18 8.76845ZM9.16399 1.39646C5.0665 1.39646 1.73448 4.70298 1.73448 8.76845C1.73448 10.3807 2.25975 11.875 3.14948 13.0907L2.22174 15.8279L5.07618 14.9209C6.24891 15.6904 7.65414 16.1396 9.1639 16.1396C13.2597 16.1396 16.5926 12.8328 16.5926 8.76836C16.5927 4.70297 13.2598 1.39646 9.16399 1.39646ZM13.626 10.7879C13.5713 10.6981 13.4267 10.6444 13.211 10.537C12.9942 10.4297 11.9287 9.90924 11.7305 9.83801C11.5322 9.76651 11.3867 9.73049 11.2432 9.94526C11.0987 10.1603 10.6834 10.6445 10.5567 10.788C10.4307 10.9317 10.3047 10.9493 10.088 10.8418C9.87099 10.7345 9.17277 10.5067 8.34576 9.77556C7.70229 9.20503 7.26751 8.5021 7.14054 8.28706C7.01483 8.0723 7.12805 7.9561 7.2353 7.84885C7.33304 7.7521 7.45223 7.59789 7.56056 7.4729C7.66907 7.34692 7.70509 7.25687 7.77731 7.11342C7.84954 6.96989 7.8136 6.8449 7.75885 6.73739C7.70509 6.63014 7.27159 5.57243 7.09085 5.14164C6.91139 4.71212 6.73056 4.72823 6.60359 4.72823C6.47761 4.72823 6.24375 4.76569 6.24375 4.76569C6.24375 4.76569 5.80952 4.81945 5.61132 5.03449C5.41303 5.24925 4.85355 5.76973 4.85355 6.82644C4.85355 7.88397 5.62906 8.90647 5.7373 9.04892C5.84582 9.19263 7.2353 11.4337 9.43758 12.2942C11.6399 13.1544 11.6399 12.8674 12.0371 12.8312C12.4336 12.7962 13.3183 12.3117 13.499 11.8097C13.6797 11.3074 13.6797 10.877 13.626 10.7879Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.7 KiB |
BIN
wp-content/themes/dekart/assets/images/image-18.webp
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
wp-content/themes/dekart/assets/images/image-19.webp
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
wp-content/themes/dekart/assets/images/image-20.webp
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
wp-content/themes/dekart/assets/images/img-for-course.jpg
Normal file
|
After Width: | Height: | Size: 41 KiB |
4
wp-content/themes/dekart/assets/images/list-check.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M22.9622 9.53501L22.2435 10.2537C22.2967 10.6878 22.3231 11.1271 22.3231 11.5705C22.3231 13.0225 22.0389 14.4306 21.4786 15.7556C20.9368 17.0359 20.1615 18.1859 19.1738 19.1738C18.1859 20.1615 17.0359 20.937 15.7556 21.4785C14.4303 22.0391 13.0222 22.3231 11.5702 22.3231C10.1185 22.3231 8.71036 22.0391 7.38507 21.4785C6.10475 20.937 4.95471 20.1614 3.96682 19.1738C2.97922 18.1859 2.20387 17.0359 1.66212 15.7556C1.10182 14.4306 0.817581 13.0225 0.817581 11.5705C0.817581 10.1185 1.10182 8.71036 1.66212 7.38507C2.20387 6.10478 2.97922 4.95471 3.96682 3.96711C4.95471 2.97922 6.10475 2.2039 7.38507 1.6624C8.71033 1.10182 10.1185 0.817581 11.5702 0.817581C13.0222 0.817581 14.4303 1.10182 15.7556 1.6624C17.0359 2.2039 18.1859 2.97922 19.1738 3.96711C19.321 4.11426 19.4632 4.26497 19.6006 4.41921L20.0707 3.94912C20.1072 3.9126 20.1451 3.878 20.1841 3.84556C18.066 1.48497 14.9914 0 11.5702 0C5.1801 0 0 5.18036 0 11.5704C0 17.9605 5.1801 23.1406 11.5702 23.1406C17.9606 23.1406 23.1407 17.9605 23.1407 11.5704C23.1407 10.8758 23.0794 10.1956 22.9622 9.53501Z" fill="#006DB7"/>
|
||||
<path d="M23.9243 7.80254L12.9205 18.8063C12.4697 19.2571 11.7388 19.2571 11.288 18.8063L4.04512 11.5634C3.59433 11.1127 3.59433 10.3818 4.04512 9.93096L5.88036 8.09572C6.33114 7.64493 7.06201 7.64493 7.51282 8.09569L12.1043 12.6867L20.4565 4.33449C20.9073 3.88368 21.6383 3.88371 22.0891 4.33455L23.9244 6.17011C24.3751 6.62092 24.3751 7.35178 23.9243 7.80254Z" fill="#006DB7"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
10
wp-content/themes/dekart/assets/images/logo-big.svg
Normal file
|
After Width: | Height: | Size: 13 KiB |
11
wp-content/themes/dekart/assets/images/logo-f.svg
Normal file
@ -0,0 +1,11 @@
|
||||
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="32" height="32" rx="10" fill="white"/>
|
||||
<g clip-path="url(#clip0_330_1198)">
|
||||
<path d="M21.1306 6.13747V9.17195H19.3285C18.6705 9.17195 18.2266 9.30989 17.9971 9.58575C17.7675 9.86161 17.6527 10.2754 17.6527 10.8271V12.9995H21.0159L20.5682 16.4018H17.6527V25.126H14.1403V16.4018H11.2134V12.9995H14.1403V10.4938C14.1403 9.06851 14.5383 7.96314 15.3341 7.1777C16.1299 6.39226 17.1898 5.99954 18.5136 5.99954C19.6385 5.99954 20.5108 6.04552 21.1306 6.13747Z" fill="black"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_330_1198">
|
||||
<rect width="12" height="21" fill="white" transform="matrix(1 0 0 -1 10 27)"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 727 B |
11
wp-content/themes/dekart/assets/images/logo-olnoklas.svg
Normal file
@ -0,0 +1,11 @@
|
||||
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="32" height="32" rx="10" fill="white"/>
|
||||
<g clip-path="url(#clip0_330_1195)">
|
||||
<path d="M20.1888 13.8965C20.1888 13.8965 19.9341 14.1513 19.4246 14.6609C18.9151 15.1705 17.9402 15.4252 16.5 15.4252C15.0597 15.4252 13.83 14.9157 12.8111 13.8965C11.7922 12.8773 11.2827 11.6513 11.2827 10.2183C11.2827 8.77773 11.7922 7.54785 12.8111 6.52869C13.83 5.50953 15.0597 4.99995 16.5 4.99995C17.9402 4.99995 19.1699 5.50953 20.1888 6.52869C21.2077 7.54785 21.7172 8.77773 21.7172 10.2183C21.7172 11.6513 21.2077 12.8773 20.1888 13.8965ZM18.3099 8.39651C18.3099 8.39651 18.1844 8.27103 17.9335 8.02007C17.6826 7.76911 17.2048 7.64363 16.5 7.64363C15.7951 7.64363 15.1918 7.89459 14.69 8.39651C14.1882 8.89842 13.9373 9.5057 13.9373 10.2183C13.9373 10.9233 14.1882 11.5268 14.69 12.0287C15.1918 12.5306 15.7951 12.7816 16.5 12.7816C17.2048 12.7816 17.8081 12.5306 18.3099 12.0287C18.8117 11.5268 19.0626 10.9233 19.0626 10.2183C19.0626 9.5057 18.8117 8.89842 18.3099 8.39651ZM22.5101 16.0574C22.6097 16.2643 22.6672 16.454 22.6825 16.6264C22.6978 16.7988 22.6806 16.954 22.6308 17.0919C22.581 17.2298 22.4795 17.3773 22.3262 17.5344C22.173 17.6915 22.0102 17.8333 21.8378 17.9597C21.6655 18.0862 21.4299 18.2452 21.1311 18.4367C20.2501 18.9961 19.0434 19.3563 17.5112 19.5172L18.3501 20.3448L21.4184 23.4137C21.6482 23.6513 21.7632 23.9348 21.7632 24.2643C21.7632 24.5938 21.6482 24.8735 21.4184 25.1034L21.2805 25.2528C21.043 25.4827 20.7595 25.5977 20.4301 25.5977C20.1007 25.5977 19.8172 25.4827 19.5797 25.2528C19.0664 24.7318 18.0437 23.7049 16.5114 22.1724L13.4432 25.2528C13.2057 25.4827 12.9222 25.5977 12.5928 25.5977C12.2633 25.5977 11.9837 25.4827 11.7539 25.2528L11.616 25.1034C11.3785 24.8735 11.2597 24.5938 11.2597 24.2643C11.2597 23.9348 11.3785 23.6513 11.616 23.4137L14.6843 20.3448L15.5117 19.5172C13.9565 19.3563 12.7422 18.9961 11.8688 18.4367C11.57 18.2452 11.3344 18.0862 11.1621 17.9597C10.9897 17.8333 10.8269 17.6915 10.6737 17.5344C10.5204 17.3773 10.4189 17.2298 10.3691 17.0919C10.3193 16.954 10.3021 16.7988 10.3174 16.6264C10.3327 16.454 10.3902 16.2643 10.4898 16.0574C10.5664 15.9042 10.6737 15.7701 10.8116 15.6551C10.9495 15.5402 11.1103 15.4559 11.2942 15.4023C11.4781 15.3486 11.6926 15.3563 11.9377 15.4252C12.1829 15.4942 12.4319 15.6283 12.6847 15.8275C12.723 15.8582 12.7805 15.9003 12.8571 15.954C12.9337 16.0076 13.0984 16.1015 13.3512 16.2356C13.604 16.3697 13.8684 16.4865 14.1442 16.5862C14.42 16.6858 14.7724 16.7777 15.2014 16.862C15.6304 16.9463 16.0633 16.9885 16.5 16.9885C17.1971 16.9885 17.8636 16.8908 18.4995 16.6954C19.1354 16.5 19.5951 16.3065 19.8785 16.1149L20.3152 15.8275C20.568 15.6283 20.817 15.4942 21.0622 15.4252C21.3073 15.3563 21.5218 15.3486 21.7057 15.4023C21.8896 15.4559 22.0504 15.5402 22.1883 15.6551C22.3262 15.7701 22.4335 15.9042 22.5101 16.0574Z" fill="black"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_330_1195">
|
||||
<rect width="15" height="21" fill="white" transform="matrix(1 0 0 -1 9 26)"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.0 KiB |
@ -0,0 +1,4 @@
|
||||
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="32" height="32" rx="10" fill="white"/>
|
||||
<path d="M22.8223 22.3903V14.9421H21.2717C21.4249 15.4248 21.5014 15.9267 21.5014 16.4478C21.5014 17.4133 21.2564 18.3041 20.7663 19.1202C20.2763 19.9363 19.6101 20.5819 18.7678 21.057C17.9255 21.5321 17.0067 21.7697 16.0112 21.7697C14.5028 21.7697 13.2126 21.2505 12.1406 20.2122C11.0685 19.1739 10.5325 17.9191 10.5325 16.4478C10.5325 15.9267 10.6091 15.4248 10.7623 14.9421H9.14277V22.3903C9.14277 22.5896 9.20977 22.7562 9.34377 22.8903C9.47777 23.0244 9.64432 23.0915 9.8434 23.0915H22.1217C22.3131 23.0915 22.4777 23.0244 22.6156 22.8903C22.7534 22.7562 22.8223 22.5896 22.8223 22.3903ZM18.5209 18.6949C18.5209 18.6949 18.6941 18.5273 19.0406 18.1921C19.3871 17.8568 19.5603 17.2141 19.5603 16.2639C19.5603 15.3137 19.2139 14.5034 18.5209 13.8329C17.8279 13.1624 16.9914 12.8271 16.0112 12.8271C15.0388 12.8271 14.2061 13.1624 13.5131 13.8329C12.8201 14.5034 12.4736 15.3137 12.4736 16.2639C12.4736 17.2141 12.8201 18.0244 13.5131 18.6949C14.2061 19.3654 15.0388 19.7007 16.0112 19.7007C16.9914 19.7007 17.8279 19.3654 18.5209 18.6949ZM22.8223 12.126V10.2294C22.8223 10.0149 22.7457 9.82904 22.5926 9.67195C22.4394 9.51487 22.2518 9.43632 22.0298 9.43632H20.0313C19.8092 9.43632 19.6216 9.51487 19.4685 9.67195C19.3153 9.82904 19.2387 10.0149 19.2387 10.2294V12.126C19.2387 12.3482 19.3153 12.5359 19.4685 12.6892C19.6216 12.8425 19.8092 12.9191 20.0313 12.9191H22.0298C22.2518 12.9191 22.4394 12.8425 22.5926 12.6892C22.7457 12.5359 22.8223 12.3482 22.8223 12.126ZM24.8208 9.73517V22.8616C24.8208 23.4823 24.5988 24.0149 24.1546 24.4593C23.7105 24.9038 23.1784 25.126 22.5581 25.126H9.4414C8.82117 25.126 8.289 24.9038 7.84488 24.4593C7.40077 24.0149 7.17871 23.4823 7.17871 22.8616V9.73517C7.17871 9.11448 7.40077 8.58191 7.84488 8.13747C8.289 7.69303 8.82117 7.4708 9.4414 7.4708H22.5581C23.1784 7.4708 23.7105 7.69303 24.1546 8.13747C24.5988 8.58191 24.8208 9.11448 24.8208 9.73517Z" fill="black"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.0 KiB |
4
wp-content/themes/dekart/assets/images/logo-social.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="32" height="32" rx="10" fill="white"/>
|
||||
<path d="M12.6667 25.3229H19.3333V5.67708H12.6667V25.3229ZM11 27V4H21V27H11Z" fill="black"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 248 B |
17
wp-content/themes/dekart/assets/images/logo-svg.svg
Normal file
|
After Width: | Height: | Size: 9.6 KiB |
BIN
wp-content/themes/dekart/assets/images/logo3h-1.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
4
wp-content/themes/dekart/assets/images/logo_VK.svg.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="32" height="32" rx="10" fill="white"/>
|
||||
<path d="M26.736 10.9773C26.916 11.4677 26.329 12.5941 24.9749 14.3566C24.787 14.6018 24.5326 14.9275 24.2117 15.3336C23.6012 16.0999 23.2489 16.6018 23.155 16.8393C23.0219 17.1535 23.0767 17.4639 23.3194 17.7704C23.4524 17.9313 23.7694 18.2455 24.2704 18.7129H24.2821L24.2939 18.7244L24.3056 18.7359L24.3291 18.7589C25.4328 19.7627 26.1803 20.6094 26.5716 21.2991C26.5951 21.3374 26.6206 21.3853 26.6479 21.4428C26.6753 21.5003 26.7027 21.6018 26.7301 21.7474C26.7575 21.893 26.7556 22.0232 26.7243 22.1382C26.693 22.2531 26.5951 22.3585 26.4307 22.4543C26.2664 22.5501 26.0355 22.598 25.738 22.598L22.7323 22.6439C22.5445 22.6822 22.3253 22.6631 22.0748 22.5865C21.8244 22.5098 21.6208 22.4255 21.4643 22.3336L21.2295 22.1957C20.9947 22.0347 20.7207 21.7895 20.4076 21.46C20.0945 21.1305 19.8264 20.8336 19.6034 20.5692C19.3803 20.3048 19.1415 20.0826 18.8872 19.9025C18.6328 19.7225 18.4116 19.6631 18.2238 19.7244C18.2003 19.7321 18.169 19.7455 18.1299 19.7646C18.0907 19.7838 18.0242 19.8393 17.9303 19.9313C17.8363 20.0232 17.7522 20.1363 17.6778 20.2704C17.6035 20.4045 17.5369 20.6037 17.4782 20.8681C17.4195 21.1324 17.3941 21.4294 17.4019 21.7589C17.4019 21.8738 17.3882 21.9792 17.3608 22.075C17.3334 22.1707 17.3041 22.2416 17.2728 22.2876L17.2258 22.3451C17.0849 22.4907 16.8775 22.575 16.6035 22.598H15.2533C14.6976 22.6286 14.1262 22.5654 13.5391 22.4083C12.9521 22.2512 12.4374 22.0481 11.9952 21.7991C11.553 21.5501 11.1498 21.2972 10.7859 21.0405C10.4219 20.7838 10.146 20.5635 9.95814 20.3796L9.66461 20.1037C9.58634 20.0271 9.47871 19.9121 9.34174 19.7589C9.20476 19.6056 8.92493 19.257 8.50226 18.7129C8.07958 18.1688 7.66473 17.5903 7.25771 16.9773C6.85069 16.3642 6.37127 15.5558 5.81944 14.552C5.26761 13.5481 4.75688 12.506 4.28724 11.4255C4.24028 11.3029 4.2168 11.1995 4.2168 11.1152C4.2168 11.0309 4.22854 10.9696 4.25202 10.9313L4.29898 10.8623C4.41639 10.7167 4.63947 10.6439 4.96822 10.6439L8.18525 10.6209C8.27918 10.6363 8.36919 10.6612 8.45529 10.6957C8.54139 10.7301 8.60401 10.7627 8.64315 10.7934L8.70185 10.8278C8.82709 10.9121 8.92102 11.0347 8.98364 11.1957C9.14018 11.5788 9.32021 11.9753 9.52372 12.3853C9.72723 12.7953 9.88769 13.1075 10.0051 13.3221L10.193 13.6554C10.42 14.1152 10.6391 14.5137 10.8505 14.8508C11.0618 15.188 11.2516 15.4504 11.4199 15.6382C11.5882 15.8259 11.7506 15.9734 11.9071 16.0807C12.0637 16.188 12.1968 16.2416 12.3063 16.2416C12.4159 16.2416 12.5216 16.2225 12.6233 16.1842C12.639 16.1765 12.6586 16.1573 12.682 16.1267C12.7055 16.096 12.7525 16.0117 12.8229 15.8738C12.8934 15.7359 12.9462 15.5558 12.9814 15.3336C13.0167 15.1114 13.0538 14.801 13.093 14.4025C13.1321 14.0041 13.1321 13.5252 13.093 12.9658C13.0773 12.6593 13.0421 12.3796 12.9873 12.1267C12.9325 11.8738 12.8777 11.6976 12.8229 11.598L12.7525 11.46C12.5568 11.1995 12.2241 11.0347 11.7545 10.9658C11.6528 10.9504 11.6723 10.8585 11.8132 10.6899C11.9463 10.5443 12.095 10.4294 12.2594 10.3451C12.6742 10.1458 13.6096 10.0539 15.0655 10.0692C15.7073 10.0769 16.2357 10.1267 16.6505 10.2186C16.807 10.257 16.9382 10.3087 17.0438 10.3738C17.1495 10.4389 17.2297 10.5309 17.2845 10.6497C17.3393 10.7685 17.3804 10.8911 17.4078 11.0175C17.4352 11.1439 17.4489 11.3183 17.4489 11.5405C17.4489 11.7627 17.445 11.9734 17.4371 12.1727C17.4293 12.3719 17.4195 12.642 17.4078 12.983C17.3961 13.324 17.3902 13.6401 17.3902 13.9313C17.3902 14.0156 17.3863 14.1765 17.3784 14.414C17.3706 14.6516 17.3687 14.8355 17.3726 14.9658C17.3765 15.096 17.3902 15.2512 17.4137 15.4313C17.4371 15.6114 17.4822 15.7608 17.5487 15.8796C17.6152 15.9983 17.7033 16.0922 17.8129 16.1612C17.8755 16.1765 17.942 16.1918 18.0125 16.2071C18.0829 16.2225 18.1847 16.1803 18.3177 16.0807C18.4508 15.9811 18.5995 15.8489 18.7639 15.6842C18.9282 15.5194 19.1318 15.2627 19.3744 14.914C19.6171 14.5654 19.8832 14.1535 20.1728 13.6784C20.6424 12.8815 21.0612 12.0194 21.4291 11.0922C21.4604 11.0156 21.4995 10.9485 21.5465 10.8911C21.5935 10.8336 21.6365 10.7934 21.6756 10.7704L21.7226 10.7359C21.7383 10.7282 21.7578 10.7186 21.7813 10.7071C21.8048 10.6957 21.8557 10.6842 21.9339 10.6727C22.0122 10.6612 22.0905 10.6593 22.1688 10.6669L25.5502 10.6439C25.8554 10.6056 26.1059 10.6152 26.3016 10.6727C26.4973 10.7301 26.6186 10.7934 26.6656 10.8623L26.736 10.9773Z" fill="#1F1F1F"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.3 KiB |
BIN
wp-content/themes/dekart/assets/images/no-img.jpg
Normal file
|
After Width: | Height: | Size: 86 KiB |
BIN
wp-content/themes/dekart/assets/images/no-photo.png
Normal file
|
After Width: | Height: | Size: 107 KiB |
BIN
wp-content/themes/dekart/assets/images/page-teachers-mobile.webp
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
wp-content/themes/dekart/assets/images/page-teachers.webp
Normal file
|
After Width: | Height: | Size: 54 KiB |
16
wp-content/themes/dekart/assets/images/phone-volume.svg
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
width="512.001px" height="512.001px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;"
|
||||
xml:space="preserve">
|
||||
<g>
|
||||
<path fill='#fff' d="M462.491,468.206l-33.938,33.937c-6.062,6.031-23.812,9.844-24.343,9.844c-107.435,0.905-210.869-41.279-286.882-117.31
|
||||
C41.097,318.46-1.136,214.619,0.036,106.872c0-0.063,3.891-17.312,9.938-23.312l33.937-33.968
|
||||
c12.453-12.437,36.295-18.062,52.998-12.5l7.156,2.406c16.703,5.562,34.155,23.999,38.78,40.967l17.093,62.717
|
||||
c4.64,17-1.594,41.186-14.031,53.623l-22.687,22.687c22.25,82.467,86.919,147.121,169.339,169.402l22.687-22.688
|
||||
c12.438-12.438,36.687-18.656,53.687-14.031l62.718,17.125c16.937,4.594,35.374,22.03,40.968,38.748l2.375,7.156
|
||||
C480.552,431.926,474.928,455.769,462.491,468.206z M287.996,255.993h31.999c0-35.343-28.655-63.998-63.998-63.998v31.999
|
||||
C273.636,223.994,287.996,238.368,287.996,255.993z M415.992,255.993c0-88.373-71.623-159.996-159.995-159.996v32
|
||||
c70.591,0,127.996,57.436,127.996,127.996H415.992z M255.997,0v31.999c123.496,0,223.993,100.497,223.993,223.994h31.999
|
||||
C511.989,114.622,397.368,0,255.997,0z"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
BIN
wp-content/themes/dekart/assets/images/phone.webp
Normal file
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 8.1 KiB |
1
wp-content/themes/dekart/assets/images/price.svg
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
wp-content/themes/dekart/assets/images/sertificats.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
14
wp-content/themes/dekart/assets/images/slider-arow.svg
Normal file
@ -0,0 +1,14 @@
|
||||
<svg width="21" height="28" viewBox="0 0 21 28" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M4.35011 8.14099L9.24276 2.59122C10.472 1.19696 12.2225 0.400861 14.0586 0.40086L18.8579 0.40086C20.0138 0.40086 20.6235 1.80071 19.8494 2.67854L9.69181 14.2002L5.85089 12.0477L4.35011 8.14099Z" fill="url(#paint0_linear_29_661)"/>
|
||||
<path d="M0.736565 12.2401L4.35025 8.14104L9.69195 14.2003L19.8498 25.7223C20.6236 26.6001 20.014 28 18.858 28L14.0591 28C12.2229 28 10.4725 27.2039 9.24326 25.8096L0.736566 16.1605C-0.245643 15.0466 -0.245643 13.3539 0.736565 12.2401Z" fill="url(#paint1_linear_29_661)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_29_661" x1="14.937" y1="2.88548" x2="6.27351" y2="11.227" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#006DB7"/>
|
||||
<stop offset="1" stop-color="#BF568E"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_29_661" x1="5.29786" y1="14.8703" x2="15.5159" y2="26.7587" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#006DB7"/>
|
||||
<stop offset="1" stop-color="#BF568E"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
1
wp-content/themes/dekart/assets/images/star-02.svg
Normal file
@ -0,0 +1 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="270" height="272" viewBox="0 0 270 272" fill="none"><path d="M252.218 111.34C275.927 120.825 275.927 150.284 252.218 159.769C228.671 169.688 210.579 181.45 195.673 196.436C180.767 211.423 169.021 229.553 159.138 253.212C149.686 277.007 120.334 277.007 110.883 253.212C100.999 229.553 89.2798 211.396 74.3469 196.436C59.4141 181.477 41.3489 169.688 17.802 159.769C-5.934 150.284 -5.934 120.825 17.802 111.34C41.3489 101.448 59.4411 89.6596 74.3469 74.7C89.2528 59.7404 101.026 41.5559 110.883 17.9241C120.334 -5.89742 149.686 -5.89742 159.138 17.9241C179.201 64.9437 205.34 91.123 252.218 111.34Z" fill="#AE5FCD"></path></svg>
|
||||
|
After Width: | Height: | Size: 712 B |
4
wp-content/themes/dekart/assets/images/svg/1.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg width="50" height="50" viewBox="0 0 50 50" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M13.1836 0C9.92598 0 7.32422 2.73496 7.32422 5.95703C7.32422 9.18789 9.95273 11.8164 13.1836 11.8164C16.4145 11.8164 19.043 9.18789 19.043 5.95703C19.043 2.73242 16.4379 0 13.1836 0ZM13.1836 8.88672C11.5682 8.88672 10.2539 7.57246 10.2539 5.95703C10.2539 4.31602 11.5955 2.92969 13.1836 2.92969C14.7717 2.92969 16.1133 4.31602 16.1133 5.95703C16.1133 7.57246 14.799 8.88672 13.1836 8.88672Z" fill="#FFE600"/>
|
||||
<path d="M45.6055 0H24.9023C22.4792 0 20.5078 1.97139 20.5078 4.39453V14.3911L19.2204 13.1038C18.3903 12.2736 17.2868 11.8164 16.1133 11.8164H13.1836C12.5626 11.8164 7.94521 11.8164 7.32422 11.8164C3.28564 11.8164 0 15.1021 0 19.1406C0 19.9735 0 26.7266 0 27.9297C0 30.3528 1.97139 32.3242 4.39453 32.3242C4.90791 32.3242 5.40107 32.2357 5.85938 32.0732V45.6055C5.85938 48.0286 7.83076 50 10.2539 50C11.3784 50 12.4056 49.5755 13.1836 48.8783C13.9616 49.5755 14.9888 50 16.1133 50C18.5364 50 20.5078 48.0286 20.5078 45.6055V26.2152C21.6278 26.6103 22.8686 26.5342 23.9381 26.0013L28.8702 23.5352H45.6055C48.0286 23.5352 50 21.5638 50 19.1406V4.39453C50 1.97139 48.0286 0 45.6055 0ZM28.4872 20.4511L22.6296 23.3799C22.0801 23.6537 21.3976 23.5664 20.9369 23.1059L20.0789 22.2478C19.173 21.3419 17.5821 21.958 17.5782 23.279C17.5782 23.2805 17.578 23.2818 17.578 23.2833V45.6055C17.578 46.4132 16.9209 47.0703 16.1132 47.0703C15.3055 47.0703 14.6483 46.4132 14.6483 45.6055V30.8594C14.6483 30.0504 13.9925 29.3945 13.1835 29.3945C12.3745 29.3945 11.7187 30.0504 11.7187 30.8594V45.6055C11.7187 46.4132 11.0615 47.0703 10.2538 47.0703C9.44609 47.0703 8.78897 46.4132 8.78897 45.6055V27.9297C8.78897 26.8252 8.78897 20.0434 8.78897 19.1406C8.78897 18.3316 8.13311 17.6758 7.32412 17.6758C6.51514 17.6758 5.85928 18.3316 5.85928 19.1406C5.85928 19.9735 5.85928 26.7266 5.85928 27.9297C5.85928 28.7374 5.20215 29.3945 4.39443 29.3945C3.58672 29.3945 2.92959 28.7374 2.92959 27.9297C2.92969 26.8252 2.92969 20.0434 2.92969 19.1406C2.92969 16.7175 4.90107 14.7461 7.32422 14.7461C8.42871 14.7461 15.2105 14.7461 16.1133 14.7461C16.5043 14.7461 16.8721 14.8985 17.1488 15.1754L21.5147 19.5413C21.9604 19.9871 22.6417 20.0976 23.2056 19.8157L27.1771 17.8299C27.9041 17.4661 28.7802 17.7602 29.1424 18.4854C29.5047 19.2101 29.2119 20.0888 28.4872 20.4511ZM47.0703 19.1406C47.0703 19.9483 46.4132 20.6055 45.6055 20.6055H31.9745C31.9834 20.5804 31.9932 20.5558 32.0016 20.5305C32.2125 19.8977 32.2758 19.2396 32.1951 18.5969L40.2059 14.5915C40.9295 14.2297 41.2228 13.3498 40.8609 12.6262C40.4991 11.9025 39.6191 11.6092 38.8956 11.9711L30.8854 15.9763C29.602 14.7349 27.6028 14.3408 25.8665 15.2098L23.4375 16.4243V4.39453C23.4375 3.58682 24.0946 2.92969 24.9023 2.92969H45.6055C46.4132 2.92969 47.0703 3.58682 47.0703 4.39453V19.1406Z" fill="#FFE600"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.8 KiB |
7
wp-content/themes/dekart/assets/images/svg/2.svg
Normal file
@ -0,0 +1,7 @@
|
||||
<svg width="50" height="50" viewBox="0 0 50 50" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M24.5438 19.2094C23.9345 18.6 22.9438 18.5969 22.3313 19.2063L17.1876 24.3531L15.1688 22.3312C14.5595 21.7219 13.5688 21.7219 12.9595 22.3312C12.3501 22.9406 12.3501 23.9313 12.9595 24.5406L16.0845 27.6656C16.3876 27.9719 16.7876 28.125 17.1876 28.125C17.5876 28.125 17.9876 27.9719 18.2938 27.6687L24.5438 21.4188C25.1532 20.8094 25.1532 19.8187 24.5438 19.2094Z" fill="#FFE600"/>
|
||||
<path d="M24.5438 31.7094C23.9345 31.1 22.9438 31.0969 22.3313 31.7062L17.1876 36.8531L15.1688 34.8344C14.5595 34.225 13.5688 34.225 12.9595 34.8344C12.3501 35.4437 12.3501 36.4344 12.9595 37.0437L16.0845 40.1687C16.3876 40.4719 16.7876 40.625 17.1876 40.625C17.5876 40.625 17.9876 40.4719 18.2938 40.1687L24.5438 33.9187C25.1532 33.3094 25.1532 32.3187 24.5438 31.7094Z" fill="#FFE600"/>
|
||||
<path d="M35.9375 21.875H29.6875C28.825 21.875 28.125 22.575 28.125 23.4375C28.125 24.3 28.825 25 29.6875 25H35.9375C36.8 25 37.5 24.3 37.5 23.4375C37.5 22.575 36.8 21.875 35.9375 21.875Z" fill="#FFE600"/>
|
||||
<path d="M35.9375 34.375H29.6875C28.825 34.375 28.125 35.075 28.125 35.9375C28.125 36.8 28.825 37.5 29.6875 37.5H35.9375C36.8 37.5 37.5 36.8 37.5 35.9375C37.5 35.075 36.8 34.375 35.9375 34.375Z" fill="#FFE600"/>
|
||||
<path d="M40.625 6.25H34.375V4.6875C34.375 3.825 33.675 3.125 32.8125 3.125H29.4219C28.775 1.30625 27.0375 0 25 0C22.9625 0 21.225 1.30625 20.5781 3.125H17.1875C16.325 3.125 15.625 3.825 15.625 4.6875V6.25H9.375C7.65313 6.25 6.25 7.65312 6.25 9.375V46.875C6.25 48.5969 7.65313 50 9.375 50H40.625C42.3469 50 43.75 48.5969 43.75 46.875V9.375C43.75 7.65312 42.3469 6.25 40.625 6.25ZM18.75 6.25H21.875C22.7375 6.25 23.4375 5.55 23.4375 4.6875C23.4375 3.825 24.1375 3.125 25 3.125C25.8625 3.125 26.5625 3.825 26.5625 4.6875C26.5625 5.55 27.2625 6.25 28.125 6.25H31.25V9.375H18.75V6.25ZM40.625 46.875H9.375V9.375H15.625V10.9375C15.625 11.8 16.325 12.5 17.1875 12.5H32.8125C33.675 12.5 34.375 11.8 34.375 10.9375V9.375H40.625V46.875Z" fill="#FFE600"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
13
wp-content/themes/dekart/assets/images/svg/3.svg
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
<svg width="50" height="50" viewBox="0 0 50 50" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M6.97746 36.8946C3.12996 36.8946 0 40.0249 0 43.8725V47.6372C0 48.4463 0.655746 49.102 1.46484 49.102H12.4901C13.2992 49.102 13.9549 48.4463 13.9549 47.6372V43.8725C13.9549 40.0249 10.825 36.8946 6.97746 36.8946ZM11.0252 46.1723H2.92969V43.8725C2.92969 41.6405 4.74548 39.8247 6.97746 39.8247C9.20944 39.8247 11.0252 41.6405 11.0252 43.8725V46.1723Z" fill="#FFE600"/>
|
||||
<path d="M6.97763 35.9756C9.66127 35.9756 11.8444 33.7925 11.8444 31.1089C11.8444 28.4252 9.66127 26.2417 6.97763 26.2417C4.29399 26.2417 2.11084 28.4252 2.11084 31.1089C2.11084 33.7925 4.29399 35.9756 6.97763 35.9756ZM6.97763 29.1714C8.04575 29.1714 8.91473 30.0404 8.91473 31.1089C8.91473 32.177 8.04575 33.046 6.97763 33.046C5.90952 33.046 5.04053 32.177 5.04053 31.1089C5.04053 30.0404 5.90952 29.1714 6.97763 29.1714Z" fill="#FFE600"/>
|
||||
<path d="M24.9999 36.8946C21.1524 36.8946 18.0225 40.0249 18.0225 43.8721V47.6372C18.0225 48.4463 18.6782 49.102 19.4873 49.102H30.5125C31.3216 49.102 31.9774 48.4463 31.9774 47.6372V43.8725C31.9774 40.0249 28.8474 36.8946 24.9999 36.8946ZM29.0477 46.1723H20.9521V43.8725C20.9521 41.6405 22.7679 39.8247 24.9999 39.8247C27.2319 39.8247 29.0477 41.6405 29.0477 43.8725V46.1723Z" fill="#FFE600"/>
|
||||
<path d="M20.1333 31.1089C20.1333 33.7925 22.3165 35.9756 25.0001 35.9756C27.6837 35.9756 29.8669 33.7925 29.8669 31.1089C29.8669 28.4252 27.6837 26.2417 25.0001 26.2417C22.3165 26.2417 20.1333 28.4252 20.1333 31.1089ZM25.0001 29.1714C26.0682 29.1714 26.9372 30.0404 26.9372 31.1089C26.9372 32.177 26.0682 33.046 25.0001 33.046C23.932 33.046 23.063 32.177 23.063 31.1089C23.063 30.0404 23.932 29.1714 25.0001 29.1714Z" fill="#FFE600"/>
|
||||
<path d="M43.0224 36.8946C39.1749 36.8946 36.0449 40.0249 36.0449 43.8721V47.6372C36.0449 48.4463 36.7007 49.102 37.5098 49.102H48.535C49.3441 49.102 49.9998 48.4463 49.9998 47.6372V43.8725C49.9998 40.0249 46.8699 36.8946 43.0224 36.8946ZM47.0702 46.1723H38.9746V43.8725C38.9746 41.6405 40.7904 39.8247 43.0224 39.8247C45.2544 39.8247 47.0702 41.6401 47.0702 43.8725V46.1723Z" fill="#FFE600"/>
|
||||
<path d="M38.1558 31.1089C38.1558 33.7925 40.3389 35.9756 43.0226 35.9756C45.7062 35.9756 47.8893 33.7925 47.8893 31.1089C47.8893 28.4252 45.7062 26.2417 43.0226 26.2417C40.3389 26.2417 38.1558 28.4252 38.1558 31.1089ZM43.0226 29.1714C44.0907 29.1714 44.9597 30.0404 44.9597 31.1089C44.9597 32.177 44.0907 33.046 43.0226 33.046C41.9541 33.046 41.0854 32.177 41.0854 31.1089C41.0854 30.0404 41.9544 29.1714 43.0226 29.1714Z" fill="#FFE600"/>
|
||||
<path d="M10.4761 23.8369H21.5013C22.3104 23.8369 22.9662 23.1808 22.9662 22.3721V18.6069C22.9662 14.7594 19.8362 11.6295 15.9887 11.6295C12.1412 11.6295 9.01123 14.7594 9.01123 18.6069V22.3721C9.01123 23.1808 9.66698 23.8369 10.4761 23.8369ZM11.9409 18.6069C11.9409 16.375 13.7567 14.5592 15.9887 14.5592C18.2211 14.5592 20.0368 16.375 20.0368 18.6069V20.9072H11.9409V18.6069Z" fill="#FFE600"/>
|
||||
<path d="M15.9889 10.7105C18.6729 10.7105 20.856 8.52699 20.856 5.84335C20.856 3.15971 18.6729 0.976562 15.9889 0.976562C13.3052 0.976562 11.1221 3.15971 11.1221 5.84373C11.1221 8.52737 13.3052 10.7105 15.9889 10.7105ZM15.9889 3.90625C17.057 3.90625 17.9263 4.77524 17.9263 5.84373C17.9263 6.91185 17.0574 7.78084 15.9889 7.78084C14.9207 7.78084 14.0518 6.91185 14.0518 5.84373C14.0518 4.77524 14.9207 3.90625 15.9889 3.90625Z" fill="#FFE600"/>
|
||||
<path d="M28.499 23.8369H39.5243C40.3334 23.8369 40.9891 23.1808 40.9891 22.3721V18.6069C40.9891 14.7594 37.8591 11.6295 34.0116 11.6295C30.1641 11.6295 27.0342 14.7594 27.0342 18.6069V22.3721C27.0342 23.1808 27.6903 23.8369 28.499 23.8369ZM29.9639 18.6069C29.9639 16.375 31.7797 14.5592 34.0116 14.5592C36.2436 14.5592 38.0594 16.375 38.0594 18.6069V20.9072H29.9639V18.6069Z" fill="#FFE600"/>
|
||||
<path d="M34.0113 10.7105C36.695 10.7105 38.8785 8.52699 38.8785 5.84335C38.8785 3.15971 36.695 0.976562 34.0113 0.976562C31.3277 0.976562 29.1445 3.15971 29.1445 5.84373C29.1445 8.52737 31.3277 10.7105 34.0113 10.7105ZM34.0113 3.90625C35.0794 3.90625 35.9488 4.77524 35.9488 5.84373C35.9488 6.91185 35.0798 7.78084 34.0113 7.78084C32.9432 7.78084 32.0742 6.91185 32.0742 5.84373C32.0742 4.77524 32.9432 3.90625 34.0113 3.90625Z" fill="#FFE600"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.3 KiB |
6
wp-content/themes/dekart/assets/images/svg/4.svg
Normal file
@ -0,0 +1,6 @@
|
||||
<svg width="50" height="50" viewBox="0 0 50 50" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M44.6289 7.8125H43.1641V4.39453C43.1641 1.97139 41.1927 0 38.7695 0C36.3464 0 34.375 1.97139 34.375 4.39453V5.59424C34.375 7.11221 33.3557 8.46367 31.896 8.88066L30.4688 9.28848V9.27734C30.4688 8.46836 29.8129 7.8125 29.0039 7.8125H23.1445C22.3355 7.8125 21.6797 8.46836 21.6797 9.27734V15.8203H4.39453C1.97139 15.8203 0 17.7917 0 20.2148V48.5352C0 49.0754 0.297363 49.5718 0.773633 49.8267C0.990234 49.9427 1.22773 50 1.46475 50C1.74893 50 2.03232 49.9174 2.27734 49.7539L7.76777 46.0938H35.6445C38.0677 46.0938 40.0391 44.1224 40.0391 41.6992V26.3672H44.6289C47.5905 26.3672 50 23.9577 50 20.9961V13.1836C50 10.222 47.5905 7.8125 44.6289 7.8125ZM24.6094 10.7422H27.5391V23.4375H24.6094V10.7422ZM37.1094 41.6992C37.1094 42.5069 36.4522 43.1641 35.6445 43.1641H7.32422C7.03506 43.1641 6.75234 43.2497 6.51172 43.4102L2.92969 45.7981V20.2148C2.92969 19.4071 3.58682 18.75 4.39453 18.75H21.6797V24.9023C21.6797 25.7113 22.3355 26.3672 23.1445 26.3672H29.0039C29.7564 26.3672 30.3758 25.7994 30.4586 25.069C31.7636 25.9013 33.298 26.3672 34.8937 26.3672H37.1094V41.6992ZM47.0703 20.9961C47.0703 22.3423 45.9751 23.4375 44.6289 23.4375H34.8937C33.1126 23.4375 31.4492 22.539 30.4688 21.0697V12.3354L32.7008 11.6978C35.4115 10.9232 37.3047 8.41338 37.3047 5.59424V4.39453C37.3047 3.58682 37.9618 2.92969 38.7695 2.92969C39.5772 2.92969 40.2344 3.58682 40.2344 4.39453V9.27734C40.2344 10.0863 40.8902 10.7422 41.6992 10.7422H44.6289C45.9751 10.7422 47.0703 11.8374 47.0703 13.1836V20.9961Z" fill="#FFE600"/>
|
||||
<path d="M7.32422 27.5391H17.0898C17.8988 27.5391 18.5547 26.8832 18.5547 26.0742C18.5547 25.2652 17.8988 24.6094 17.0898 24.6094H7.32422C6.51523 24.6094 5.85938 25.2652 5.85938 26.0742C5.85938 26.8832 6.51523 27.5391 7.32422 27.5391Z" fill="#FFE600"/>
|
||||
<path d="M32.7148 30.4688H7.32422C6.51523 30.4688 5.85938 31.1246 5.85938 31.9336C5.85938 32.7426 6.51523 33.3984 7.32422 33.3984H32.7148C33.5238 33.3984 34.1797 32.7426 34.1797 31.9336C34.1797 31.1246 33.5238 30.4688 32.7148 30.4688Z" fill="#FFE600"/>
|
||||
<path d="M32.7148 36.3281H7.32422C6.51523 36.3281 5.85938 36.984 5.85938 37.793C5.85938 38.602 6.51523 39.2578 7.32422 39.2578H32.7148C33.5238 39.2578 34.1797 38.602 34.1797 37.793C34.1797 36.984 33.5238 36.3281 32.7148 36.3281Z" fill="#FFE600"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
7
wp-content/themes/dekart/assets/images/svg/5.svg
Normal file
@ -0,0 +1,7 @@
|
||||
<svg width="50" height="50" viewBox="0 0 50 50" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M28.9062 11.7188H17.1875C16.3785 11.7188 15.7227 12.3746 15.7227 13.1836C15.7227 13.9926 16.3785 14.6484 17.1875 14.6484H28.9062C29.7152 14.6484 30.3711 13.9926 30.3711 13.1836C30.3711 12.3746 29.7152 11.7188 28.9062 11.7188Z" fill="#FFE600"/>
|
||||
<path d="M28.9062 17.5781H17.1875C16.3785 17.5781 15.7227 18.234 15.7227 19.043C15.7227 19.852 16.3785 20.5078 17.1875 20.5078H28.9062C29.7152 20.5078 30.3711 19.852 30.3711 19.043C30.3711 18.234 29.7152 17.5781 28.9062 17.5781Z" fill="#FFE600"/>
|
||||
<path d="M25.9766 23.4375H20.1172C19.3082 23.4375 18.6523 24.0934 18.6523 24.9023C18.6523 25.7113 19.3082 26.3672 20.1172 26.3672H25.9766C26.7855 26.3672 27.4414 25.7113 27.4414 24.9023C27.4414 24.0934 26.7855 23.4375 25.9766 23.4375Z" fill="#FFE600"/>
|
||||
<path d="M38.6719 36.3281C39.4809 36.3281 40.1367 35.6723 40.1367 34.8633C40.1367 34.0543 39.4809 33.3984 38.6719 33.3984C37.8629 33.3984 37.207 34.0543 37.207 34.8633C37.207 35.6723 37.8629 36.3281 38.6719 36.3281Z" fill="#FFE600"/>
|
||||
<path d="M42.0898 28.3883V1.46484C42.0898 0.655859 41.434 0 40.625 0H5.46875C4.65977 0 4.00391 0.655859 4.00391 1.46484V44.6289C4.00391 45.4379 4.65977 46.0938 5.46875 46.0938H33.3008V48.5352C33.3008 49.09 33.6143 49.5973 34.1105 49.8453C34.6068 50.0935 35.2007 50.0399 35.6445 49.707L38.6719 47.4365L41.6992 49.707C41.9576 49.9009 42.2669 50 42.5783 50C42.8016 50 43.026 49.949 43.2332 49.8453C43.7295 49.5973 44.043 49.09 44.043 48.5352V39.8358C45.254 38.5287 45.9961 36.7813 45.9961 34.8633C45.9961 32.0586 44.4107 29.6184 42.0898 28.3883ZM33.3008 29.8907C32.0897 31.1979 31.3477 32.9452 31.3477 34.8633C31.3477 35.5689 31.45 36.2507 31.6371 36.8969L31.2292 37.3047H14.8646L12.793 35.2331V10.8606L14.8646 8.78906H31.2292L33.3008 10.8606V29.8907ZM32.8717 6.28848C32.5971 6.01367 32.2245 5.85938 31.8359 5.85938H14.2578C13.8692 5.85938 13.4967 6.01367 13.2221 6.28848L10.2924 9.21816C10.0176 9.49277 9.86328 9.86533 9.86328 10.2539V35.8398C9.86328 36.2284 10.0176 36.601 10.2924 36.8756L13.2221 39.8053C13.4967 40.0801 13.8692 40.2344 14.2578 40.2344H31.8359C32.2245 40.2344 32.5971 40.0801 32.8717 39.8053L33.085 39.592C33.1552 39.6748 33.227 39.7563 33.3007 39.8358V43.1641H6.93359V2.92969H39.1602V27.5571C38.9985 27.5464 38.8361 27.5391 38.6719 27.5391C37.816 27.5391 36.9946 27.688 36.2305 27.959V10.2539C36.2305 9.86533 36.0762 9.49277 35.8014 9.21816L32.8717 6.28848ZM41.1133 45.6055L39.5508 44.4336C39.0299 44.043 38.3139 44.043 37.793 44.4336L36.2305 45.6055V41.7676C36.9946 42.0386 37.816 42.1875 38.6719 42.1875C39.5277 42.1875 40.3491 42.0386 41.1133 41.7676V45.6055ZM38.6719 39.2578C36.2487 39.2578 34.2773 37.2864 34.2773 34.8633C34.2773 32.4401 36.2487 30.4688 38.6719 30.4688C41.095 30.4688 43.0664 32.4401 43.0664 34.8633C43.0664 37.2864 41.095 39.2578 38.6719 39.2578Z" fill="#FFE600"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.9 KiB |
3
wp-content/themes/dekart/assets/images/svg/6.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="46" height="50" viewBox="0 0 46 50" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M38.1913 28.2141L36.6452 18.9421C36.014 15.1572 32.8118 12.3957 28.994 12.3088C30.0094 11.0146 30.6171 9.38603 30.6171 7.61719C30.6171 3.41699 27.2001 0 22.9999 0C18.7998 0 15.3827 3.41699 15.3827 7.61719C15.3827 9.38603 15.9904 11.0146 17.0057 12.3088C13.1879 12.3956 9.98574 15.1571 9.35449 18.9422L7.8084 28.2141H0.00292969V36.2297H3.66484V50H6.59453V36.2297H39.4053V50H42.335V36.2297H45.9969V28.2141H38.1913ZM22.9999 2.92969C25.5847 2.92969 27.6874 5.03242 27.6874 7.61719C27.6874 10.202 25.5847 12.3047 22.9999 12.3047C20.4152 12.3047 18.3124 10.202 18.3124 7.61719C18.3124 5.03242 20.4151 2.92969 22.9999 2.92969ZM12.2443 19.4239C12.6491 16.9964 14.7293 15.2344 17.1904 15.2344H28.8093C31.2704 15.2344 33.3506 16.9964 33.7554 19.4239L35.2212 28.2141H32.3476V17.9688H13.6521V28.2141H10.7786L12.2443 19.4239ZM29.4179 20.8984V28.2141H16.5818V20.8984H29.4179ZM43.0672 33.3H42.335H3.66484H2.93262V31.1437H7.31992H13.6521H32.3476H38.6798H43.0672V33.3Z" fill="#FFE600"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
6
wp-content/themes/dekart/assets/images/svg/7.svg
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
<svg width="50" height="50" viewBox="0 0 50 50" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M34.6013 14.8944C33.7918 14.3548 26.6223 9.57511 25.8123 9.03507C25.3202 8.70714 24.6792 8.70714 24.1872 9.03507C23.3775 9.57491 16.2074 14.355 15.3981 14.8944C14.7249 15.3433 14.543 16.2527 14.9918 16.9258C15.4407 17.599 16.3503 17.7809 17.0232 17.3321L17.6755 16.8973V25C17.6755 25.809 18.3314 26.4648 19.1404 26.4648H30.8591C31.6681 26.4648 32.324 25.809 32.324 25V16.8973L32.9763 17.3321C33.6484 17.78 34.5581 17.6001 35.0077 16.9258C35.4564 16.2527 35.2746 15.3433 34.6013 14.8944ZM29.3943 23.5352H20.6052V14.9441L24.9998 12.0145L29.3943 14.9441V23.5352Z" fill="#FFE600"/>
|
||||
<path d="M25 0C16.1151 0 8.88672 7.22842 8.88672 16.1133C8.88672 25.4221 17.7984 37.4632 23.9573 43.7047C24.2326 43.9836 24.6081 44.1406 25 44.1406C25.3919 44.1406 25.7674 43.9836 26.0427 43.7047C32.291 37.3726 41.1133 25.375 41.1133 16.1133C41.1133 7.22842 33.8849 0 25 0ZM24.9996 40.5347C21.7158 36.9376 11.8164 25.3275 11.8164 16.1133C11.8164 8.84385 17.7306 2.92969 25 2.92969C32.2694 2.92969 38.1836 8.84385 38.1836 16.1133C38.1836 25.3172 28.2824 36.9358 24.9996 40.5347Z" fill="#FFE600"/>
|
||||
<path d="M16.2109 47.0703C15.402 47.0703 14.7461 47.7262 14.7461 48.5352C14.7461 49.3441 15.402 50 16.2109 50H33.7891C34.598 50 35.2539 49.3441 35.2539 48.5352C35.2539 47.7262 34.598 47.0703 33.7891 47.0703H16.2109Z" fill="#FFE600"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
15
wp-content/themes/dekart/assets/images/svg/8.svg
Normal file
@ -0,0 +1,15 @@
|
||||
<svg width="50" height="50" viewBox="0 0 50 50" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0)">
|
||||
<path d="M44.2268 0H5.77353C3.34657 0 1.37207 1.9745 1.37207 4.40146V38.8686C1.37207 41.2956 3.34657 43.2701 5.77353 43.2701H19.7278L23.7794 49.3474C24.3583 50.2159 25.6398 50.2192 26.2209 49.3474L30.2724 43.2701H44.2267C46.6537 43.2701 48.6282 41.2956 48.6282 38.8686V4.40146C48.6283 1.9745 46.6538 0 44.2268 0ZM45.694 38.8686C45.694 39.6776 45.0358 40.3358 44.2268 40.3358H29.4873C28.9968 40.3358 28.5387 40.5809 28.2666 40.9891L25.0002 45.8887L21.7338 40.9891C21.4617 40.581 21.0036 40.3358 20.513 40.3358H5.77353C4.96454 40.3358 4.30638 39.6776 4.30638 38.8686V4.40146C4.30638 3.59247 4.96454 2.93431 5.77353 2.93431H44.2268C45.0358 2.93431 45.694 3.59247 45.694 4.40146V38.8686Z" fill="#FFE600"/>
|
||||
<path d="M39.2221 5.51464C36.6572 4.45233 33.6669 5.65715 32.5879 8.26262L24.8704 26.8943C24.7791 27.1147 24.743 27.3543 24.7651 27.5919L25.4828 35.2934C25.5928 36.473 26.9793 37.0338 27.8804 36.2865L33.8337 31.3482C34.0174 31.1958 34.1612 31.0009 34.2525 30.7804C34.4609 30.2772 41.8733 12.3822 41.97 12.1487C43.0455 9.55235 41.8095 6.58645 39.2221 5.51464ZM39.259 11.026L38.4107 13.074L34.4506 11.4336L35.2989 9.38568C35.7513 8.29372 37.0072 7.77337 38.0992 8.22575C39.193 8.6787 39.7123 9.93175 39.259 11.026ZM31.6806 29.3218L28.1465 32.2534L27.7204 27.6815L33.3276 14.1446L37.2878 15.785L31.6806 29.3218Z" fill="#FFE600"/>
|
||||
<path d="M25.2934 16.8102C25.2934 15.9999 24.6365 15.343 23.8263 15.343H9.10973C8.29947 15.343 7.64258 15.9999 7.64258 16.8102C7.64258 17.6204 8.29947 18.2773 9.10973 18.2773H23.8262C24.6365 18.2773 25.2934 17.6204 25.2934 16.8102Z" fill="#FFE600"/>
|
||||
<path d="M9.10973 11.4438H27.3862C28.1965 11.4438 28.8534 10.7869 28.8534 9.97664C28.8534 9.16638 28.1965 8.50949 27.3862 8.50949H9.10973C8.29947 8.50949 7.64258 9.16638 7.64258 9.97664C7.64258 10.7869 8.29947 11.4438 9.10973 11.4438Z" fill="#FFE600"/>
|
||||
<path d="M9.10973 25.5577H20.6962C21.5065 25.5577 22.1634 24.9008 22.1634 24.0905C22.1634 23.2803 21.5065 22.6234 20.6962 22.6234H9.10973C8.29947 22.6234 7.64258 23.2803 7.64258 24.0905C7.64258 24.9008 8.29947 25.5577 9.10973 25.5577Z" fill="#FFE600"/>
|
||||
<path d="M21.5316 29.9038H9.10973C8.29947 29.9038 7.64258 30.5607 7.64258 31.371C7.64258 32.1812 8.29947 32.8381 9.10973 32.8381H21.5316C22.3419 32.8381 22.9988 32.1812 22.9988 31.371C22.9988 30.5607 22.3419 29.9038 21.5316 29.9038Z" fill="#FFE600"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0">
|
||||
<rect width="50" height="50" fill="white"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
1
wp-content/themes/dekart/assets/images/time.svg
Normal file
@ -0,0 +1 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="279" height="279" viewBox="0 0 279 279" fill="none"><rect width="279" height="279" rx="40" fill="#E6FFF2"></rect><path d="M220 139.5C220 183.888 183.888 220 139.501 220C95.113 220 59 183.888 59 139.5C59 136.245 61.639 133.605 64.895 133.605C68.1507 133.605 70.7901 136.245 70.7901 139.5C70.7901 177.386 101.614 208.21 139.501 208.21C177.388 208.21 208.21 177.386 208.21 139.5C208.21 101.614 177.388 70.7901 139.501 70.7901C136.246 70.7901 133.606 68.1504 133.606 64.895C133.606 61.6393 136.246 59 139.501 59C183.888 59 220 95.1116 220 139.5ZM67.6706 118.499C68.3601 118.761 69.0681 118.885 69.7639 118.885C72.1411 118.885 74.3811 117.437 75.2754 115.084C82.2099 96.8427 96.6327 82.3671 114.847 75.3653C117.886 74.1984 119.403 70.7873 118.235 67.7476C117.066 64.7092 113.655 63.1895 110.617 64.361C89.2774 72.5632 72.3791 89.5231 64.2546 110.893C63.0978 113.936 64.6273 117.342 67.6706 118.499ZM112.458 166.541C113.609 167.693 115.118 168.269 116.627 168.269C118.135 168.269 119.644 167.693 120.794 166.541L143.67 143.668C144.776 142.563 145.396 141.063 145.396 139.5V86.6332C145.396 83.3775 142.757 80.7381 139.501 80.7381C136.246 80.7381 133.606 83.3775 133.606 86.6332V137.058L112.458 158.206C110.156 160.507 110.156 164.24 112.458 166.541Z" fill="#3BB273" stroke="#E6FFF2" stroke-width="5"></path></svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
233
wp-content/themes/dekart/assets/js/add.js
Normal file
@ -0,0 +1,233 @@
|
||||
const btnOpenMenu = document.querySelector('.burger-btn');
|
||||
const headerMenu = document.querySelector('.bottom-header-row');
|
||||
|
||||
btnOpenMenu.addEventListener('click', ()=> {
|
||||
document.querySelector('html').style = "overflow: hidden;"
|
||||
headerMenu.classList.add('open');
|
||||
btnOpenMenu.style="opacity: 0;";
|
||||
});
|
||||
|
||||
const boxes = Array.from(document.querySelectorAll(".box__accordion"));
|
||||
boxes.forEach((box) => {
|
||||
box.addEventListener("click", boxHandler);
|
||||
});
|
||||
|
||||
function boxHandler(e) {
|
||||
e.preventDefault();
|
||||
let currentBox = e.target.closest(".box__accordion");
|
||||
let currentContent = currentBox.querySelector(".box__accordion_content");;
|
||||
|
||||
currentBox.classList.toggle("active");
|
||||
if (currentBox.classList.contains("active")) {
|
||||
currentContent.style.maxHeight = currentContent.scrollHeight + 20 + "px";
|
||||
} else {
|
||||
currentContent.style.maxHeight = 0;
|
||||
}
|
||||
}
|
||||
|
||||
const modalRequestForm = document.querySelector('.modal-request-form');
|
||||
|
||||
document.addEventListener("click", function (event) {
|
||||
|
||||
const target = event.target;
|
||||
|
||||
if (target.classList.contains("certificates__item_img")) {
|
||||
const screen = document.querySelector('.screen-certificates');
|
||||
//screen.querySelector('.screen-certificates__img').innerHTML = event.target.outerHTML;
|
||||
document.querySelector('html').style = "overflow: hidden;"
|
||||
screen.classList.add('open');
|
||||
return;
|
||||
}
|
||||
if (target.classList.contains("clickRemove") || event.target.classList.contains("btn-close-certificates-img")) {
|
||||
document.querySelector('.screen-certificates').classList.remove('open');
|
||||
document.querySelector('html').style = "";
|
||||
return;
|
||||
}
|
||||
|
||||
if (target.classList.contains("btn-close-header-menu")) {
|
||||
headerMenu.classList.remove('open');
|
||||
btnOpenMenu.style="";
|
||||
document.querySelector('html').style = "";
|
||||
return;
|
||||
}
|
||||
if (target.classList.contains("btn-write")) {
|
||||
modalRequestForm.style="";
|
||||
return;
|
||||
}
|
||||
if (target.classList.contains("btn-close-request-form-img")) {
|
||||
modalRequestForm.style="display: none;";
|
||||
return;
|
||||
}
|
||||
|
||||
if(target.classList.contains("hover-effect")) {
|
||||
target.classList.remove("hover-effect");
|
||||
return;
|
||||
}
|
||||
|
||||
if (target.classList.contains("menu-item-has-children")) {
|
||||
target.parentNode.classList.add("hover-effect");
|
||||
return;
|
||||
}
|
||||
});
|
||||
|
||||
/*(function ($) {
|
||||
$(document).ready(function () {
|
||||
$(".teachers-owl").owlCarousel({
|
||||
//autoplay: true,
|
||||
loop: false,
|
||||
center: true,
|
||||
margin: 30,
|
||||
autoplayHoverPause: true,
|
||||
autoplayTimeout: 4000,
|
||||
items: 2,
|
||||
dots: false,
|
||||
nav: true,
|
||||
navText: ['<i></i>', '<i></i>'],
|
||||
//navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
|
||||
responsive: {
|
||||
0: { items: 1,
|
||||
center: true,
|
||||
},
|
||||
768: {
|
||||
items: 2,
|
||||
center: false,
|
||||
},
|
||||
992: {
|
||||
items: 4,
|
||||
center: false,
|
||||
margin: 36,
|
||||
},
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
})(jQuery);*/
|
||||
|
||||
let swiperPopularSubjects = new Swiper(".swiper-popular-subjects", {
|
||||
spaceBetween: 10,
|
||||
slidesPerView: 1,
|
||||
speed: 400,
|
||||
preventInteractionOnTransition: true, // запрет смены слайдов
|
||||
keyboard: true,
|
||||
breakpoints: {
|
||||
680: {
|
||||
slidesPerView: 2,
|
||||
speed: 400,
|
||||
},
|
||||
860: {
|
||||
slidesPerView: 3,
|
||||
speed: 400,
|
||||
}
|
||||
},
|
||||
navigation: {
|
||||
nextEl: ".subject-next",
|
||||
prevEl: ".subject-prev",
|
||||
}
|
||||
});
|
||||
|
||||
let swiperFoto = new Swiper(".swiper-foto", {
|
||||
spaceBetween: 10,
|
||||
slidesPerView: 1,
|
||||
speed: 400,
|
||||
preventInteractionOnTransition: true, // запрет смены слайдов
|
||||
keyboard: true,
|
||||
navigation: {
|
||||
nextEl: ".foto-next",
|
||||
prevEl: ".foto-prev",
|
||||
},
|
||||
pagination: {
|
||||
el: ".swiper-pagination",
|
||||
clickable: true,
|
||||
},
|
||||
});
|
||||
|
||||
let swiperNews = new Swiper(".swiper-news", {
|
||||
spaceBetween: 10,
|
||||
slidesPerView: 1,
|
||||
speed: 400,
|
||||
preventInteractionOnTransition: true, // запрет смены слайдов
|
||||
keyboard: true,
|
||||
breakpoints: {
|
||||
680: {
|
||||
slidesPerView: 2,
|
||||
speed: 400,
|
||||
},
|
||||
860: {
|
||||
slidesPerView: 3,
|
||||
speed: 400,
|
||||
}
|
||||
},
|
||||
navigation: {
|
||||
nextEl: ".news-next",
|
||||
prevEl: ".news-prev",
|
||||
}
|
||||
});
|
||||
|
||||
let swiperCertificates = new Swiper(".certificates-owl", {
|
||||
spaceBetween: 10,
|
||||
slidesPerView: 1,
|
||||
speed: 400,
|
||||
loop: true,
|
||||
preventInteractionOnTransition: true, // запрет смены слайдов
|
||||
keyboard: true,
|
||||
navigation: {
|
||||
nextEl: ".certificates-owl-next",
|
||||
prevEl: ".certificates-owl-prev",
|
||||
}
|
||||
});
|
||||
|
||||
let swiperReviews = new Swiper(".reviews-owl", {
|
||||
spaceBetween: 40,
|
||||
speed: 400,
|
||||
slidesPerView: 1,
|
||||
/*slidesPerGroup: 2,
|
||||
centeredSlidesBounds: true,
|
||||
freeMode: true,
|
||||
followFinger: true,
|
||||
loop: false,*/
|
||||
//preventInteractionOnTransition: true, // запрет смены слайдов
|
||||
keyboard: true,
|
||||
breakpoints: {
|
||||
860: {
|
||||
slidesPerView: 2,
|
||||
speed: 400,
|
||||
}
|
||||
},
|
||||
navigation: {
|
||||
nextEl: ".reviews-owl-next",
|
||||
prevEl: ".reviews-owl-prev",
|
||||
}
|
||||
});
|
||||
|
||||
let swiperTeachers = new Swiper(".teachers-owl", {
|
||||
spaceBetween: 30,
|
||||
speed: 400,
|
||||
slidesPerView: 1,
|
||||
keyboard: true,
|
||||
breakpoints: {
|
||||
540: {
|
||||
slidesPerView: 2,
|
||||
},
|
||||
860: {
|
||||
slidesPerView: 4,
|
||||
},
|
||||
992: {
|
||||
slidesPerView: 4,
|
||||
spaceBetween: 36,
|
||||
},
|
||||
},
|
||||
navigation: {
|
||||
nextEl: ".teachers-owl-next",
|
||||
prevEl: ".teachers-owl-prev",
|
||||
}
|
||||
});
|
||||
|
||||
setTimeout(() => {
|
||||
document.querySelectorAll('.b24-form-content .b24-form-btn').forEach(btn => {
|
||||
btn.textContent = 'записаться';
|
||||
});
|
||||
}, 1000);
|
||||
|
||||
document.querySelectorAll('.header-menu').forEach(item => {
|
||||
item.classList.add('hover-effect');
|
||||
})
|
||||
69
wp-content/themes/dekart/assets/js/camp.js
Normal file
@ -0,0 +1,69 @@
|
||||
document.querySelector('body').style='background: #FFF;';
|
||||
|
||||
var swiper = new Swiper(".camp-swiper-foto-thumbsSlider", {
|
||||
spaceBetween: 10,
|
||||
slidesPerView: 7,
|
||||
freeMode: true,
|
||||
watchSlidesVisibility: true,
|
||||
watchSlidesProgress: true,
|
||||
});
|
||||
var swiper2 = new Swiper(".camp-swiper-foto", {
|
||||
spaceBetween: 10,
|
||||
slidesPerView: 1,
|
||||
navigation: {
|
||||
nextEl: ".swiper-button-next",
|
||||
prevEl: ".swiper-button-prev",
|
||||
},
|
||||
thumbs: {
|
||||
swiper: swiper,
|
||||
},
|
||||
});
|
||||
|
||||
const btnCloseModalPrograms = document.querySelector('.btn-close-programs');
|
||||
const btnCloseModalMentors = document.querySelector('.btn-close-mentors');
|
||||
const modalPrograms = document.querySelector('.modal-programs');
|
||||
const modalMentors = document.querySelector('.modal-mentors');
|
||||
|
||||
const modalCampRequestForm = document.querySelector('.modal-camp-request-form');
|
||||
|
||||
btnCloseModalPrograms.addEventListener("click", function (event) {
|
||||
modalPrograms.classList.remove('open');
|
||||
});
|
||||
btnCloseModalMentors.addEventListener("click", function (event) {
|
||||
modalMentors.classList.remove('open');
|
||||
});
|
||||
|
||||
document.addEventListener("click", function (event) {
|
||||
const target = event.target;
|
||||
|
||||
if (target.classList.contains("btn-close-request-form-camp")) {
|
||||
modalCampRequestForm.style="display: none;";
|
||||
return;
|
||||
}
|
||||
|
||||
if (target.classList.contains("btn-write-camp")) {
|
||||
modalCampRequestForm.style="";
|
||||
return;
|
||||
}
|
||||
|
||||
if (target.classList.contains("btn-program")) {
|
||||
modalPrograms.querySelector('.modal-programs__img').innerHTML = target.parentNode.querySelector('.programs__item_img').outerHTML;
|
||||
modalPrograms.querySelector('.programs__item_title').innerHTML = target.parentNode.querySelector('.programs__item_title').innerHTML;
|
||||
modalPrograms.querySelector('.programs__item_price').innerHTML = target.parentNode.querySelector('.programs__item_price').innerHTML;
|
||||
modalPrograms.querySelector('.programs__content').innerHTML = target.parentNode.querySelector('.programs_content').innerHTML;
|
||||
modalPrograms.classList.add('open');
|
||||
return;
|
||||
}
|
||||
if (target.classList.contains("btn-mentors")) {
|
||||
modalMentors.querySelector('.modal-programs__img').innerHTML = target.parentNode.querySelector('.mentors__item_img').outerHTML;
|
||||
modalMentors.querySelector('.modal-mentors_name').innerHTML = target.parentNode.querySelector('.mentors__item_name').innerHTML;
|
||||
modalMentors.querySelector('.modal-mentors_job').innerHTML = target.parentNode.querySelector('.mentors__item_text').innerHTML;
|
||||
modalMentors.querySelector('.mentors__about-col_text').innerHTML = target.parentNode.querySelector('.mentor_education').innerHTML;
|
||||
|
||||
modalMentors.querySelector('.modal-mentors__directions').innerHTML = target.parentNode.querySelector('.HTMLdirection').innerHTML;
|
||||
modalMentors.querySelector('.mentors__experience-col_text').innerHTML = target.parentNode.querySelector('.mentor_experience').innerHTML;
|
||||
modalMentors.querySelector('.modal-additional__education_list').innerHTML = target.parentNode.querySelector('.mentor_add_experience').innerHTML;
|
||||
modalMentors.classList.add('open');
|
||||
return;
|
||||
}
|
||||
});
|
||||
7
wp-content/themes/dekart/assets/js/owl.carousel.min.js
vendored
Normal file
82
wp-content/themes/dekart/footer.php
Normal file
@ -0,0 +1,82 @@
|
||||
<?php
|
||||
?>
|
||||
<script src="https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.js" defer></script>
|
||||
|
||||
<?php wp_footer(); ?>
|
||||
|
||||
<footer>
|
||||
<div class="container footer-wrapper">
|
||||
<div class="footer-main">
|
||||
<a class="footer_logo" href="/">
|
||||
<img width="238" height="70"
|
||||
src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/logo-svg.svg"
|
||||
alt="<?php esc_attr_e('Декарт — частная школа в Щелково', 'dekart'); ?>"
|
||||
loading="lazy">
|
||||
</a>
|
||||
<div class="footer__main-col desktop">
|
||||
<?php
|
||||
wp_nav_menu( array(
|
||||
'menu' => 'Footer Menu',
|
||||
'container' => 'nav',
|
||||
'container_class' => 'footer_links',
|
||||
'menu_class' => 'footer_links-col',
|
||||
'theme_location' => 'top',
|
||||
) );
|
||||
?>
|
||||
</div>
|
||||
<div class="footer__col">
|
||||
<button class="btn-write btn-lilac desktop"><?php esc_html_e('Записаться', 'dekart'); ?></button>
|
||||
<button class="btn-write btn-lilac mobile"><?php esc_html_e('Бесплатное занятие', 'dekart'); ?></button>
|
||||
<div class="footer__link-icon">
|
||||
<img width="19" height="32"
|
||||
src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/icon-location.svg"
|
||||
alt="" role="presentation" loading="lazy">
|
||||
<span>г. <?php echo esc_html( carbon_get_theme_option('site_city') ); ?> <br class="mobile"> <?php echo esc_html( carbon_get_theme_option('site_address') ); ?></span>
|
||||
</div>
|
||||
<a class="footer__link-icon"
|
||||
href="tel:<?php echo preg_replace('/[^0-9+]/', '', carbon_get_theme_option('site_phone')); ?>">
|
||||
<img width="27" height="27"
|
||||
src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/icon-phone.svg"
|
||||
alt="Телефон" loading="lazy" style="margin-left:-3px">
|
||||
<span><?php echo esc_html( carbon_get_theme_option('site_phone') ); ?></span>
|
||||
</a>
|
||||
<div class="footer_mobile mobile">
|
||||
<div class="footer_mobile_title">Наш центр</div>
|
||||
<ul>
|
||||
<li><a class="footer_mobile_item" href="/podgotovka-k-ege/">Подготовка к ЕГЭ</a></li>
|
||||
<li><a class="footer_mobile_item" href="/podgotovka-k-oge/">Подготовка к ОГЭ (ГИА)</a></li>
|
||||
<li><a class="footer_mobile_item" href="/our-teachers/">Преподаватели</a></li>
|
||||
<li><a class="footer_mobile_item" href="/otzyvy/">Отзывы</a></li>
|
||||
</ul>
|
||||
<div class="footer_mobile_title">Наши контакты</div>
|
||||
</div>
|
||||
<div class="social">
|
||||
<?php get_template_part('template-parts/block-social'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer-last-row">
|
||||
<a href="/soglashenie-na-obrabotku-personalnyh-dannyh/">Соглашение на обработку персональных данных</a>
|
||||
<span class="desktop">Все права защищены © <?php echo date('Y'); ?></span>
|
||||
<span class="mobile">Разработка сайта dekart-promo © <?php echo date('Y'); ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<?php
|
||||
?>
|
||||
<div class="modal-request-form" style="display:none;" aria-hidden="true" role="dialog" aria-label="Форма записи">
|
||||
<div class="form-wrapper">
|
||||
<button class="btn-close-request-form" aria-label="Закрыть форму">
|
||||
<img class="btn-close-request-form-img"
|
||||
src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/btn-close-modal.svg"
|
||||
alt="Закрыть"
|
||||
loading="lazy">
|
||||
</button>
|
||||
<?php echo carbon_get_theme_option('site_bitrix_script'); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<link rel="sitemap" type="application/xml" href="/sitemap.xml">
|
||||
</body>
|
||||
</html>
|
||||
323
wp-content/themes/dekart/front-page.php
Normal file
@ -0,0 +1,323 @@
|
||||
<?php
|
||||
/*
|
||||
Template Name: шаблон главной страницы
|
||||
*/
|
||||
|
||||
get_header();
|
||||
$post_id = get_the_ID();
|
||||
?>
|
||||
<main class="main-page">
|
||||
|
||||
<?php
|
||||
// ─────────────────────────────────────────────────────────────────
|
||||
// БАННЕР — LCP элемент
|
||||
// ─────────────────────────────────────────────────────────────────
|
||||
$foto_id = carbon_get_post_meta( $post_id, 'banner_img_desktop' );
|
||||
$foto_mob_id = carbon_get_post_meta( $post_id, 'banner_img_mobile' );
|
||||
if ( ! $foto_mob_id ) $foto_mob_id = $foto_id;
|
||||
$banner_desk = $foto_id ? wp_get_attachment_url( $foto_id ) : '';
|
||||
$banner_mob = $foto_mob_id ? wp_get_attachment_url( $foto_mob_id ) : '';
|
||||
$banner_alt = $foto_id ? get_post_meta( $foto_id, '_wp_attachment_image_alt', true ) : 'Частная школа Декарт в Щелково';
|
||||
if ( ! $banner_alt ) $banner_alt = 'Частная школа Декарт в Щелково';
|
||||
?>
|
||||
<section class="banner">
|
||||
<div class="banner-wrapper">
|
||||
<?php if ( $banner_desk ) : ?>
|
||||
<picture class="banner-fon">
|
||||
<source srcset="<?php echo esc_url( $banner_desk ); ?>" media="(min-width: 860px)">
|
||||
<img src="<?php echo esc_url( $banner_mob ); ?>"
|
||||
alt="<?php echo esc_attr( $banner_alt ); ?>"
|
||||
width="1295" height="454"
|
||||
loading="eager"
|
||||
fetchpriority="high"
|
||||
decoding="sync">
|
||||
</picture>
|
||||
<?php endif; ?>
|
||||
<div class="banner__content desktop">
|
||||
<h1 class="page_title"><?php echo wp_kses_post( carbon_get_post_meta( $post_id, 'banner_h1' ) ); ?></h1>
|
||||
<?php if ( carbon_get_post_meta( $post_id, 'banner_text' ) ) : ?>
|
||||
<p class="banner_text"><?php echo wp_kses_post( carbon_get_post_meta( $post_id, 'banner_text' ) ); ?></p>
|
||||
<?php endif; ?>
|
||||
<button class="btn-free-lesson-header btn-lilac btn-banner btn-write">Оставить заявку</button>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div class="banner__content mobile">
|
||||
<p class="page_title"><?php echo wp_kses_post( carbon_get_post_meta( $post_id, 'banner_h1' ) ); ?></p>
|
||||
<?php if ( carbon_get_post_meta( $post_id, 'banner_text' ) ) : ?>
|
||||
<p class="banner_text"><?php echo wp_kses_post( carbon_get_post_meta( $post_id, 'banner_text' ) ); ?></p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<button class="mobile btn-write btn-lilac btn-page">Записаться</button>
|
||||
|
||||
<?php get_template_part('template-parts/block-banner-info'); ?>
|
||||
<?php get_template_part('template-parts/advertising-banner'); ?>
|
||||
|
||||
<section class="advantages__block">
|
||||
<div class="container">
|
||||
<div class="advantages__block-wrapper">
|
||||
<h2 class="page_h2">Наши услуги</h2>
|
||||
<div class="advantages__block-content">
|
||||
<div class="advantages__block-row">
|
||||
<div class="advantages__block-item" style="border:2px solid #A05A95">
|
||||
<div class="advantages__block-item_title">Начальная школа</div>
|
||||
<p>Обучение ведётся по программе «Перспектива» и методике Занкова в соответствии с ФГОС, включая изучение английского языка с 1 класса.</p>
|
||||
<div class="advantages__block-item-img">
|
||||
<a href="/nachalnaya-shkola/">Узнать подробнее ></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="advantages__block-item" style="border:2px solid #F682A5">
|
||||
<?php // ИСПРАВЛЕНО: была опечатка a/vantages__block-item_title ?>
|
||||
<div class="advantages__block-item_title">Подготовка к школе</div>
|
||||
<p>Программа для будущих первоклассников: развитие базовых навыков, логики и речи через игровые задания.</p>
|
||||
<div class="advantages__block-item-img">
|
||||
<a href="/podgotovka-k-shkole/">Узнать подробнее ></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="advantages__block-item" style="border:2px solid #FEDF6F">
|
||||
<div class="advantages__block-item_title">Группы продлённого дня</div>
|
||||
<p>Помощь с домашними заданиями, творческие и развивающие занятия.</p>
|
||||
<div class="advantages__block-item-img">
|
||||
<a href="/prodlenka/">Узнать подробнее ></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="advantages__block-row">
|
||||
<div class="advantages__block-item" style="border:2px solid #F9A474">
|
||||
<div class="advantages__block-item_title">Подготовка к экзаменам ОГЭ, ЕГЭ и ВПР</div>
|
||||
<p>Интенсивная подготовка к экзаменам ВПР, ОГЭ и ЕГЭ по всем предметам школьной программы.</p>
|
||||
<div class="advantages__block-item-img">
|
||||
<a href="https://schelkovo.dekart-school.ru/">Узнать подробнее ></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="advantages__block-item" style="border:2px solid #C9DA8F">
|
||||
<div class="advantages__block-item_title">Летний городской лагерь</div>
|
||||
<p>Образование, творчество и наука в тематических сменах.</p>
|
||||
<div class="advantages__block-item-img">
|
||||
<a href="/gorodskoj-lager/">Узнать подробнее ></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="advantages__block-item" style="border:2px solid #B8CEDC">
|
||||
<div class="advantages__block-item_title">Кружки и секции</div>
|
||||
<p>Творческие студии, спортивные секции и развивающие занятия для детей всех возрастов.</p>
|
||||
<div class="advantages__block-item-img"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php
|
||||
// Текст блока берётся из поля Carbon Fields "block_text_1"
|
||||
// Редактируется в: Страницы → Главная → Настройки Главной Страницы
|
||||
$block_text_1 = carbon_get_post_meta( $post_id, 'block_text_1' );
|
||||
|
||||
// Запасной текст — показывается если поле в админке пустое
|
||||
if ( ! $block_text_1 ) {
|
||||
$block_text_1 = '<p>В нашей частной школе в Щелково мы знаем каждого ученика по имени. Небольшие классы до 12 человек, педагоги с опытом от 10 лет и углублённый английский с 1 класса. Работаем по программе «Перспектива» и методике Занкова. Принимаем детей из Щелково, Фрязино и Ивантеевки. Лицензия Министерства образования Московской области.</p>';
|
||||
}
|
||||
?>
|
||||
<section class="info__block" style="padding-bottom:0;margin-top:40px">
|
||||
<div class="container">
|
||||
<div class="info__block-wrapper">
|
||||
<div class="info__block-content">
|
||||
<div class="info__block-content_text" style="max-width:100%">
|
||||
<?php echo wp_kses_post( $block_text_1 ); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="cta-block" style="background:linear-gradient(90deg,#fdf6ff 0%,#f5e8f5 100%);padding:60px 0;border-top:2px solid #A05A95;border-bottom:2px solid #A05A95;margin:40px 0;text-align:center">
|
||||
<div class="container">
|
||||
<div class="cta-wrapper" style="max-width:900px;margin:0 auto">
|
||||
<h2 class="page_h2" style="margin-bottom:20px;line-height:1.3">Запишитесь на бесплатную экскурсию по школе и познакомьтесь с нашей программой!</h2>
|
||||
<p style="font-size:1.2rem;color:#444;margin-bottom:30px">Получите персональную консультацию и узнайте стоимость обучения прямо сейчас.</p>
|
||||
<button class="btn-write btn-lilac btn-page" style="margin:0 auto;display:block;padding:18px 45px;font-size:1.3rem;box-shadow:0 4px 15px rgba(160,90,149,.3)">Записаться на экскурсию</button>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php get_template_part('template-parts/teachers'); ?>
|
||||
|
||||
<?php
|
||||
|
||||
?>
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@graph": [
|
||||
{
|
||||
"@type": "WebSite",
|
||||
"@id": "https://schelkovo.dekart.school/#website",
|
||||
"url": "https://schelkovo.dekart.school/",
|
||||
"name": "Частная школа Декарт в Щелково",
|
||||
"description": "Частная школа Декарт в Щелково — начальные классы, подготовка к школе, ОГЭ/ЕГЭ, городской лагерь",
|
||||
"publisher": { "@id": "https://schelkovo.dekart.school/#organization" },
|
||||
"inLanguage": "ru-RU",
|
||||
"potentialAction": {
|
||||
"@type": "SearchAction",
|
||||
"target": {
|
||||
"@type": "EntryPoint",
|
||||
"urlTemplate": "https://schelkovo.dekart.school/?s={search_term_string}"
|
||||
},
|
||||
"query-input": "required name=search_term_string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"@type": "WebPage",
|
||||
"@id": "https://schelkovo.dekart.school/",
|
||||
"url": "https://schelkovo.dekart.school/",
|
||||
"name": "Частная школа в Щелково | 1-11 класс — Декарт",
|
||||
"isPartOf": { "@id": "https://schelkovo.dekart.school/#website" },
|
||||
"about": { "@id": "https://schelkovo.dekart.school/#organization" },
|
||||
"description": "Частная школа «Декарт» в Щелково: 1-11 класс, углублённое изучение английского языка, подготовка к школе. Запишитесь на экскурсию!",
|
||||
"breadcrumb": { "@id": "https://schelkovo.dekart.school/#breadcrumb" },
|
||||
"inLanguage": "ru-RU",
|
||||
"dateModified": "<?php echo get_the_modified_date('c'); ?>"
|
||||
},
|
||||
{
|
||||
"@type": "BreadcrumbList",
|
||||
"@id": "https://schelkovo.dekart.school/#breadcrumb",
|
||||
"itemListElement": [
|
||||
{
|
||||
"@type": "ListItem",
|
||||
"position": 1,
|
||||
"name": "Главная страница",
|
||||
"item": "https://schelkovo.dekart.school/"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"@type": ["Organization", "EducationalOrganization", "School"],
|
||||
"@id": "https://schelkovo.dekart.school/#organization",
|
||||
"name": "Частная школа Декарт",
|
||||
"url": "https://schelkovo.dekart.school/",
|
||||
"logo": {
|
||||
"@type": "ImageObject",
|
||||
"url": "https://schelkovo.dekart.school/wp-content/themes/dekart/assets/images/logo-svg.svg",
|
||||
"width": 238,
|
||||
"height": 70
|
||||
},
|
||||
"image": "https://schelkovo.dekart.school/wp-content/themes/dekart/assets/images/logo-svg.svg",
|
||||
"sameAs": ["https://vk.com/shkola_dekart"],
|
||||
"contactPoint": {
|
||||
"@type": "ContactPoint",
|
||||
"telephone": "+79303334151",
|
||||
"email": "shelkovo@dekart-school.ru",
|
||||
"contactType": "customer service",
|
||||
"areaServed": "RU",
|
||||
"availableLanguage": "Russian"
|
||||
},
|
||||
"address": {
|
||||
"@type": "PostalAddress",
|
||||
"streetAddress": "Комсомольская ул., 11",
|
||||
"addressLocality": "Щелково",
|
||||
"addressRegion": "Московская обл.",
|
||||
"postalCode": "141100",
|
||||
"addressCountry": "RU"
|
||||
},
|
||||
"geo": {
|
||||
"@type": "GeoCoordinates",
|
||||
"latitude": "55.928461",
|
||||
"longitude": "38.000991"
|
||||
},
|
||||
"openingHoursSpecification": [
|
||||
{
|
||||
"@type": "OpeningHoursSpecification",
|
||||
"dayOfWeek": [
|
||||
"http://schema.org/Monday",
|
||||
"http://schema.org/Tuesday",
|
||||
"http://schema.org/Wednesday",
|
||||
"http://schema.org/Thursday",
|
||||
"http://schema.org/Friday"
|
||||
],
|
||||
"opens": "10:00",
|
||||
"closes": "21:00"
|
||||
}
|
||||
],
|
||||
"areaServed": [
|
||||
{ "@type": "City", "name": "Щелково" },
|
||||
{ "@type": "City", "name": "Фрязино" },
|
||||
{ "@type": "City", "name": "Ивантеевка" }
|
||||
],
|
||||
"hasCredential": {
|
||||
"@type": "EducationalOccupationalCredential",
|
||||
"credentialCategory": "Лицензия на образовательную деятельность",
|
||||
"recognizedBy": {
|
||||
"@type": "GovernmentOrganization",
|
||||
"name": "Министерство образования Московской области"
|
||||
}
|
||||
},
|
||||
"hasOfferCatalog": {
|
||||
"@type": "OfferCatalog",
|
||||
"name": "Услуги школы Декарт",
|
||||
"itemListElement": [
|
||||
{
|
||||
"@type": "Offer",
|
||||
"itemOffered": {
|
||||
"@type": "Service",
|
||||
"name": "Начальная школа (1–4 класс)",
|
||||
"description": "Обучение по программе «Перспектива» и методике Занкова, английский с 1 класса"
|
||||
}
|
||||
},
|
||||
{
|
||||
"@type": "Offer",
|
||||
"itemOffered": {
|
||||
"@type": "Service",
|
||||
"name": "Подготовка к школе",
|
||||
"description": "Программа для будущих первоклассников"
|
||||
}
|
||||
},
|
||||
{
|
||||
"@type": "Offer",
|
||||
"itemOffered": {
|
||||
"@type": "Service",
|
||||
"name": "Подготовка к ОГЭ и ЕГЭ",
|
||||
"description": "Интенсивная подготовка к ВПР, ОГЭ и ЕГЭ по всем предметам"
|
||||
}
|
||||
},
|
||||
{
|
||||
"@type": "Offer",
|
||||
"itemOffered": {
|
||||
"@type": "Service",
|
||||
"name": "Летний городской лагерь",
|
||||
"description": "Образование, творчество и наука в тематических сменах"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
</script>
|
||||
|
||||
<?php
|
||||
?>
|
||||
<script>
|
||||
document.addEventListener('click', function(event) {
|
||||
if (!event.target.classList.contains('tab-clicked')) return;
|
||||
var tabsBlock = event.target.parentNode.parentNode.parentNode;
|
||||
var tabNum = event.target.parentNode.getAttribute('data-tab-btn');
|
||||
var content = tabsBlock.querySelector('.tabs-content');
|
||||
if (!content) return;
|
||||
content.style.cssText = 'opacity:0;filter:blur(5px);left:-50%';
|
||||
tabsBlock.querySelectorAll('.tab').forEach(function(t){ t.classList.remove('active'); });
|
||||
tabsBlock.querySelector('[data-tab-btn="' + tabNum + '"]').classList.add('active');
|
||||
setTimeout(function() {
|
||||
content.style.cssText = '';
|
||||
tabsBlock.querySelectorAll('.page-tab').forEach(function(t, i) {
|
||||
if (i !== Number(tabNum) - 1) t.classList.remove('active');
|
||||
else t.classList.add('active');
|
||||
});
|
||||
}, 300);
|
||||
});
|
||||
</script>
|
||||
|
||||
<?php get_template_part('template-parts/map'); ?>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
896
wp-content/themes/dekart/functions.php
Normal file
@ -0,0 +1,896 @@
|
||||
<?php
|
||||
/* --- Удаляем мета из YOASTSEO START--- */
|
||||
add_filter( 'wpseo_json_ld_output', '__return_false' );
|
||||
/* --- Удаляем мета из YOASTSEO END --- */
|
||||
add_theme_support('title-tag');
|
||||
/* --- #SEND Review Form --- */
|
||||
add_action( 'template_redirect', 'author_archive_redirect' );
|
||||
add_filter( 'author_link', 'remove_author_pages_link' );
|
||||
// редиректим на главную со страниц авторов
|
||||
function author_archive_redirect() {
|
||||
if( is_author() ) {
|
||||
wp_redirect( home_url(), 301 );
|
||||
exit;
|
||||
}
|
||||
}
|
||||
// удаляем ссылку
|
||||
function remove_author_pages_link( $content ) {
|
||||
return home_url();
|
||||
}
|
||||
/*
|
||||
/* --- Courses --- */
|
||||
add_action( 'init', 'create_courses_hierarchical_taxonomy', 0 );
|
||||
function create_courses_hierarchical_taxonomy() {
|
||||
$labels = array(
|
||||
'name' => _x( 'Категории курсов', 'taxonomy general name' ),
|
||||
'singular_name' => _x( 'Категория курсов', 'taxonomy singular name' ),
|
||||
'search_items' => __( 'Поиск курсов по категории' ),
|
||||
'all_items' => __( 'Все категории курсов' ),
|
||||
'parent_item' => __( 'Родительская категория курсов' ),
|
||||
'parent_item_colon' => __( 'Родителькая категория курсов:' ),
|
||||
'edit_item' => __( 'Редактировать категорию' ),
|
||||
'update_item' => __( 'Обновить категорию' ),
|
||||
'add_new_item' => __( 'Добавить новую категорию' ),
|
||||
'new_item_name' => __( 'Новая категория' ),
|
||||
'menu_name' => __( 'Категории курсов' ),
|
||||
);
|
||||
register_taxonomy('courses', array('course'), array(
|
||||
'hierarchical' => true,
|
||||
'labels' => $labels,
|
||||
'show_ui' => true,
|
||||
'show_admin_column' => true,
|
||||
'query_var' => true,
|
||||
'rewrite' => array( 'slug' => 'courses' ),
|
||||
));
|
||||
}
|
||||
add_action( 'init', 'create_course' );
|
||||
function create_course() {
|
||||
register_post_type( 'course',
|
||||
array(
|
||||
'labels' => array(
|
||||
'name' => 'Курсы',
|
||||
'singular_name' => 'Курс',
|
||||
'add_new' => 'Добавить курс',
|
||||
'add_new_item' => 'Добавить курс',
|
||||
'edit' => 'Редактировать курс',
|
||||
'edit_item' => 'Редактировать курс',
|
||||
'new_item' => 'Новый курс',
|
||||
'view' => 'Смотреть курс',
|
||||
'view_item' => 'Смотреть курс',
|
||||
'search_items' => 'Поиск курсов',
|
||||
'not_found' => 'Курсы не найдены',
|
||||
'not_found_in_trash' => 'В корзине нет курсов',
|
||||
'parent' => 'Родительский курс'
|
||||
),
|
||||
'public' => true,
|
||||
'exclude_from_search'=> false,
|
||||
'menu_position' => 12,
|
||||
'supports' => array( 'title' ),
|
||||
'publicly_queryable' => true,
|
||||
'menu_icon' => 'dashicons-welcome-learn-more',
|
||||
'taxonomies' => array( 'courses' ),
|
||||
'has_archive' => false
|
||||
)
|
||||
);
|
||||
}
|
||||
/* --- ##Cources## --- */
|
||||
|
||||
/* --- trainingCategory --- */
|
||||
add_action( 'init', 'create_trainingCategory_hierarchical_taxonomy', 0 );
|
||||
function create_trainingCategory_hierarchical_taxonomy() {
|
||||
$labels = array(
|
||||
'name' => _x( 'Категории', 'Категория обучения учителя' ),
|
||||
'singular_name' => _x( 'Категория', 'Категория' ),
|
||||
'search_items' => __( 'Поиск категории' ),
|
||||
'all_items' => __( 'Все категории' ),
|
||||
'parent_item' => __( 'Родительская категория' ),
|
||||
'parent_item_colon' => __( 'Родительская категория:' ),
|
||||
'edit_item' => __( 'Редактировать категорию' ),
|
||||
'update_item' => __( 'Обновить категорию' ),
|
||||
'add_new_item' => __( 'Добавить новую категорию' ),
|
||||
'new_item_name' => __( 'Новая категория' ),
|
||||
'menu_name' => __( 'Категории' ),
|
||||
);
|
||||
register_taxonomy('trainingCategory', array('teacher'), array(
|
||||
'hierarchical' => true,
|
||||
'labels' => $labels,
|
||||
'show_ui' => true,
|
||||
'show_admin_column' => true,
|
||||
'query_var' => true,
|
||||
'rewrite' => false, // Отключаем перезапись URL
|
||||
));
|
||||
}
|
||||
|
||||
// ✅ Приоритет 5 — регистрация CPT teacher ДО инициализации Carbon Fields
|
||||
add_action( 'init', 'create_teacher', 5 );
|
||||
function create_teacher() {
|
||||
register_post_type( 'teacher',
|
||||
array(
|
||||
'labels' => array(
|
||||
'name' => 'Преподаватели',
|
||||
'singular_name' => 'Преподаватель',
|
||||
'add_new' => 'Добавить преподавателя',
|
||||
'add_new_item' => 'Добавить преподавателя',
|
||||
'edit' => 'Редактировать преподавателя',
|
||||
'edit_item' => 'Редактировать преподавателя',
|
||||
'new_item' => 'Новый преподаватель',
|
||||
'view' => 'Смотреть преподавателя',
|
||||
'view_item' => 'Смотреть преподавателя',
|
||||
'search_items' => 'Поиск преподавателей',
|
||||
'not_found' => 'Преподаватели не найдены',
|
||||
'not_found_in_trash' => 'В корзине нет преподавателей',
|
||||
'parent' => 'Родительский преподаватель'
|
||||
),
|
||||
'public' => true,
|
||||
'exclude_from_search'=> false,
|
||||
'menu_position' => 12,
|
||||
'show_in_rest' => true,
|
||||
'supports' => array( 'title', 'thumbnail' ),
|
||||
'publicly_queryable' => true,
|
||||
'menu_icon' => 'dashicons-admin-users',
|
||||
'taxonomies' => array( 'subject' ),
|
||||
'has_archive' => false
|
||||
)
|
||||
);
|
||||
}
|
||||
/* --- ##Teacher## --- */
|
||||
|
||||
/* --- Reviews --- */
|
||||
add_action( 'init', 'create_reviews' );
|
||||
function create_reviews() {
|
||||
register_post_type( 'reviews',
|
||||
array(
|
||||
'labels' => array(
|
||||
'name' => 'Отзывы',
|
||||
'singular_name' => 'Отзыв',
|
||||
'add_new' => 'Добавить отзыв',
|
||||
'add_new_item' => 'Добавить отзыв',
|
||||
'edit' => 'Редактировать отзыв',
|
||||
'edit_item' => 'Редактировать отзыв',
|
||||
'new_item' => 'Новый отзыв',
|
||||
'view' => 'Смотреть отзыв',
|
||||
'view_item' => 'Смотреть отзыв',
|
||||
'search_items' => 'Поиск отзывов',
|
||||
'not_found' => 'Отзывы не найдены',
|
||||
'not_found_in_trash' => 'В корзине нет отзывов',
|
||||
'parent' => 'Родительский отзыв'
|
||||
),
|
||||
'public' => true,
|
||||
'exclude_from_search'=> true,
|
||||
'menu_position' => 13,
|
||||
'supports' => array( 'title' ),
|
||||
'publicly_queryable' => false,
|
||||
'menu_icon' => 'dashicons-format-status',
|
||||
'has_archive' => false
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
use Carbon_Fields\Container;
|
||||
use Carbon_Fields\Field;
|
||||
|
||||
add_action( 'carbon_fields_register_fields', 'add_carbon' );
|
||||
function add_carbon() {
|
||||
|
||||
// ====================================================
|
||||
// Настройки темы
|
||||
// ====================================================
|
||||
Container::make( 'theme_options', 'Настройка темы ДЕКАРТ' )
|
||||
->add_tab('Основные', array(
|
||||
Field::make( 'text', 'site_name', 'Название учебного центра: (используйте в названии только одинарный кавычки)' ),
|
||||
Field::make( 'text', 'site_phone', 'Телефон:' ),
|
||||
Field::make( 'text', 'site_phone_multi', 'Телефон (многоканальный):' ),
|
||||
Field::make( 'text', 'site_mail', 'Почта для связи:' ),
|
||||
Field::make( 'text', 'site_index', 'Почтовый индекс:' ),
|
||||
Field::make( 'text', 'site_region', 'Область:' ),
|
||||
Field::make( 'text', 'site_city', 'Город:' ),
|
||||
Field::make( 'text', 'site_address', 'Адрес:' ),
|
||||
Field::make( 'text', 'site_map_link', 'Ссылка на карту:' ),
|
||||
Field::make( 'text', 'site_location', 'Координаты адреса (для яндекc карт):' ),
|
||||
Field::make( 'text', 'site_frame_reviews', 'Ссылка на страницу с отзывами:' ),
|
||||
Field::make( 'textarea', 'site_bitrix_script', 'script (формы) БИТРИКС24:' ),
|
||||
Field::make( 'textarea', 'site_bitrix_vacancies', 'script (для формы связаться с нами) БИТРИКС24:' ),
|
||||
Field::make( 'checkbox', 'check_banner', 'Отображать плашку со скидкой на формах "Запись на бесплатное пробное занятие"' )
|
||||
->set_option_value( 'yes' ),
|
||||
Field::make( 'checkbox', 'check_btn_discont', 'Не показывать кнопку "Стоимость ак. часа со скидкой"' )
|
||||
->set_option_value( 'yes' ),
|
||||
Field::make( 'text', 'text_banner', 'Текст в плашке:' )
|
||||
->set_default_value('Всем записавшимся до 10 сентября<br class="desktop"><span>скидка 10%</span> на весь учебный год!'),
|
||||
))
|
||||
->add_tab('Контент', array(
|
||||
Field::make( 'textarea', 'teachers_block', 'Текст в блоке "Наша команда":' ),
|
||||
))
|
||||
->add_tab('Цены и скидки', array(
|
||||
Field::make( 'checkbox', 'early_bird_discount', 'Выводить строку "Скидка за раннюю запись.' )
|
||||
->set_option_value( 'yes' ),
|
||||
Field::make( 'text', 'price_hour1', 'Стоимость ак. часа один предмет:' )
|
||||
->set_attribute( 'type', 'number' ),
|
||||
Field::make( 'text', 'price_hour2', 'Стоимость ак. часа два предмета:' )
|
||||
->set_attribute( 'type', 'number' ),
|
||||
Field::make( 'text', 'price_hour3', 'Стоимость ак. часа три предмета:' )
|
||||
->set_attribute( 'type', 'number' ),
|
||||
Field::make( 'text', 'price_hour4', 'Стоимость ак. часа четыре и более предметов:' )
|
||||
->set_attribute( 'type', 'number' ),
|
||||
Field::make( 'text', 'price_hour_discount1', 'Стоимость ак. часа один предмет со скидкой:' )
|
||||
->set_attribute( 'type', 'number' ),
|
||||
Field::make( 'text', 'price_hour_discount2', 'Стоимость ак. часа два предмета со скидкой:' )
|
||||
->set_attribute( 'type', 'number' ),
|
||||
Field::make( 'text', 'price_hour_discount3', 'Стоимость ак. часа три предмета со скидкой:' )
|
||||
->set_attribute( 'type', 'number' ),
|
||||
Field::make( 'text', 'price_hour_discount4', 'Стоимость ак. часа четыре и более предметов со скидкой:' )
|
||||
->set_attribute( 'type', 'number' ),
|
||||
))
|
||||
->add_tab('Социальные сети:', array(
|
||||
Field::make( 'text', 'social_header_wt', 'ссылка на WhatsApp в шапке сайта' ),
|
||||
Field::make( 'text', 'social_wt', 'ссылка на WhatsApp на странице "Контакты"' ),
|
||||
Field::make( 'complex', 'social_media', 'Социальная сеть' )
|
||||
->add_fields( array(
|
||||
Field::make( 'text', 'social_media_name', 'Название:' )
|
||||
->set_width( 100 ),
|
||||
Field::make( 'image', 'social_media_img', 'Логотип:' )
|
||||
->set_width( 20 ),
|
||||
Field::make( 'text', 'social_media_link', 'Cсылка:' )
|
||||
->set_width( 80 ),
|
||||
)),
|
||||
))
|
||||
->add_tab('Галерея', array(
|
||||
Field::make( 'complex', 'slider_img', 'Галерея изображений учебного центра' )
|
||||
->set_layout( 'tabbed-horizontal' )
|
||||
->add_fields( array(
|
||||
Field::make( 'image', 'img', 'Фотография:' ),
|
||||
)),
|
||||
));
|
||||
|
||||
// ====================================================
|
||||
// Доп поля для всех страниц
|
||||
// ====================================================
|
||||
Container::make('post_meta', 'Дополнительные поля')
|
||||
->where('post_type', '=', 'page')
|
||||
->where('post_id', '!=', 64)
|
||||
->add_fields(array(
|
||||
Field::make( 'image', 'banner_img_desktop', 'Изображение для баннера (десктопная версия)' )
|
||||
->help_text( 'Размер изображения (желательно) 1295px на 454px' )
|
||||
->set_width( 15 ),
|
||||
Field::make( 'image', 'banner_img_mobile', 'Изображение для баннера (мобильная версия)' )
|
||||
->help_text( 'Размер изображения (желательно) 450px на 225px' )
|
||||
->set_width( 15 ),
|
||||
Field::make( 'text', 'banner_h1', 'текст для H1' )
|
||||
->set_width( 100 ),
|
||||
Field::make( 'text', 'banner_text', 'Дополнительный текст под H1' )
|
||||
->set_width( 100 ),
|
||||
Field::make( 'complex', 'page_breadcrumbs', 'Хлебные крошки' )
|
||||
->set_layout( 'tabbed-horizontal' )
|
||||
->add_fields( array(
|
||||
Field::make( 'text', 'breadcrumbs_name', 'Название крошки:' )
|
||||
->set_width( 50 ),
|
||||
Field::make( 'text', 'breadcrumbs_link', 'Ссылка крошки:' )
|
||||
->set_width( 50 )
|
||||
->set_default_value('#'),
|
||||
)),
|
||||
));
|
||||
|
||||
// ====================================================
|
||||
// Доп поля для категории Курсов
|
||||
// ====================================================
|
||||
Container::make( 'term_meta', 'Дополнительные поля к Курсам' )
|
||||
->where( 'term_taxonomy', '=', 'courses' )
|
||||
->show_on_level(1)
|
||||
->where( 'term_level', '=', 1 )
|
||||
->add_fields( array(
|
||||
Field::make( 'image', 'snippet', 'Изображение для сниппета:' )
|
||||
->set_width( 100 ),
|
||||
Field::make( 'image', 'banner_img_desktop', 'Изображение для баннера (десктопная версия)' )
|
||||
->help_text( 'Размер изображения (желательно) 1920px на 1030px' )
|
||||
->set_width( 15 ),
|
||||
Field::make( 'image', 'banner_img_mobile', 'Изображение для баннера (мобильная версия)' )
|
||||
->help_text( 'Размер изображения (желательно) 390px на 550px' )
|
||||
->set_width( 15 ),
|
||||
Field::make( 'textarea', 'banner_content', 'Текстовый контент баннера' )
|
||||
->set_width( 70 ),
|
||||
Field::make( 'text', 'title_product', 'Заголовок блока курсов:' )
|
||||
->set_width( 100 ),
|
||||
));
|
||||
|
||||
// ====================================================
|
||||
// Уникальное имя контейнера Главной Страницы
|
||||
// ====================================================
|
||||
Container::make('post_meta', 'Настройки Главной Страницы')
|
||||
->where('post_template', '=', 'front-page.php')
|
||||
->add_fields(array(
|
||||
Field::make( 'textarea', 'block_text_1', 'Текст для блока Частная школа в Щелково "Декарт"' ),
|
||||
Field::make( 'image', 'main_banner_img_desktop', 'Изображение рекламного баннера (десктопная версия)' )
|
||||
->help_text( 'Размер изображения (желательно) 1185px на 190px' )
|
||||
->set_width( 15 ),
|
||||
Field::make( 'image', 'main_banner_img_mobile', 'Изображение рекламного баннера (мобильная версия)' )
|
||||
->help_text( 'Размер изображения (желательно) 390px на 550px' )
|
||||
->set_width( 15 ),
|
||||
Field::make( 'text', 'main_banner_link', 'УРЛ баннера:' )
|
||||
->set_default_value('#'),
|
||||
));
|
||||
|
||||
// ====================================================
|
||||
// Доп поля для страницы начальной школы
|
||||
// ====================================================
|
||||
Container::make('post_meta', 'Настройки Начальной Школы')
|
||||
->where('post_template', '=', 'page-school.php')
|
||||
->add_fields(array(
|
||||
Field::make( 'textarea', 'teachers_block', 'Текст в блоке "Наша команда":' ),
|
||||
Field::make( 'image', 'main_banner_img_desktop', 'Изображение рекламного баннера (десктопная версия)' )
|
||||
->help_text( 'Размер изображения (желательно) 1185px на 190px' )
|
||||
->set_width( 15 ),
|
||||
Field::make( 'image', 'main_banner_img_mobile', 'Изображение рекламного баннера (мобильная версия)' )
|
||||
->help_text( 'Размер изображения (желательно) 390px на 550px' )
|
||||
->set_width( 15 ),
|
||||
Field::make( 'text', 'main_banner_link', 'УРЛ баннера:' )
|
||||
->set_default_value('#'),
|
||||
Field::make( 'textarea', 'block_text_1', 'Текст для блока "Персональный план развития для каждого ученика"' ),
|
||||
Field::make( 'textarea', 'block_text_2', 'Текст для блока - Почему начальная частная школа "Декарт", а не государственная?' ),
|
||||
Field::make( 'textarea', 'block_text_3', 'Текст для блока "Семейные классы в Щелково"' ),
|
||||
Field::make( 'complex', 'questions', 'Блок вопросы и ответы' )
|
||||
->set_layout( 'tabbed-horizontal' )
|
||||
->add_fields( array(
|
||||
Field::make( 'textarea', 'questions_question', 'Текст вопроса' )
|
||||
->set_width( 30 ),
|
||||
Field::make( 'textarea', 'questions_answer', 'Текст ответа' )
|
||||
->set_width( 70 ),
|
||||
)),
|
||||
));
|
||||
|
||||
// ====================================================
|
||||
// Доп поля для страницы "ВСЕ КУРСЫ"
|
||||
// ====================================================
|
||||
Container::make('post_meta', 'Настройки Страницы Все Курсы')
|
||||
->where('post_template', '=', 'page-course.php')
|
||||
->add_fields(array(
|
||||
Field::make( 'image', 'banner_img_desktop', 'Изображение для баннера (десктопная версия)' )
|
||||
->help_text( 'Размер изображения (желательно) 1920px на 440px' )
|
||||
->set_width( 15 ),
|
||||
Field::make( 'image', 'banner_img_mobile', 'Изображение для баннера (мобильная версия)' )
|
||||
->help_text( 'Размер изображения (желательно) 450px на 225px' )
|
||||
->set_width( 15 ),
|
||||
));
|
||||
|
||||
// ====================================================
|
||||
// Доп поля для страницы "ВАКАНСИИ"
|
||||
// ====================================================
|
||||
Container::make('post_meta', 'Настройки Страницы ВАКАНСИИ')
|
||||
->where('post_template', '=', 'page-vacancies.php')
|
||||
->add_fields(array(
|
||||
Field::make( 'complex', 'vacancies', 'Вакансии учебного центра:' )
|
||||
->add_fields( array(
|
||||
Field::make( 'text', 'vacancie_name', 'Название вакансии:' ),
|
||||
Field::make( 'text', 'vacancie_link', 'Ссылка на страницу вакансии:' ),
|
||||
))
|
||||
));
|
||||
|
||||
// ====================================================
|
||||
// Доп поля для страницы "КОНТАКТЫ"
|
||||
// ====================================================
|
||||
Container::make('post_meta', 'Настройки Страницы Контакты')
|
||||
->where('post_template', '=', 'page-contacts.php')
|
||||
->add_fields(array(
|
||||
Field::make( 'image', 'img_school', 'Изображение школы:' )
|
||||
));
|
||||
|
||||
// ====================================================
|
||||
// Доп поля для категории (ПРЕДМЕТ)
|
||||
// ====================================================
|
||||
Container::make('term_meta', 'Category Properties')
|
||||
->where('term_taxonomy', '=', 'subject')
|
||||
->show_on_level(1)
|
||||
->where('term_level', '=', 1)
|
||||
->add_fields(array(
|
||||
Field::make('text', 'subject_h1', 'Заголовок H1:')
|
||||
->set_width( 100 )
|
||||
));
|
||||
|
||||
// ====================================================
|
||||
// Доп поля для сущностей reviews (ОТЗЫВ)
|
||||
// ====================================================
|
||||
Container::make('post_meta', 'Поля для отзыва')
|
||||
->where('post_type', '=', 'reviews')
|
||||
->add_fields(array(
|
||||
Field::make( 'radio', 'review_type', 'Тип отзыва' )
|
||||
->set_options( [
|
||||
'camp' => 'О лагере',
|
||||
'school' => 'О школе',
|
||||
'primary' => 'О начальной школе',
|
||||
] )
|
||||
->set_default_value( 'school' )
|
||||
->set_help_text( 'Выберите тип отзыва' ),
|
||||
Field::make( 'image', 'review_avatar', 'Автар:' )
|
||||
->set_width( 15 ),
|
||||
Field::make( 'text', 'review_star', 'Оценка:' )
|
||||
->set_attribute( 'type', 'number' ),
|
||||
Field::make( 'textarea', 'review_text', 'Текст отзыва:' )
|
||||
->set_width( 100 ),
|
||||
Field::make('association', 'review_teacher', 'Выберите преподавателя:')
|
||||
->set_width( 32 )
|
||||
->set_types(array(
|
||||
array(
|
||||
'type' => 'post',
|
||||
'post_type' => 'teacher',
|
||||
)
|
||||
))
|
||||
->set_required(true)
|
||||
->set_max(1)
|
||||
->help_text( 'выбирается только один' ),
|
||||
));
|
||||
|
||||
// ====================================================
|
||||
// Доп поля для записей teacher
|
||||
// ====================================================
|
||||
Container::make( 'post_meta', 'Поля для преподавателя' )
|
||||
->where( 'post_type', '=', 'teacher' )
|
||||
->add_fields( array(
|
||||
Field::make( 'text', 'teacher_direction', 'Направление преподавателя (текст в под фото):' ),
|
||||
Field::make( 'image', 'teacher_avatar', 'Автар:' )
|
||||
->set_width( 15 ),
|
||||
Field::make( 'textarea', 'teacher_description', 'Дескрипшн преподавателя' )
|
||||
->set_width( 75 ),
|
||||
Field::make( 'textarea', 'teacher_about', 'О себе:' ),
|
||||
Field::make( 'textarea', 'teacher_education', 'Образование:' ),
|
||||
Field::make( 'textarea', 'teacher_add_education', 'Дополнительное образование:' ),
|
||||
Field::make( 'text', 'teacher_rating', 'Оценка преподавателя' )
|
||||
->set_width( 10 )
|
||||
->set_default_value('5'),
|
||||
Field::make( 'complex', 'teacher_subjects', 'Предметы обучения' )
|
||||
->set_layout( 'tabbed-horizontal' )
|
||||
->add_fields( array(
|
||||
Field::make( 'text', 'teacher_subjects_title', 'Укажите заголовок предмета' )
|
||||
->set_width( 50 )
|
||||
->set_required(true)
|
||||
->help_text( 'Например: Репетитор по математике' ),
|
||||
Field::make( 'textarea', 'select_direction', 'Укажите все направления преподавателя:' )
|
||||
->help_text( 'Пример: <span>Математика</span><span>Русский язык</span>'),
|
||||
Field::make('association', 'select_category', 'Укажите категрии')
|
||||
->set_width( 100 )
|
||||
->set_types(array(
|
||||
array(
|
||||
'type' => 'term',
|
||||
'taxonomy' => 'trainingCategory',
|
||||
)
|
||||
))
|
||||
->help_text( 'В списке указаны все возможные категрии в обучении, выберите необходимые' ),
|
||||
)),
|
||||
Field::make( 'complex', 'certificates', 'Дипломы и сертификаты' )
|
||||
->set_layout( 'tabbed-horizontal' )
|
||||
->add_fields( array(
|
||||
Field::make( 'image', 'certificates_foto', 'Изображение' )
|
||||
))
|
||||
->help_text( 'Добавьте изображение дипломов и сертификатов преподавателя' ),
|
||||
Field::make( 'text', 'teacher_video', 'Ссылка на видеопрезентацию' )
|
||||
->set_width( 100 )
|
||||
->help_text( 'Укажите ссылку на видео в youtube. Пример: <iframe src="https://vk.com/video_ext.php?oid=-43228812&id=456240170hd=2" width="853" height="480" allow="autoplay; encrypted-media; fullscreen; picture-in-picture;" frameborder="0" allowfullscreen></iframe>' ),
|
||||
Field::make( 'complex', 'questions', 'Блок вопросы и ответы' )
|
||||
->set_layout( 'tabbed-horizontal' )
|
||||
->add_fields( array(
|
||||
Field::make( 'textarea', 'questions_question', 'Текст вопроса' )
|
||||
->set_width( 30 ),
|
||||
Field::make( 'textarea', 'questions_answer', 'Текст ответа' )
|
||||
->set_width( 70 ),
|
||||
)),
|
||||
));
|
||||
|
||||
// ====================================================
|
||||
// Уникальное имя контейнера Продлёнки
|
||||
// ====================================================
|
||||
Container::make('post_meta', 'Настройки Продлёнки')
|
||||
->where('post_template', '=', 'page-after-school.php')
|
||||
->add_tab('Общие', array(
|
||||
Field::make( 'text', 'as_address', 'Наш адрес:' ),
|
||||
Field::make( 'text', 'as_price', 'Цена:' ),
|
||||
))
|
||||
->add_tab('Педагоги', array(
|
||||
Field::make( 'complex', 'as_mentors', 'Педагоги' )
|
||||
->set_layout( 'tabbed-horizontal' )
|
||||
->add_fields( array(
|
||||
Field::make( 'image', 'mentor_foto', 'Фотография:' )
|
||||
->set_width( 15 ),
|
||||
Field::make( 'text', 'mentor_name', 'ФИО:' )
|
||||
->set_width( 30 ),
|
||||
Field::make( 'text', 'mentor_directions', 'Описание:' )
|
||||
->set_width( 55 ),
|
||||
))
|
||||
))
|
||||
->add_tab('Распорядок дня', array(
|
||||
Field::make( 'textarea', 'as_routine', 'Блок "Распорядок дня":' ),
|
||||
))
|
||||
->add_tab('Отзывы', array(
|
||||
Field::make( 'complex', 'as_reviews', 'Отзывы клиентов:' )
|
||||
->set_layout( 'tabbed-horizontal' )
|
||||
->add_fields( array(
|
||||
Field::make( 'image', 'review_avatar', 'Автар:' )
|
||||
->set_width( 15 ),
|
||||
Field::make( 'text', 'review_name', 'Имя:' )
|
||||
->set_width( 30 ),
|
||||
Field::make( 'text', 'review_star', 'Оценка:' )
|
||||
->set_width( 15 )
|
||||
->set_attribute( 'type', 'number' ),
|
||||
Field::make( 'textarea', 'review_text', 'Текст отзыва:' )
|
||||
->set_width( 100 ),
|
||||
)),
|
||||
))
|
||||
->add_tab('Вопросы-Ответы', array(
|
||||
Field::make( 'complex', 'as_questions', 'Блок вопросы и ответы' )
|
||||
->set_layout( 'tabbed-horizontal' )
|
||||
->add_fields( array(
|
||||
Field::make( 'textarea', 'questions_question', 'Текст вопроса' )
|
||||
->set_width( 30 ),
|
||||
Field::make( 'textarea', 'questions_answer', 'Текст ответа' )
|
||||
->set_width( 70 ),
|
||||
)),
|
||||
))
|
||||
->add_tab('Фото', array(
|
||||
Field::make( 'complex', 'as_fotos', 'Фотографии:' )
|
||||
->set_layout( 'tabbed-horizontal' )
|
||||
->add_fields( array(
|
||||
Field::make( 'image', 'foto', 'Фото' )
|
||||
)),
|
||||
))
|
||||
->add_tab('Битрикс', array(
|
||||
Field::make( 'textarea', 'as_bitrix_script', 'script (формы) БИТРИКС24:' ),
|
||||
));
|
||||
|
||||
// ====================================================
|
||||
// Доп поля для страницы "ГОРОДСКОЙ ЛАГЕРЬ"
|
||||
// ====================================================
|
||||
Container::make('post_meta', 'Настройки Городской Лагерь')
|
||||
->where('post_template', '=', 'page-camp.php')
|
||||
->add_tab('Баннер', array(
|
||||
Field::make( 'image', 'banner_img', 'Изображение для баннера' ),
|
||||
Field::make( 'text', 'banner_title', 'Текст заголовка H1:' ),
|
||||
Field::make( 'textarea', 'banner_text', 'Текст под заголовком:' ),
|
||||
Field::make( 'text', 'banner_label1', 'Тестовая метка:' )
|
||||
->set_default_value('6,5–11 лет'),
|
||||
Field::make( 'text', 'banner_label2', 'Тестовая метка:' )
|
||||
->set_default_value('мастер-классы'),
|
||||
Field::make( 'text', 'banner_label3', 'Тестовая метка:' )
|
||||
->set_default_value('коммуникация'),
|
||||
))
|
||||
->add_tab('Дополнительный баннер', array(
|
||||
Field::make( 'image', 'banner_add_img', 'Фоновое изображение баннера' ),
|
||||
Field::make( 'text', 'banner_add_title', 'Текст заголовка:' ),
|
||||
Field::make( 'textarea', 'banner_add_text', 'Текст под заголовком:' ),
|
||||
Field::make( 'text', 'banner_add_text_min', 'Сноска (под кнопкой):' )
|
||||
))
|
||||
->add_tab('Дополнительный баннер-2', array(
|
||||
Field::make( 'image', 'banner_add_img2', 'Фоновое изображение баннера' ),
|
||||
Field::make( 'text', 'banner_add_title2', 'Текст заголовка:' ),
|
||||
Field::make( 'textarea', 'banner_add_text2', 'Текст под заголовком:' ),
|
||||
Field::make( 'text', 'banner_add_text_min2', 'Сноска (под кнопкой):' )
|
||||
))
|
||||
->add_tab('Мы предлагаем', array(
|
||||
Field::make( 'complex', 'suggestions', 'Блок "Что мы предлагаем"' )
|
||||
->set_layout( 'tabbed-horizontal' )
|
||||
->add_fields( array(
|
||||
Field::make( 'image', 'suggestions_img', 'Изображение для баннера (десктопная версия)' ),
|
||||
Field::make( 'text', 'suggestions_title', 'Текст заголовка:' ),
|
||||
Field::make( 'textarea', 'suggestions_text', 'Текст под заголовком:' )
|
||||
)),
|
||||
))
|
||||
->add_tab('Программы', array(
|
||||
Field::make( 'text', 'price_half_day', 'Стоимость за половину дня:' )
|
||||
->set_attribute( 'type', 'number' ),
|
||||
Field::make( 'text', 'price_full_day', 'Стоимость за весь день:' )
|
||||
->set_attribute( 'type', 'number' ),
|
||||
Field::make( 'complex', 'programs', 'Блок "Весенние и летние программы"' )
|
||||
->set_layout( 'tabbed-horizontal' )
|
||||
->add_fields( array(
|
||||
Field::make( 'image', 'programs_img', 'Изображение для баннера (десктопная версия)' ),
|
||||
Field::make( 'text', 'programs_title', 'Текст заголовка:' ),
|
||||
Field::make( 'text', 'programs_date', 'Даты проведения:' ),
|
||||
Field::make( 'textarea', 'programs_text', 'Описание в карточке:' ),
|
||||
Field::make( 'text', 'programs_price', 'Стоимость:' )
|
||||
->set_attribute( 'type', 'number' )
|
||||
->set_width( 30 ),
|
||||
Field::make( 'text', 'programs_days', 'Количество дней:' )
|
||||
->set_width( 30 ),
|
||||
Field::make( 'rich_text', 'programs_content', 'Описание для всплывающего окна:' ),
|
||||
)),
|
||||
))
|
||||
->add_tab('Наставники', array(
|
||||
Field::make( 'complex', 'mentors', 'Наставники' )
|
||||
->set_layout( 'tabbed-horizontal' )
|
||||
->add_fields( array(
|
||||
Field::make('association', 'mentor', 'Выберите наставника')
|
||||
->set_width( 32 )
|
||||
->set_types(array(
|
||||
array(
|
||||
'type' => 'post',
|
||||
'post_type' => 'teacher',
|
||||
)
|
||||
))
|
||||
->set_max(1)
|
||||
->help_text( 'выбирается только один наставник для вкладки' ),
|
||||
Field::make( 'text', 'mentor_job', 'Должность:' ),
|
||||
Field::make( 'complex', 'mentor_directions', 'Направления наставника:' )
|
||||
->add_fields( array(
|
||||
Field::make( 'text', 'direction_name', 'Название направления:' ),
|
||||
)),
|
||||
Field::make( 'text', 'mentor_experience', 'Опыт работы в сфере образования:' ),
|
||||
))
|
||||
))
|
||||
->add_tab('Распорядок дня', array(
|
||||
Field::make( 'complex', 'routine', 'Блок "Распорядок дня"' )
|
||||
->add_fields( array(
|
||||
Field::make( 'text', 'routine_time', 'Время:' )
|
||||
->set_width( 15 ),
|
||||
Field::make( 'text', 'routine_title', 'Название мероприятия:' )
|
||||
->set_width( 40 ),
|
||||
Field::make( 'textarea', 'routine_text', 'Описание мероприятия:' )
|
||||
->set_width( 45 ),
|
||||
))
|
||||
))
|
||||
->add_tab('Фотографии', array(
|
||||
Field::make( 'complex', 'fotos', 'Блок с фотографиями' )
|
||||
->set_layout( 'tabbed-horizontal' )
|
||||
->add_fields( array(
|
||||
Field::make( 'image', 'foto', 'Фотография:' )
|
||||
)),
|
||||
Field::make( 'rich_text', 'fotos_content', 'Текстовый контент:' ),
|
||||
Field::make( 'text', 'fotos_link_vk', 'Ссылка на ВК:' )
|
||||
->set_default_value('#')
|
||||
))
|
||||
->add_tab('Вопросы-Ответы', array(
|
||||
Field::make( 'complex', 'questions', 'Блок вопросы и ответы' )
|
||||
->set_layout( 'tabbed-horizontal' )
|
||||
->add_fields( array(
|
||||
Field::make( 'textarea', 'questions_question', 'Текст вопроса' )
|
||||
->set_width( 30 ),
|
||||
Field::make( 'textarea', 'questions_answer', 'Текст ответа' )
|
||||
->set_width( 70 ),
|
||||
)),
|
||||
))
|
||||
->add_tab('Контакты', array(
|
||||
Field::make( 'text', 'contact_address', 'Адрес:' ),
|
||||
Field::make( 'text', 'contact_location', 'Координаты адреса (для яндекc карт):' ),
|
||||
Field::make( 'text', 'contact_location_text', 'Название метки на карте' ),
|
||||
Field::make( 'text', 'contact_tel', 'Телефон' ),
|
||||
Field::make( 'text', 'contact_mail', 'Електронная почта:' ),
|
||||
Field::make( 'complex', 'social_media', 'Социальная сеть' )
|
||||
->add_fields( array(
|
||||
Field::make( 'text', 'social_media_name', 'Название:' )
|
||||
->set_width( 100 ),
|
||||
Field::make( 'image', 'social_media_img', 'Логотип:' )
|
||||
->set_width( 20 ),
|
||||
Field::make( 'text', 'social_media_link', 'Cсылка:' )
|
||||
->set_width( 80 ),
|
||||
)),
|
||||
))
|
||||
->add_tab('Битрикс', array(
|
||||
Field::make( 'textarea', 'camp_bitrix_script', 'script (формы) БИТРИКС24:' ),
|
||||
));
|
||||
}
|
||||
|
||||
// функция получения id курса по его названию
|
||||
function get_post_by_title($page_title) {
|
||||
$query = new WP_Query(
|
||||
[
|
||||
'post_type' => 'course',
|
||||
'title' => $page_title,
|
||||
'post_status' => 'publish',
|
||||
'posts_per_page' => 1,
|
||||
'update_post_term_cache' => false,
|
||||
'update_post_meta_cache' => false,
|
||||
'orderby' => 'post_date ID',
|
||||
'order' => 'ASC',
|
||||
'no_found_rows' => true,
|
||||
'ignore_sticky_posts' => true,
|
||||
]);
|
||||
wp_reset_postdata();
|
||||
if ( $query->post ) return $query->post->ID;
|
||||
else return null;
|
||||
}
|
||||
|
||||
// функция случайного цвета
|
||||
function rand_color() {
|
||||
return sprintf('#%06X', mt_rand(0, 0xFFFFFF));
|
||||
}
|
||||
|
||||
add_theme_support( 'post-thumbnails' );
|
||||
|
||||
add_action('pre_get_posts', 'exclude_custom_taxonomy_posts');
|
||||
function exclude_custom_taxonomy_posts($query) {
|
||||
if (!is_admin() && $query->is_main_query() && ($query->is_tax('trainingCategory') || $query->is_tax('direction'))) {
|
||||
$query->set_404();
|
||||
}
|
||||
}
|
||||
|
||||
function add_og_image() {
|
||||
$term = get_queried_object();
|
||||
if ($term->term_id) {
|
||||
$snippet = carbon_get_term_meta( $term->term_id, 'snippet' );
|
||||
if ($snippet != '') echo '<meta property="og:image" content="' . wp_get_attachment_url($snippet) . '" />' . "\n";
|
||||
}
|
||||
}
|
||||
add_action( 'wp_head', 'add_og_image' );
|
||||
|
||||
function yoastVariableToTitle($post_id) {
|
||||
$yoast_title = get_post_meta($post_id, '_yoast_wpseo_title', true);
|
||||
$title = strstr($yoast_title, '%%', true);
|
||||
if (empty($title)) {
|
||||
$title = get_the_title($post_id);
|
||||
}
|
||||
$wpseo_titles = get_option('wpseo_titles');
|
||||
$sep_options = WPSEO_Option_Titles::get_instance()->get_separator_options();
|
||||
if (isset($wpseo_titles['separator']) && isset($sep_options[$wpseo_titles['separator']])) {
|
||||
$sep = $sep_options[$wpseo_titles['separator']];
|
||||
} else {
|
||||
$sep = '-';
|
||||
}
|
||||
$site_title = get_bloginfo('name');
|
||||
$meta_title = $title . ' ' . $sep . ' ' . $site_title;
|
||||
return $meta_title;
|
||||
}
|
||||
|
||||
function replaceQuotes($text) {
|
||||
$text = str_replace(['"'], "'", $text);
|
||||
return $text;
|
||||
}
|
||||
|
||||
function enqueue_template_specific_styles() {
|
||||
if ( is_page_template('page-camp.php') ) {
|
||||
wp_enqueue_style(
|
||||
'template-specific-style',
|
||||
get_template_directory_uri() . '/assets/css/camp.css',
|
||||
array(),
|
||||
'1.0'
|
||||
);
|
||||
wp_enqueue_script(
|
||||
'camp-script',
|
||||
get_template_directory_uri() . '/assets/js/camp.js',
|
||||
NULL,
|
||||
'1.0.0',
|
||||
true
|
||||
);
|
||||
}
|
||||
if ( is_page_template('page-after-school.php') ) {
|
||||
wp_enqueue_style(
|
||||
'template-after-style',
|
||||
get_template_directory_uri() . '/assets/css/after-school.css',
|
||||
array(),
|
||||
'1.0'
|
||||
);
|
||||
}
|
||||
}
|
||||
add_action('wp_enqueue_scripts', 'enqueue_template_specific_styles');
|
||||
|
||||
add_shortcode( 'get_form_bitrix', 'form_bitrix' );
|
||||
function form_bitrix( $atts, $content = null ) {
|
||||
return carbon_get_theme_option( 'site_bitrix_script' );
|
||||
}
|
||||
|
||||
add_shortcode( 'get_reviews', 'sc_reviews' );
|
||||
function sc_reviews( $atts ) {
|
||||
$atts = shortcode_atts( [
|
||||
'type' => 'school',
|
||||
], $atts );
|
||||
set_query_var( 'type', $atts['type'] );
|
||||
ob_start();
|
||||
load_template( locate_template( '/template-parts/reviews.php' ), false );
|
||||
return ob_get_clean();
|
||||
}
|
||||
|
||||
add_shortcode( 'get_teachers', 'sc_teachers' );
|
||||
function sc_teachers( $atts, $content = null ) {
|
||||
ob_start();
|
||||
set_query_var( 'sc_teachers', '1' );
|
||||
load_template( locate_template( '/template-parts/teachers.php' ), false );
|
||||
return ob_get_clean();
|
||||
}
|
||||
|
||||
function fix_page_1_in_pagination( $link ) {
|
||||
$reviews_page_id = 91;
|
||||
$root_url = get_permalink( $reviews_page_id );
|
||||
if ( substr( $root_url, -1 ) !== '/' ) {
|
||||
$root_url .= '/';
|
||||
}
|
||||
if ( isset($_GET['filter']) ) {
|
||||
$root_url = add_query_arg('filter', esc_attr($_GET['filter']), $root_url);
|
||||
}
|
||||
$page_1_url_full = get_pagenum_link(1);
|
||||
if (substr($page_1_url_full, -1) !== '/') {
|
||||
$page_1_url_full .= '/';
|
||||
}
|
||||
$canonical_root_url = get_permalink($reviews_page_id);
|
||||
if (substr($canonical_root_url, -1) !== '/') {
|
||||
$canonical_root_url .= '/';
|
||||
}
|
||||
if (isset($_GET['filter'])) {
|
||||
$canonical_root_url = add_query_arg('filter', esc_attr($_GET['filter']), $canonical_root_url);
|
||||
}
|
||||
$link = str_replace(
|
||||
'href="' . esc_url($page_1_url_full) . '"',
|
||||
'href="' . esc_url($canonical_root_url) . '"',
|
||||
$link
|
||||
);
|
||||
$link = str_replace(
|
||||
'href="' . esc_url(get_pagenum_link(1)) . '"',
|
||||
'href="' . esc_url($canonical_root_url) . '"',
|
||||
$link
|
||||
);
|
||||
return $link;
|
||||
}
|
||||
add_filter( 'paginate_links', 'fix_page_1_in_pagination' );
|
||||
|
||||
remove_action('wp_head', 'wp_generator');
|
||||
remove_action('wp_head', 'rest_output_link_wp_head');
|
||||
remove_action('wp_head', 'wp_oembed_add_discovery_links');
|
||||
remove_action('wp_head', 'wp_shortlink_wp_head');
|
||||
remove_action('wp_head', 'adjacent_posts_rel_link_wp_head');
|
||||
remove_action('template_redirect', 'rest_output_link_header', 11);
|
||||
|
||||
function dekart_disable_emojis() {
|
||||
remove_action('wp_head', 'print_emoji_detection_script', 7);
|
||||
remove_action('admin_print_scripts', 'print_emoji_detection_script');
|
||||
remove_action('wp_print_styles', 'print_emoji_styles');
|
||||
remove_action('admin_print_styles', 'print_emoji_styles');
|
||||
remove_filter('the_content_feed', 'wp_staticize_emoji');
|
||||
remove_filter('comment_text_rss', 'wp_staticize_emoji');
|
||||
remove_filter('wp_mail', 'wp_staticize_emoji_for_email');
|
||||
add_filter('tiny_mce_plugins', 'dekart_disable_emojis_tinymce');
|
||||
add_filter('wp_resource_hints', 'dekart_disable_emojis_remove_dns_prefetch', 10, 2);
|
||||
}
|
||||
add_action('init', 'dekart_disable_emojis');
|
||||
|
||||
function dekart_disable_emojis_tinymce($plugins) {
|
||||
if (is_array($plugins)) {
|
||||
return array_diff($plugins, array('wpemoji'));
|
||||
}
|
||||
return array();
|
||||
}
|
||||
|
||||
function dekart_disable_emojis_remove_dns_prefetch($urls, $relation_type) {
|
||||
if ('dns-prefetch' === $relation_type) {
|
||||
$emoji_svg_url = apply_filters('emoji_svg_url', 'https://s.w.org/images/core/emoji/');
|
||||
$urls = array_diff($urls, array($emoji_svg_url));
|
||||
}
|
||||
return $urls;
|
||||
}
|
||||
|
||||
// ====================================================
|
||||
// ✅ Оптимизация скриптов — defer только на фронтенде
|
||||
// ====================================================
|
||||
function dekart_add_defer_to_scripts($tag, $handle, $src) {
|
||||
// Не деферим скрипты в админке, AJAX и REST запросах
|
||||
if ( is_admin() || wp_doing_ajax() || ( defined('REST_REQUEST') && REST_REQUEST ) ) {
|
||||
return $tag;
|
||||
}
|
||||
$no_defer = array(
|
||||
'jquery-core',
|
||||
'jquery',
|
||||
'carbon-fields-script',
|
||||
'wp-api-request',
|
||||
'wp-element',
|
||||
'wp-components',
|
||||
);
|
||||
if (in_array($handle, $no_defer)) {
|
||||
return $tag;
|
||||
}
|
||||
if (strpos($tag, 'defer') !== false || strpos($tag, 'async') !== false) {
|
||||
return $tag;
|
||||
}
|
||||
return str_replace('<script ', '<script defer ', $tag);
|
||||
}
|
||||
add_filter('script_loader_tag', 'dekart_add_defer_to_scripts', 10, 3);
|
||||
|
||||
// ====================================================
|
||||
// ✅ Заголовки безопасности — только на фронтенде
|
||||
// ====================================================
|
||||
function dekart_security_headers() {
|
||||
// Не применяем в админке, AJAX и cron
|
||||
if ( is_admin() || wp_doing_ajax() || defined('DOING_CRON') ) {
|
||||
return;
|
||||
}
|
||||
header('X-Frame-Options: SAMEORIGIN');
|
||||
header('X-XSS-Protection: 1; mode=block');
|
||||
header('X-Content-Type-Options: nosniff');
|
||||
header('Referrer-Policy: strict-origin-when-cross-origin');
|
||||
}
|
||||
add_action('send_headers', 'dekart_security_headers');
|
||||
|
||||
function dekart_add_preload_hints() {
|
||||
// резерв для preload hints
|
||||
}
|
||||
add_action('wp_head', 'dekart_add_preload_hints', 1);
|
||||
244
wp-content/themes/dekart/header.php
Normal file
@ -0,0 +1,244 @@
|
||||
<!doctype html>
|
||||
<html <?php language_attributes(); ?>>
|
||||
<head>
|
||||
<!-- Yandex.Metrika counter -->
|
||||
<script type="text/javascript">
|
||||
(function(m,e,t,r,i,k,a){
|
||||
m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
|
||||
m[i].l=1*new Date();
|
||||
for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
|
||||
k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)
|
||||
})(window, document,'script','https://mc.yandex.ru/metrika/tag.js', 'ym');
|
||||
|
||||
ym(99835482, 'init', {webvisor:true, clickmap:true, referrer: document.referrer, url: location.href, accurateTrackBounce:true, trackLinks:true});
|
||||
</script>
|
||||
<noscript><div><img src="https://mc.yandex.ru/watch/99835482" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
|
||||
<!-- /Yandex.Metrika counter -->
|
||||
|
||||
<meta charset="<?php bloginfo('charset'); ?>">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<?php
|
||||
?>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="preconnect" href="https://www.googletagmanager.com">
|
||||
<link rel="preconnect" href="https://cdn-ru.bitrix24.ru">
|
||||
<link rel="preconnect" href="https://cdn.jsdelivr.net">
|
||||
<link rel="dns-prefetch" href="//api-maps.yandex.ru">
|
||||
<link rel="dns-prefetch" href="//mod.gudok.tel">
|
||||
|
||||
<?php
|
||||
// ─────────────────────────────────────────────────────────────────────
|
||||
// PRELOAD ЛОГОТИПА — он в первом экране, грузим как приоритет
|
||||
// ─────────────────────────────────────────────────────────────────────
|
||||
?>
|
||||
<link rel="preload" as="image"
|
||||
href="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/logo-svg.svg"
|
||||
type="image/svg+xml">
|
||||
|
||||
<?php
|
||||
// ─────────────────────────────────────────────────────────────────────
|
||||
// PRELOAD LCP-БАННЕРА — только на главной странице
|
||||
// fetchpriority="high" — самый важный ресурс для LCP
|
||||
// ─────────────────────────────────────────────────────────────────────
|
||||
if ( is_front_page() ) {
|
||||
$post_id = get_the_ID();
|
||||
$foto_id = carbon_get_post_meta( $post_id, 'banner_img_desktop' );
|
||||
$foto_mob_id = carbon_get_post_meta( $post_id, 'banner_img_mobile' );
|
||||
if ( ! $foto_mob_id ) $foto_mob_id = $foto_id;
|
||||
|
||||
$banner_desk = $foto_id ? wp_get_attachment_url( $foto_id ) : '';
|
||||
$banner_mob = $foto_mob_id ? wp_get_attachment_url( $foto_mob_id ) : '';
|
||||
|
||||
if ( $banner_desk ) {
|
||||
echo '<link rel="preload" as="image" href="' . esc_url( $banner_desk ) . '" media="(min-width: 860px)" fetchpriority="high">' . "\n";
|
||||
}
|
||||
if ( $banner_mob && $banner_mob !== $banner_desk ) {
|
||||
echo '<link rel="preload" as="image" href="' . esc_url( $banner_mob ) . '" media="(max-width: 859px)" fetchpriority="high">' . "\n";
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
// ─────────────────────────────────────────────────────────────────────
|
||||
// CSS — reset и main синхронно (свой сервер, быстро, нужны сразу)
|
||||
// Swiper и Google Fonts — асинхронно через preload+onload trick
|
||||
// Это убирает блокировку рендера для внешних стилей
|
||||
// ─────────────────────────────────────────────────────────────────────
|
||||
?>
|
||||
<link rel="stylesheet" href="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/css/reset.css" media="all">
|
||||
<link rel="stylesheet" href="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/css/main.css" media="all">
|
||||
|
||||
<link rel="preload" as="style"
|
||||
href="https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.css"
|
||||
onload="this.onload=null;this.rel='stylesheet'">
|
||||
<noscript><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.css"></noscript>
|
||||
|
||||
<?php
|
||||
// Google Fonts — обновлённый URL с display=swap (нет FOIT/FOUT)
|
||||
// Убрали старый формат css?family= в пользу css2 с более широкой поддержкой
|
||||
?>
|
||||
<link rel="preload" as="style"
|
||||
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Oswald:wght@300;400;700&display=swap"
|
||||
onload="this.onload=null;this.rel='stylesheet'">
|
||||
<noscript><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Oswald:wght@300;400;700&display=swap"></noscript>
|
||||
|
||||
<?php
|
||||
// ─────────────────────────────────────────────────────────────────────
|
||||
// GTM — должен быть в <head> для корректной работы,
|
||||
// но j.async=true — не блокирует парсинг HTML
|
||||
// ─────────────────────────────────────────────────────────────────────
|
||||
?>
|
||||
<script>
|
||||
(function(w,d,s,l,i){
|
||||
w[l]=w[l]||[];
|
||||
w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});
|
||||
var f=d.getElementsByTagName(s)[0],
|
||||
j=d.createElement(s),
|
||||
dl=l!='dataLayer'?'&l='+l:'';
|
||||
j.async=true;
|
||||
j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;
|
||||
f.parentNode.insertBefore(j,f);
|
||||
})(window,document,'script','dataLayer','GTM-WJVZ4MKN');
|
||||
</script>
|
||||
|
||||
<?php
|
||||
// ─────────────────────────────────────────────────────────────────────
|
||||
// ГУДОК — async, оставляем как есть
|
||||
// ─────────────────────────────────────────────────────────────────────
|
||||
?>
|
||||
<script>
|
||||
(function(window,document,n,project_ids){
|
||||
window.GudokData=n;
|
||||
if(typeof project_ids!=="object"){project_ids=[project_ids];}
|
||||
window[n]={};window[n]["projects"]=project_ids;
|
||||
config_load(project_ids.join(','));
|
||||
function config_load(cId){
|
||||
var a=document.getElementsByTagName("script")[0],
|
||||
s=document.createElement("script"),
|
||||
i=function(){a.parentNode.insertBefore(s,a)},cMrs='';
|
||||
s.async=true;
|
||||
if(document.location.search&&document.location.search.indexOf('?gudok_check=')===0)
|
||||
cMrs+=document.location.search.replace('?','&');
|
||||
s.src="//mod.gudok.tel/script.js?sid="+cId+cMrs;
|
||||
if(window.opera=="[object Opera]"){
|
||||
document.addEventListener("DOMContentLoaded",i,false);
|
||||
}else{i();}
|
||||
}
|
||||
})(window,document,"gd","5vyjvnx2nx");
|
||||
</script>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.js"></script>
|
||||
<script src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/js/add.js" defer></script>
|
||||
|
||||
<?php wp_head(); ?>
|
||||
</head>
|
||||
|
||||
<body <?php body_class(); ?>>
|
||||
|
||||
<?php
|
||||
// ─────────────────────────────────────────────────────────────────────
|
||||
// GTM noscript — СРАЗУ после открывающего <body>, требование Google Tag Manager
|
||||
// ─────────────────────────────────────────────────────────────────────
|
||||
?>
|
||||
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WJVZ4MKN"
|
||||
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||||
|
||||
<header class="header">
|
||||
<nav class="header-nav" aria-label="Основная навигация">
|
||||
<div class="top-header-row">
|
||||
|
||||
<a class="header-logo" href="<?php echo esc_url( home_url('/') ); ?>">
|
||||
<img width="136" height="40"
|
||||
src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/logo-svg.svg"
|
||||
alt="<?php esc_attr_e('Декарт — частная школа в Щелково', 'dekart'); ?>"
|
||||
loading="eager"
|
||||
fetchpriority="high">
|
||||
</a>
|
||||
|
||||
<div class="mobile icon-links">
|
||||
<a href="<?php echo esc_url( carbon_get_theme_option('social_header_wt') ); ?>"
|
||||
target="_blank" rel="noopener noreferrer"
|
||||
aria-label="Написать в WhatsApp">
|
||||
<img width="18" height="18"
|
||||
src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/icon-whatsapp-w.svg"
|
||||
alt="WhatsApp" loading="lazy">
|
||||
</a>
|
||||
<a href="tel:<?php echo preg_replace('/[^0-9+]/', '', carbon_get_theme_option('site_phone')); ?>"
|
||||
aria-label="Позвонить нам">
|
||||
<img width="18" height="18"
|
||||
src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/phone-volume.svg"
|
||||
alt="Телефон" loading="lazy">
|
||||
</a>
|
||||
<a href="https://lk.dekart-school.ru/" target="_blank" rel="noopener noreferrer"
|
||||
aria-label="Личный кабинет">
|
||||
<img width="18" height="18"
|
||||
src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/icon-user-w.svg"
|
||||
alt="Личный кабинет" loading="lazy">
|
||||
</a>
|
||||
<button class="burger-btn"
|
||||
aria-label="<?php esc_attr_e('Открыть меню', 'dekart'); ?>"
|
||||
aria-expanded="false"
|
||||
aria-controls="main-menu">
|
||||
<span></span><span></span><span></span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="add-menu desktop">
|
||||
<div class="add-menu_item">
|
||||
<img width="15" height="25"
|
||||
src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/icon-location.svg"
|
||||
alt="" role="presentation" loading="lazy">
|
||||
<span><?php echo esc_html( carbon_get_theme_option('site_address') ); ?></span>
|
||||
</div>
|
||||
<a target="_blank" rel="noopener noreferrer"
|
||||
href="<?php echo esc_url( carbon_get_theme_option('social_header_wt') ); ?>"
|
||||
style="margin-right:-15px"
|
||||
aria-label="Написать в WhatsApp">
|
||||
<img width="19" height="21"
|
||||
src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/icon-whatsap.svg"
|
||||
alt="WhatsApp" loading="lazy">
|
||||
</a>
|
||||
<a class="add-menu_item header-tel"
|
||||
href="tel:<?php echo preg_replace('/[^0-9+]/', '', carbon_get_theme_option('site_phone')); ?>">
|
||||
<span><?php echo esc_html( carbon_get_theme_option('site_phone') ); ?></span>
|
||||
</a>
|
||||
<button class="btn-free-lesson-header btn-lilac desktop btn-write">
|
||||
<?php esc_html_e('Оставить заявку', 'dekart'); ?>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="bottom-header-row">
|
||||
<div class="menu-wrapper" id="main-menu" role="navigation">
|
||||
<img width="42" height="42"
|
||||
class="icon-close-menu btn-close-header-menu mobile"
|
||||
src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/btn-close-modal_.svg"
|
||||
alt="<?php esc_attr_e('Закрыть меню', 'dekart'); ?>"
|
||||
loading="lazy">
|
||||
<?php
|
||||
wp_nav_menu( array(
|
||||
'menu' => 'Основное меню',
|
||||
'menu_class' => 'header-menu',
|
||||
'theme_location' => 'top',
|
||||
) );
|
||||
?>
|
||||
<button class="btn-free-lesson-header btn-lilac mobile btn-write">
|
||||
<?php esc_html_e('Записаться на визит', 'dekart'); ?>
|
||||
</button>
|
||||
<button class="btn-close-menu btn-close-header-menu mobile">
|
||||
<?php esc_html_e('ЗАКРЫТЬ МЕНЮ', 'dekart'); ?>
|
||||
</button>
|
||||
</div>
|
||||
<a class="inter-lk desktop" href="https://lk.dekart-school.ru/" target="_blank" rel="noopener noreferrer">
|
||||
<img width="18" height="23"
|
||||
src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/icon-user.svg"
|
||||
alt="" role="presentation" loading="lazy">
|
||||
<span><?php esc_html_e('Личный кабинет', 'dekart'); ?></span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</nav>
|
||||
</header>
|
||||
17
wp-content/themes/dekart/index.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
get_header();
|
||||
$post_id = get_the_ID();
|
||||
?>
|
||||
<main class="page">
|
||||
<section class="contetn-main_block">
|
||||
<div class="container">
|
||||
<h1 class="teachers_title"><?php the_title()?></h1>
|
||||
<div class="main_content">
|
||||
<?php //the_content(); ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
328
wp-content/themes/dekart/page-after-school.php
Normal file
@ -0,0 +1,328 @@
|
||||
<?php
|
||||
/*
|
||||
Template Name: Шаблон страницы Продленка
|
||||
*/
|
||||
?>
|
||||
<?php
|
||||
|
||||
get_header();
|
||||
$term = get_queried_object();
|
||||
$post_id = get_the_ID();
|
||||
?>
|
||||
|
||||
<main class="as-container">
|
||||
<?php
|
||||
$banner_img = carbon_get_post_meta($post_id, 'banner_img_desktop');
|
||||
$banner_mobile = carbon_get_post_meta( $post_id, 'banner_img_mobile' );
|
||||
if ($banner_mobile == '') $banner_mobile = $banner_img;
|
||||
$banner_title = carbon_get_post_meta($post_id, 'banner_h1');
|
||||
?>
|
||||
|
||||
<section class="as-banner">
|
||||
<picture class="banner-main-page_img">
|
||||
<source srcset="<?php echo wp_get_attachment_url($banner_img); ?>" media="(min-width: 780px)">
|
||||
<img src="<?php echo wp_get_attachment_url($banner_mobile); ?>" alt="<?php echo get_post_meta( $banner_img, '_wp_attachment_image_alt', true ); ?>">
|
||||
</picture>
|
||||
<h1 class="as-banner_title"><?php echo $banner_title; ?></h1>
|
||||
<div class="as-banner_blocks">
|
||||
<div class="as_block1">Выполнение домашних заданий, маленькие группы и забота о детях.<br><span>Для 1–4
|
||||
классов.</span>Освободите время для своих дел!</div>
|
||||
<div class="as_block2">Забираем детей от школы №3, Гимназии №2, Гимназии №2 корпус "Солнечный"</div>
|
||||
<div class="as_block3">
|
||||
<p>Наш адрес:<span><?php echo carbon_get_post_meta($post_id, 'as_address' ); ?></span></p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<!-- БЛОК о продленке -->
|
||||
<section class="as-lsi-description" style="padding: 40px 0; background: #fff;">
|
||||
<div class="container">
|
||||
<div class="as_description" style="max-width: 900px; margin: 0 auto; text-align: justify; line-height: 1.7; font-size: 18px; color: #333; hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto;">
|
||||
<p>В образовательном центре <strong>"Декарт"</strong> в Щёлково мы предлагаем больше, чем просто продленку – это полноценная программа <strong>обучения</strong> и <strong>развития</strong> для <strong>школьников</strong>. Мы гарантируем полную <strong>безопасность</strong> каждого ребенка, уделяя особое <strong>внимание</strong> созданию комфортной и поддерживающей среды. Наши высококвалифицированные <strong>педагоги</strong> профессионально помогают с <strong>домашними заданиями</strong>, объясняя сложные темы и закрепляя пройденный материал, чтобы у вас больше не возникало сложностей по вечерам. Помимо академической успеваемости, мы активно вовлекаем детей в увлекательные <strong>внеурочные занятия</strong> и мастер-классы, способствующие всестороннему развитию личности. Через <strong>творчество</strong> и участие в разнообразных активностях в нашем <strong>центре</strong> дети смогут раскрыть свой потенциал. Присоединяйтесь к нам, чтобы каждый день вашего ребенка был наполнен смыслом и пользой!</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ГЛАВНЫЙ CTA БЛОК -->
|
||||
<section class="as-main-cta" style="background-color: #f0f7ff; padding: 50px 0; text-align: center; border-top: 1px solid #e1e8ed; border-bottom: 1px solid #e1e8ed;">
|
||||
<div class="container">
|
||||
<h2 class="as_title" style="margin-bottom: 25px;">Запишитесь на бесплатный пробный день продленки!</h2>
|
||||
<button class="btn-write-camp" style="background-color: #0088ff; color: #fff; border: none; padding: 20px 45px; font-size: 22px; font-weight: 800; border-radius: 10px; cursor: pointer; box-shadow: 0 6px 20px rgba(0, 136, 255, 0.4); text-transform: uppercase; transition: 0.3s;">
|
||||
Записаться на пробный день
|
||||
</button>
|
||||
<p style="margin-top: 15px; color: #555; font-size: 15px;">Узнайте стоимость и наличие мест за 2 минуты</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ПРЕИМУЩЕСТВА -->
|
||||
<section class="as-advantages">
|
||||
<h2 class="as_title">Почему родители доверяют нам своих детей?</h2>
|
||||
<p class="as_description">Преимущества нашей продленки в Щёлково</p>
|
||||
|
||||
<ul class="as-advantages-wrapper mobile">
|
||||
<li>Профессиональный присмотр и помощь с уроками.</li>
|
||||
<li>Развивающие активности и кружки.</li>
|
||||
<li>Комфортная и дружелюбная атмосфера.</li>
|
||||
<li>Гибкий график и удобное расположение.</li>
|
||||
</ul>
|
||||
|
||||
<div class="as-advantages-wrapper desktop">
|
||||
<div class="as-advantages__item">
|
||||
<div class="as-advantages__item_logo">
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M12 2L1 7L11 12L21 7L12 2Z" stroke="#121417" stroke-width="2"/><path d="M1 12L11 17L21 12" stroke="#121417" stroke-width="2"/><path d="M1 17L11 22L21 17" stroke="#121417" stroke-width="2"/></svg>
|
||||
</div>
|
||||
<h3 class="as-advantages__item_title">Помощь с уроками</h3>
|
||||
<p class="as-advantages__item_description">Опытные педагоги гарантируют безопасное нахождение и эффективную помощь в выполнении домашних заданий.</p>
|
||||
</div>
|
||||
<div class="as-advantages__item">
|
||||
<div class="as-advantages__item_logo">
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M12 2L15 8L22 9L17 14L18 21L12 18L6 21L7 14L2 9L9 8L12 2Z" stroke="#121417" stroke-width="2"/></svg>
|
||||
</div>
|
||||
<h3 class="as-advantages__item_title">Развитие и досуг</h3>
|
||||
<p class="as-advantages__item_description">После уроков дети занимаются творчеством, посещают интеллектуальные игры и развивающие занятия.</p>
|
||||
</div>
|
||||
<div class="as-advantages__item">
|
||||
<div class="as-advantages__item_logo">
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z" stroke="#121417" stroke-width="2"/><path d="M8 14C8 14 9.5 16 12 16C14.5 16 16 14 16 14" stroke="#121417" stroke-width="2"/><path d="M9 9H9.01" stroke="#121417" stroke-width="2"/><path d="M15 9H15.01" stroke="#121417" stroke-width="2"/></svg>
|
||||
</div>
|
||||
<h3 class="as-advantages__item_title">Добрая атмосфера</h3>
|
||||
<p class="as-advantages__item_description">Мы создаем среду, где каждый ребенок чувствует себя частью коллектива и находит друзей.</p>
|
||||
</div>
|
||||
<div class="as-advantages__item">
|
||||
<div class="as-advantages__item_logo">
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z" stroke="#121417" stroke-width="2"/><path d="M12 6V12L16 14" stroke="#121417" stroke-width="2"/></svg>
|
||||
</div>
|
||||
<h3 class="as-advantages__item_title">Удобный график</h3>
|
||||
<p class="as-advantages__item_description">Выбирайте удобное время посещения. Наше расположение в центре Щёлково удобно для всех.</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- СЕКЦИЯ АКТИВНОСТЕЙ (ИСПРАВЛЕНО ЦЕНТРОВАНИЕ) -->
|
||||
<section class="as-advantages activities">
|
||||
<h2 class="as_title">Наши активности</h2>
|
||||
<p class="as_description">Интересный день в дружественной среде с выполненными уроками и без гаджетов!</p>
|
||||
<div class="as-advantages-wrapper as-activities-wrapper">
|
||||
<div class="as-activities__item" style="text-align: center; display: flex; flex-direction: column; align-items: center;">
|
||||
<div class="as-activities__item_logo" style="margin-bottom: 15px;">
|
||||
<img loading="lazy" width="180" height="173" src="<?php echo get_template_directory_uri(); ?>/assets/images/06945baa588ba69c212cf79ba922a8dd79ae62f7.webp" alt="Наука">
|
||||
</div>
|
||||
<h3 class="as-advantages__item_title" style="text-align: center; width: 100%;">Научные эксперименты</h3>
|
||||
<p class="as-advantages__item_description" style="text-align: center; width: 100%;">Наука своими руками</p>
|
||||
</div>
|
||||
<div class="as-activities__item" style="text-align: center; display: flex; flex-direction: column; align-items: center;">
|
||||
<div class="as-activities__item_logo" style="margin-bottom: 15px;">
|
||||
<img loading="lazy" width="180" height="173" src="<?php echo get_template_directory_uri(); ?>/assets/images/45060977e7ba4589b733a6e93d888e6729a4aa3a.webp" alt="Творчество">
|
||||
</div>
|
||||
<h3 class="as-advantages__item_title" style="text-align: center; width: 100%;">Творческая мастерская</h3>
|
||||
<p class="as-advantages__item_description" style="text-align: center; width: 100%;">Рисуем, лепим, мастерим</p>
|
||||
</div>
|
||||
<div class="as-activities__item" style="text-align: center; display: flex; flex-direction: column; align-items: center;">
|
||||
<div class="as-activities__item_logo" style="margin-bottom: 15px;">
|
||||
<img loading="lazy" width="180" height="173" src="<?php echo get_template_directory_uri(); ?>/assets/images/a86e2bc9b936c8708f1fc4769cc9e82560ffd2ed.webp" alt="Уроки">
|
||||
</div>
|
||||
<h3 class="as-advantages__item_title" style="text-align: center; width: 100%;">Домашнее задание</h3>
|
||||
<p class="as-advantages__item_description" style="text-align: center; width: 100%;">Выполняем домашнее задание</p>
|
||||
</div>
|
||||
<div class="as-activities__item" style="text-align: center; display: flex; flex-direction: column; align-items: center;">
|
||||
<div class="as-activities__item_logo" style="margin-bottom: 15px;">
|
||||
<img loading="lazy" width="180" height="173" src="<?php echo get_template_directory_uri(); ?>/assets/images/350761753bfc001c4108be499b96be4eb6114a74.webp" alt="Спорт">
|
||||
</div>
|
||||
<h3 class="as-advantages__item_title" style="text-align: center; width: 100%;">Спорт и игры</h3>
|
||||
<p class="as-advantages__item_description" style="text-align: center; width: 100%;">Физическая активность</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<button class="promo__block_btn-action btn-write-camp mobile" style="margin: 20px auto 0;">Записаться на встречу</button>
|
||||
|
||||
<!-- ПЕДАГОГИ -->
|
||||
<section class="as-advantages as-teachers">
|
||||
<h2 class="as_title">Встречайте наших педагогов</h2>
|
||||
<div class="as-advantages-wrapper">
|
||||
<?php
|
||||
$mentors = carbon_get_post_meta($post_id, 'as_mentors' );
|
||||
if($mentors):
|
||||
foreach ($mentors as $item) {
|
||||
$mentor_foto = $item['mentor_foto'];
|
||||
$mentor_name = $item['mentor_name'];
|
||||
$mentor_directions = $item['mentor_directions'];
|
||||
?>
|
||||
<div class="as-teachers__item">
|
||||
<div class="as-teachers__item_logo">
|
||||
<img loading="lazy" width="140" height="140" src="<?php echo wp_get_attachment_url($mentor_foto); ?>" alt="<?php echo $mentor_name; ?>">
|
||||
</div>
|
||||
<h3 class="as-advantages__item_title"><?php echo $mentor_name; ?></h3>
|
||||
<p class="as-advantages__item_description"><?php echo $mentor_directions; ?></p>
|
||||
</div>
|
||||
<?php } endif; ?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="as-advantages as-schedule">
|
||||
<h2 class="as_title">Расписание</h2>
|
||||
<div class="as-schedule-wrapper">
|
||||
<?php echo carbon_get_post_meta($post_id, 'as_routine' ); ?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="as-advantages as-price">
|
||||
<h2 class="as_title">Цены</h2>
|
||||
<div class="as-price__block">
|
||||
<p><?php echo carbon_get_post_meta($post_id, 'as_price' ); ?></p>
|
||||
<span style="font-size: 14px;">за неделю</span>
|
||||
</div>
|
||||
<div class="as-price__block">
|
||||
<p class="as-price_title">Условия оплаты</p>
|
||||
<span>Оплата производится до дня начала недельной смены. Можно оплатить сразу за месяц. Мы принимаем карты, СБП, наличные.</span>
|
||||
</div>
|
||||
<img loading="lazy" width="500" height="48" class="as-price_img" src="<?php echo get_template_directory_uri(); ?>/assets/images/dcb8dd0b50095e09a7ea19f6f08fa3828566cf46.webp" alt="Оплата">
|
||||
</section>
|
||||
|
||||
<div class="promo__block desktop">
|
||||
<p class="promo__block_text">Узнайте больше о продлёнке — приходите на встречу!<span>Осталось 8 мест!</span></p>
|
||||
<button class="promo__block_btn-action btn-write-camp">Записаться на встречу</button>
|
||||
</div>
|
||||
|
||||
<!-- ОТЗЫВЫ -->
|
||||
<section class="as-advantages as-reviews">
|
||||
<h2 class="as_title">Отзывы наших клиентов</h2>
|
||||
<div class="as-reviews-wrapper as-desctop">
|
||||
<div class='swiper as-reviews-owl'>
|
||||
<div class='swiper-wrapper'>
|
||||
<?php
|
||||
$reviews = carbon_get_post_meta($post_id, 'as_reviews' );
|
||||
if($reviews):
|
||||
foreach ($reviews as $item) {
|
||||
$review_name = $item['review_name'];
|
||||
$avatar = $item['review_avatar'];
|
||||
$review_text = $item['review_text'];
|
||||
?>
|
||||
<div class="swiper-slide reviews__item">
|
||||
<div class="reviews__item-wrapper">
|
||||
<div class="reviews__item-client">
|
||||
<div class="reviews__item-client_avatar" style="background: #e3f2fd;">
|
||||
<?php if ($avatar) : ?>
|
||||
<img loading="lazy" width="57" height="57" src="<?php echo wp_get_attachment_url($avatar); ?>" alt="avatar">
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="reviews__item-client_data">
|
||||
<div class="reviews__item-client_name"><?php echo $review_name; ?></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="reviews__item-client_text">
|
||||
<?php echo $review_text; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class='custom-button-next reviews-owl-next custom-button'></div>
|
||||
<div class='custom-button-prev reviews-owl-prev custom-button'></div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- FAQ -->
|
||||
<section class="as-advantages as-faq">
|
||||
<h2 class="as_title">Вопросы и ответы</h2>
|
||||
<div class="as-faq-wrapper">
|
||||
<?php
|
||||
$questions = carbon_get_post_meta($post_id, 'as_questions' );
|
||||
$HTMcol = '';
|
||||
if($questions):
|
||||
foreach ($questions as $item) {
|
||||
$q = $item['questions_question'];
|
||||
$a = $item['questions_answer'];
|
||||
$HTMcol .= "<div class='box__accordion'>
|
||||
<div class='box__accordion_label'><span>$q</span></div>
|
||||
<div class='box__accordion_content'>
|
||||
<div class='box__accordion_content-text'>$a</div>
|
||||
</div>
|
||||
</div>";
|
||||
} endif;
|
||||
echo "<div class='accordion'>$HTMcol</div>";
|
||||
?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ФИНАЛЬНЫЙ CTA БЛОК ПЕРЕД ФУТЕРОМ -->
|
||||
<section class="as-final-cta" style="background: linear-gradient(135deg, #ff8800 0%, #ff5500 100%); padding: 60px 0; text-align: center; color: #fff; margin-top: 40px;">
|
||||
<div class="container">
|
||||
<h2 style="font-size: 28px; font-weight: 900; margin-bottom: 20px; color: #fff;">Осталось всего 8 свободных мест!</h2>
|
||||
<p style="font-size: 18px; margin-bottom: 30px; opacity: 0.9;">Запишитесь на встречу сегодня, чтобы закрепить место за вашим ребенком</p>
|
||||
<button class="btn-write-camp" style="background-color: #fff; color: #ff5500; border: none; padding: 20px 50px; font-size: 20px; font-weight: 900; border-radius: 50px; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,0.2); transition: 0.3s; text-transform: uppercase;">
|
||||
Хочу на продленку!
|
||||
</button>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="as-advantages as-map" style="padding-top: 40px;">
|
||||
<h2 class="as_title">Наш адрес</h2>
|
||||
<div class="location__map">
|
||||
<div id="ya-map" style="width: 100%; height: 420px;"></div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
|
||||
<div class="modal-camp-request-form" style="display: none;">
|
||||
<div class="form-wrapper">
|
||||
<button class="btn-close-request-form">
|
||||
<img class="btn-close-request-form-camp" src="<?php echo get_template_directory_uri(); ?>/assets/images/btn-close-modal.svg" alt="close">
|
||||
</button>
|
||||
<?php echo carbon_get_post_meta($post_id, 'as_bitrix_script' ); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="https://api-maps.yandex.ru/2.1/?lang=ru_RU" type="text/javascript"></script>
|
||||
|
||||
<script>
|
||||
let mapLoad = false;
|
||||
window.addEventListener('scroll', function() {
|
||||
const scrollTop = window.pageYOffset || document.documentElement.scrollTop;
|
||||
if (scrollTop > 100 && !mapLoad) {
|
||||
ymaps.ready(function() {
|
||||
var map = new ymaps.Map("ya-map", {
|
||||
center: [<?php echo carbon_get_theme_option( 'site_location' ); ?>],
|
||||
zoom: 16 });
|
||||
var myPlacemark = new ymaps.Placemark([<?php echo carbon_get_theme_option( 'site_location' ); ?>], {iconContent: 'Декарт'}, {preset: 'islands#redStretchyIcon'});
|
||||
map.geoObjects.add(myPlacemark);
|
||||
});
|
||||
mapLoad = true;
|
||||
}
|
||||
});
|
||||
|
||||
const modalCampRequestForm = document.querySelector('.modal-camp-request-form');
|
||||
document.addEventListener("click", function (event) {
|
||||
if (event.target.classList.contains("btn-close-request-form-camp")) {
|
||||
modalCampRequestForm.style="display: none;";
|
||||
}
|
||||
if (event.target.classList.contains("btn-write-camp")) {
|
||||
modalCampRequestForm.style="";
|
||||
}
|
||||
});
|
||||
|
||||
window.addEventListener('load', function() {
|
||||
if (window.innerWidth < 960) {
|
||||
const desktopRev = document.querySelector('.as-desctop');
|
||||
if(desktopRev) desktopRev.classList.remove('as-desctop');
|
||||
new Swiper(".as-reviews-owl", {
|
||||
spaceBetween: 12,
|
||||
speed: 400,
|
||||
slidesPerView: 1.2,
|
||||
navigation: { nextEl: ".reviews-owl-next", prevEl: ".reviews-owl-prev" }
|
||||
});
|
||||
}
|
||||
new Swiper(".as-foto-owl", {
|
||||
spaceBetween: 20,
|
||||
speed: 400,
|
||||
slidesPerView: 1.3,
|
||||
navigation: { nextEl: ".reviews-foto-next", prevEl: ".reviews-foto-prev" }
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
650
wp-content/themes/dekart/page-camp.php
Normal file
@ -0,0 +1,650 @@
|
||||
<?php
|
||||
/*
|
||||
Template Name: Шаблон страницы Лагерь
|
||||
*/
|
||||
?>
|
||||
<?php
|
||||
|
||||
get_header();
|
||||
$term = get_queried_object();
|
||||
$post_id = get_the_ID();
|
||||
|
||||
$priceMin = 1000000;
|
||||
$priceMax = 0;
|
||||
$programs = carbon_get_post_meta($post_id, 'programs' );
|
||||
|
||||
foreach ($programs as $item) {
|
||||
$price = (int)$item['programs_price'];
|
||||
if ($price > $priceMax) $priceMax = $price;
|
||||
if ($price < $priceMin) $priceMin = $price;
|
||||
}
|
||||
?>
|
||||
<!-- ПОПАП БИТРИКСА -->
|
||||
<script data-b24-form="auto/102/e07epj" data-skip-moving="true">
|
||||
(function(w,d,u){
|
||||
var s=d.createElement('script');s.async=true;s.src=u+'?'+(Date.now()/180000|0);
|
||||
var h=d.getElementsByTagName('script')[0];h.parentNode.insertBefore(s,h);
|
||||
})(window,document,'https://cdn-ru.bitrix24.ru/b2215181/crm/form/loader_102.js');
|
||||
</script>
|
||||
<!-- / ПОПАП БИТРИКСА -->
|
||||
<main class="camp container_camp">
|
||||
<?php
|
||||
$banner_img = carbon_get_post_meta( $post_id, 'banner_img' );
|
||||
$banner_title = carbon_get_post_meta( $post_id, 'banner_title' );
|
||||
$banner_text = carbon_get_post_meta( $post_id, 'banner_text' );
|
||||
$banner_label1 = carbon_get_post_meta( $post_id, 'banner_label1' );
|
||||
$banner_label2 = carbon_get_post_meta( $post_id, 'banner_label2' );
|
||||
$banner_label3 = carbon_get_post_meta( $post_id, 'banner_label3' );
|
||||
?>
|
||||
<div class="banner">
|
||||
<span class="banner_label banner_label1"><?php echo $banner_label1; ?></span>
|
||||
<span class="banner_label banner_label2"><?php echo $banner_label2; ?></span>
|
||||
<span class="banner_label banner_label3"><?php echo $banner_label3; ?></span>
|
||||
<div class="banner__left-part">
|
||||
<h1 class="banner_title"><?php echo $banner_title; ?></h1>
|
||||
<p class="banner_text"><?php echo $banner_text; ?></p>
|
||||
<button class="banner_btn btn-write-camp">Оставить заявку</button>
|
||||
</div>
|
||||
<div class="banner__right-part">
|
||||
<img src="<?php echo wp_get_attachment_url($banner_img); ?>" alt="<?php echo get_post_meta( $banner_img, '_wp_attachment_image_alt', true ); ?>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section class="suggestions">
|
||||
<h2 class="camp_title">Что мы предлагаем</h2>
|
||||
<div class="suggestions-wrapper">
|
||||
<?php
|
||||
$suggestions = carbon_get_post_meta($post_id, 'suggestions' );
|
||||
foreach ($suggestions as $item) {
|
||||
$suggestions_img = $item['suggestions_img'];
|
||||
$suggestions_title = $item['suggestions_title'];
|
||||
$suggestions_text = $item['suggestions_text'];
|
||||
?>
|
||||
<div class="suggestions__item">
|
||||
<img loading="lazy" class="suggestions__item_img" width="335" height="195" src="<?php echo wp_get_attachment_url($suggestions_img); ?>" alt="<?php echo get_post_meta( $suggestions_img, '_wp_attachment_image_alt', true ); ?>">
|
||||
<h3 class="suggestions__item_title"><?php echo $suggestions_title; ?></h3>
|
||||
<p class="suggestions__item_text"><?php echo $suggestions_text; ?></p>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</section>
|
||||
<section class="infograph">
|
||||
<h2 class="camp_title">С любовью и заботой о каждом</h2>
|
||||
<p class="camp_text">Мы обеспечиваем безопасную и поддерживающую среду, где дети могут раскрывать свой
|
||||
потенциал, исследовать мир и развивать дружбу под присмотром заботливых наставников.</p>
|
||||
<div class="infograph-wrapper">
|
||||
<div class="infograph__item">
|
||||
<img loading="lazy" class="infograph__item_img" width="234" height="234" src="<?php echo get_template_directory_uri(); ?>/assets/images/age.svg" alt="инфографика возраста">
|
||||
<p class="infograph__item_title">возраст</p>
|
||||
<p class="infograph__item_data">6,5−11 лет</p>
|
||||
</div>
|
||||
<div class="infograph__item">
|
||||
<img loading="lazy" class="infograph__item_img" width="234" height="234" src="<?php echo get_template_directory_uri(); ?>/assets/images/group.svg" alt="инфографика группы">
|
||||
<p class="infograph__item_title">каждая группа</p>
|
||||
<p class="infograph__item_data">до 10 детей</p>
|
||||
</div>
|
||||
<div class="infograph__item">
|
||||
<img loading="lazy" class="infograph__item_img" width="234" height="234" src="<?php echo get_template_directory_uri(); ?>/assets/images/time.svg" alt="инфографика времени">
|
||||
<p class="infograph__item_title">время посещения</p>
|
||||
<p class="infograph__item_data">на выбор</p>
|
||||
</div>
|
||||
<div class="infograph__item">
|
||||
<img loading="lazy" class="infograph__item_img" width="234" height="234" src="<?php echo get_template_directory_uri(); ?>/assets/images/price.svg"
|
||||
alt="инфографика стоимости">
|
||||
<p class="infograph__item_title">стоимость недели</p>
|
||||
<p class="infograph__item_data">от <?php echo number_format($priceMin, 0, ',', ' '); ?> ₽</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="programs">
|
||||
<h2 class="camp_title">Летние программы</h2>
|
||||
<div class="scroll-icon-wrapper" style="mix-blend-mode: multiply;"> <svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 300" height="42" width="42"> <rect class="tooltip-horizontal-scroll-icon_card" x="480" width="200" height="200" rx="5" fill="rgba(190,190,190,0.3)"></rect> <rect class="tooltip-horizontal-scroll-icon_card" y="0" width="200" height="200" rx="5" fill="rgba(190,190,190,0.3)"></rect> <rect class="tooltip-horizontal-scroll-icon_card" x="240" width="200" height="200" rx="5" fill="rgba(190,190,190,0.3)"></rect> <path class="tooltip-horizontal-scroll-icon_hand" d="M78.9579 285.7C78.9579 285.7 37.8579 212.5 20.5579 180.8C-2.44209 138.6 -6.2422 120.8 9.6579 112C19.5579 106.5 33.2579 108.8 41.6579 123.4L61.2579 154.6V32.3C61.2579 32.3 60.0579 0 83.0579 0C107.558 0 105.458 32.3 105.458 32.3V91.7C105.458 91.7 118.358 82.4 133.458 86.6C141.158 88.7 150.158 92.4 154.958 104.6C154.958 104.6 185.658 89.7 200.958 121.4C200.958 121.4 236.358 114.4 236.358 151.1C236.358 187.8 192.158 285.7 192.158 285.7H78.9579Z" fill="rgba(190,190,190,1)"></path> <style>.tooltip-horizontal-scroll-icon_hand{animation:tooltip-horizontal-scroll-icon_anim-scroll-hand 2s infinite}.tooltip-horizontal-scroll-icon_card{animation:tooltip-horizontal-scroll-icon_anim-scroll-card 2s infinite}@keyframes tooltip-horizontal-scroll-icon_anim-scroll-hand{0%{transform:translateX(80px) scale(1);opacity:0}10%{transform:translateX(80px) scale(1);opacity:1}20%,60%{transform:translateX(175px) scale(.6);opacity:1}80%{transform:translateX(5px) scale(.6);opacity:1}to{transform:translateX(5px) scale(.6);opacity:0}}@keyframes tooltip-horizontal-scroll-icon_anim-scroll-card{0%,60%{transform:translateX(0)}80%,to{transform:translateX(-240px)}}</style> </svg> </div>
|
||||
<div class="programs-wrapper">
|
||||
<?php
|
||||
$programs = carbon_get_post_meta($post_id, 'programs' );
|
||||
foreach ($programs as $item) {
|
||||
$programs_img = $item['programs_img'];
|
||||
$programs_title = $item['programs_title'];
|
||||
$programs_date = $item['programs_date'];
|
||||
$programs_text = $item['programs_text'];
|
||||
$programs_price = $item['programs_price'];
|
||||
$programs_days = $item['programs_days'];
|
||||
$programs_content = $item['programs_content'];?>
|
||||
<div class="programs__item">
|
||||
<img class="programs__item_img" loading="lazy" class="suggestions__item_img" width="360" height="350" src="<?php echo wp_get_attachment_url($programs_img); ?>" alt="<?php echo get_post_meta( $programs_img, '_wp_attachment_image_alt', true ); ?>">
|
||||
<p class="programs__item_title"><?php echo $programs_title; ?></p>
|
||||
<p class="programs__item_date"><?php echo $programs_date; ?></p>
|
||||
<p class="programs__item_text"><?php echo $programs_text; ?></p>
|
||||
<p class="programs__item_price">от <?php echo number_format((int)$programs_price, 0, ',', ' '); ?> ₽ / <?php echo $programs_days; ?></p>
|
||||
<div class="programs_content" style="display: none;"><?php echo $programs_content; ?></div>
|
||||
<button class="btn-details btn-program">Подробнее</button>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php getBanner(''); ?>
|
||||
|
||||
<section class="bring-child">
|
||||
<?php
|
||||
$price_half_day = carbon_get_post_meta($post_id, 'price_half_day' );
|
||||
$price_full_day = carbon_get_post_meta($post_id, 'price_full_day' );
|
||||
?>
|
||||
<h2 class="camp_title">Приводите ребёнка, когда вам удобно</h2>
|
||||
<div class="bring-child-wrapper">
|
||||
<div class="part-day camp-left-part">
|
||||
<div class="part-day_title">
|
||||
<div class="block-row">
|
||||
<p class="part-day_title-text">Половина дня</p>
|
||||
<img loading="lazy" src="<?php echo get_template_directory_uri(); ?>/assets/images/green-star.svg" width="30" height="30" alt="">
|
||||
</div>
|
||||
<p class="part-day_text">Время пребывания — на выбор (до обеда или до вечера)</p>
|
||||
</div>
|
||||
<div class="part-day__price">
|
||||
<div class="block-row">
|
||||
<div class="part-day__price_price"><?php echo number_format($price_half_day, 0, ',', ' '); ?></div>
|
||||
<div class="part-day__price_time">с 8:30 до 13:30</div>
|
||||
</div>
|
||||
<p class="part-day__price_text">за 5 дней пребывания</p>
|
||||
</div>
|
||||
<div class="part-day__price">
|
||||
<div class="block-row">
|
||||
<div class="part-day__price_price">
|
||||
<?php echo number_format($price_half_day, 0, ',', ' '); ?></div>
|
||||
<div class="part-day__price_time non-bg">с 13:30 до 18:30</div>
|
||||
</div>
|
||||
<p class="part-day__price_text">за 5 дней пребывания</p>
|
||||
</div>
|
||||
<div class="block-row">
|
||||
<img loading="lazy" src="<?php echo get_template_directory_uri(); ?>/assets/images/calendar.png" width="27" height="28" alt="">
|
||||
<p class="part-day_text">Тематическая неделя на выбор</p>
|
||||
</div>
|
||||
<button class="btn-place btn-write-camp">Занять место</button>
|
||||
<ul>
|
||||
<li><b>5 дней</b> пребывания в клубе</li>
|
||||
<li>творческие занятия и мастер-классы <b>1 раз в день</b></li>
|
||||
<li>умные прогулки <b>1 раз в день</b> (в зависимости от погодных условий)</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="part-day camp-right-part">
|
||||
<div class="part-day_title">
|
||||
<div class="block-row">
|
||||
<p class="part-day_title-text">Полный день</p>
|
||||
<img loading="lazy" src="<?php echo get_template_directory_uri(); ?>/assets/images/star-02.svg" width="30" height="30" alt="">
|
||||
</div>
|
||||
<p class="part-day_text">Пребывание в клубе с утра до вечера, дополнительные активности</p>
|
||||
</div>
|
||||
<div class="part-day__price">
|
||||
<div class="block-row">
|
||||
<div class="part-day__price_price">
|
||||
<?php echo number_format($price_full_day, 0, ',', ' '); ?></div>
|
||||
<div class="part-day__price_time non-bg">с 8:30 до 18:30</div>
|
||||
</div>
|
||||
<p class="part-day__price_text">за 5 дней пребывания</p>
|
||||
</div>
|
||||
<div class="block-row">
|
||||
<img loading="lazy" src="<?php echo get_template_directory_uri(); ?>/assets/images/calendar+.png" width="27" height="28" alt="">
|
||||
<p class="part-day_text">Тематическая неделя на выбор</p>
|
||||
</div>
|
||||
<button class="btn-place btn-write-camp">Занять место</button>
|
||||
<ul>
|
||||
<li><b>5 дней</b> пребывания в клубе</li>
|
||||
<li>творческие занятия и мастер-классы <b>2 раза в день</b></li>
|
||||
<li>умные прогулки <b>2 раза в день</b> (в зависимости от погодных условий)</li>
|
||||
<li>тематические экскурсии каждую неделю</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="mentors">
|
||||
<h2 class="camp_title">Наши наставники и ведущие мастер-классов</h2>
|
||||
<div class="mentors-wrapper">
|
||||
<?php
|
||||
$mentors = carbon_get_post_meta($post_id, 'mentors' );
|
||||
foreach ($mentors as $item) {
|
||||
$mentor = $item['mentor'];
|
||||
$mentorName = get_the_title($mentor[0]['id']);
|
||||
$mentor_job = $item['mentor_job'];
|
||||
$mentor_directions = $item['mentor_directions'];
|
||||
$HTMLdirection = "";
|
||||
$post_url = get_permalink($mentor[0]['id']);
|
||||
foreach ($mentor_directions as $direction) {$HTMLdirection .= "<span>" . $direction['direction_name']."</span>";}
|
||||
$teacher_foto = carbon_get_post_meta($mentor[0]['id'] , 'teacher_avatar');
|
||||
?>
|
||||
<div class="mentors__item">
|
||||
<?php if ( $teacher_foto == '' ) { ?>
|
||||
<img class="mentors__item_img" loading="lazy" class="suggestions__item_img" width="260" height="270" src="<?php echo get_template_directory_uri(); ?>/assets/images/no-photo.png" alt="">
|
||||
<?php } else { ?>
|
||||
<img class="mentors__item_img" loading="lazy" class="suggestions__item_img" width="260" height="270" src="<?php echo wp_get_attachment_url($teacher_foto); ?>" alt="<?php echo get_post_meta( $teacher_foto, '_wp_attachment_image_alt', true ); ?>">
|
||||
<?php } ?>
|
||||
<a href="<?php echo $post_url; ?>" class="mentors__item_name"><?php echo $mentorName; ?></a>
|
||||
<a href="<?php echo $post_url; ?>" class="mentors__item_text"><?php echo $mentor_job; ?></a>
|
||||
<button class="btn-details btn-mentors">Подробнее</button>
|
||||
<div class="mentor-modal-content" style="display: none;">
|
||||
<?php
|
||||
$post_url = get_permalink($mentor[0]['id']);
|
||||
$mentor_education = carbon_get_post_meta($mentor[0]['id'] , 'teacher_education');
|
||||
$mentor_experience = $item['mentor_experience'];
|
||||
$mentor_add_experience = carbon_get_post_meta($mentor[0]['id'] , 'teacher_add_education');
|
||||
?>
|
||||
<div class="HTMLdirection"><?php echo $HTMLdirection; ?></div>
|
||||
<div class="mentor_education"><?php echo $mentor_education; ?></div>
|
||||
<div class="mentor_experience"><?php echo $mentor_experience; ?></div>
|
||||
<div class="mentor_add_experience"><?php echo $mentor_add_experience; ?></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
<section class="routine">
|
||||
<h2 class="camp_title">Распорядок дня в клубе</h2>
|
||||
<div class="routine-wrapper">
|
||||
<?php
|
||||
$routine = carbon_get_post_meta($post_id, 'routine' );
|
||||
foreach ($routine as $item) {
|
||||
$routine_time = $item['routine_time'];
|
||||
$routine_title = $item['routine_title'];
|
||||
$routine_text = $item['routine_text'];
|
||||
?>
|
||||
<div class="routine__item">
|
||||
<div class="routine__item_time"><?php echo $routine_time; ?></div>
|
||||
<div class="routine__item_circle"></div>
|
||||
<div class="routine__item_text">
|
||||
<p class="routine__item_time-mobile"><?php echo $routine_time; ?></p>
|
||||
<p class="routine__item_text-title"><?php echo $routine_title; ?></p>
|
||||
<p class="routine__item_text-text"><?php echo $routine_text; ?></p>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="foto">
|
||||
<h2 class="camp_title">Наши фотографии</h2>
|
||||
<div class="camp-foto-wrapper">
|
||||
<?php
|
||||
$fotos = carbon_get_post_meta($post_id, 'fotos' );
|
||||
$fotos_content = carbon_get_post_meta($post_id, 'fotos_content' );
|
||||
$fotos_link_vk = carbon_get_post_meta($post_id, 'fotos_link_vk' );
|
||||
$HTMLimgs = "";
|
||||
foreach ($fotos as $item) {
|
||||
$img = wp_get_attachment_url($item['foto']);
|
||||
$alt = get_post_meta( $item['foto'], '_wp_attachment_image_alt', true );
|
||||
$HTMLimgs .= "<div class='swiper-slide'>
|
||||
<img loading='lazy' src='$img' alt='$alt' width='560' height='420'>
|
||||
</div>";
|
||||
} ?>
|
||||
<div class="foto-left-part">
|
||||
<div class="swiper-container camp-swiper-foto">
|
||||
<div class="swiper-wrapper">
|
||||
<?php echo $HTMLimgs; ?>
|
||||
</div>
|
||||
<div class="swiper-button-next"></div>
|
||||
<div class="swiper-button-prev"></div>
|
||||
</div>
|
||||
<div thumbsSlider="" class="swiper-container camp-swiper-foto-thumbsSlider">
|
||||
<div class="swiper-wrapper">
|
||||
<?php echo $HTMLimgs; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="foto-content"><?php echo $fotos_content; ?></div>
|
||||
</div>
|
||||
<!-- БАННЕР ССЫЛКИ НА ВК ЛАГЕРЯ
|
||||
<div class="foto-banner">
|
||||
<div class="foto-banner_text">Больше фотографий смотрите <span> <svg width="53" height="53"
|
||||
viewBox="0 0 53 53" fill="none">
|
||||
<path
|
||||
d="M50 4.90116V46.6469C50 47.1511 49.7997 47.6347 49.4431 47.9912C49.0866 48.3478 48.603 48.5481 48.0988 48.5481C47.5945 48.5481 47.1109 48.3478 46.7544 47.9912C46.3978 47.6347 46.1975 47.1511 46.1975 46.6469V9.49057L6.22205 49.4663C5.86347 49.8126 5.38322 50.0043 4.88472 49.9999C4.38622 49.9956 3.90936 49.7956 3.55686 49.4432C3.20435 49.0907 3.0044 48.6138 3.00007 48.1153C2.99574 47.6169 3.18737 47.1366 3.5337 46.7781L43.5092 6.80233H6.35324C5.849 6.80233 5.36541 6.60203 5.00886 6.24549C4.65231 5.88895 4.452 5.40538 4.452 4.90116C4.452 4.39694 4.65231 3.91338 5.00886 3.55684C5.36541 3.2003 5.849 3 6.35324 3H48.0988C48.3481 3.00119 48.5947 3.05091 48.825 3.14639C49.1724 3.28997 49.4694 3.53331 49.6786 3.84564C49.8877 4.15797 49.9996 4.52529 50 4.90116Z"
|
||||
fill="white" stroke="white" stroke-width="6" />
|
||||
</svg></span><br> в нашем сообществе ВК
|
||||
|
||||
</div>
|
||||
<a href="<?php echo $fotos_link_vk; ?>">Открыть альбом</a>
|
||||
</div>
|
||||
КОНЕЦ БАННЕРА -->
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2 class="camp_title">Что говорят о нас родители</h2>
|
||||
<?php
|
||||
|
||||
$key = [
|
||||
[
|
||||
'key' => 'review_type',
|
||||
'value' => 'camp',
|
||||
'compare' => '='
|
||||
]
|
||||
];
|
||||
|
||||
?>
|
||||
<div class="camp-reviews-wrapper">
|
||||
<div class="reviews-wrapper">
|
||||
<div class='swiper reviews-owl'>
|
||||
<div class='swiper-wrapper'>
|
||||
<?php
|
||||
// получим все отзывы текущего преподавателя
|
||||
$args = array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'reviews',
|
||||
'orderby' => 'date',
|
||||
'order' => 'DESC',
|
||||
'suppress_filters' => true,
|
||||
'meta_query' => $key,
|
||||
);
|
||||
$the_query = new WP_Query($args);
|
||||
if ($the_query->have_posts()) :
|
||||
while ($the_query->have_posts()) : $the_query->the_post();
|
||||
|
||||
$post_id = get_the_ID();
|
||||
|
||||
$review_date = get_the_date( 'd.m.Y');
|
||||
$review_level = carbon_get_post_meta( $post_id, 'review_level' );
|
||||
|
||||
$avatar = carbon_get_post_meta( $post_id, 'review_avatar' );
|
||||
|
||||
$stars = carbon_get_post_meta( $post_id, 'review_star' );
|
||||
$tekst_otzyva = carbon_get_post_meta( $post_id, 'review_text' );
|
||||
$prepodavatel = carbon_get_post_meta( $post_id, 'review_teacher' );
|
||||
|
||||
$add_class= "more";
|
||||
|
||||
if ( strlen($tekst_otzyva) < 350 ) $add_class= "";
|
||||
|
||||
if ( $tekst_otzyva ) : ?>
|
||||
<div class="swiper-slide reviews__item">
|
||||
<div class="reviews__item-wrapper">
|
||||
<div class="reviews__item-client">
|
||||
<div class="reviews__item-client_avatar" style="background: <?php echo rand_color(); ?>">
|
||||
<?php if ($avatar) : ?>
|
||||
<img loading="lazy" width="57" height="57" class="reviews__item-client_avatar-img" src="<?php echo wp_get_attachment_url($avatar); ?>" alt="<?php echo get_post_meta( $avatar, '_wp_attachment_image_alt', true ); ?>">
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="reviews__item-client_data">
|
||||
<div class="reviews__item-client_name"><?php the_title(); ?></div>
|
||||
<div class="reviews__item-client_lavel" ><?php echo $review_level; ?></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="reviews__item-client_stars">
|
||||
<?php
|
||||
if (!$stars) $stars = 5;
|
||||
for ($i = 1; $i <= $stars; $i++) { ?>
|
||||
<svg width="20" height="20" viewBox="0 0 21 19" fill="none">
|
||||
<path d="M9.58463 1.50884C9.89101 0.602477 11.1729 0.602476 11.4793 1.50884L13.1158 6.35007C13.2531 6.75637 13.6343 7.02985 14.0631 7.02985H19.2721C20.2504 7.02985 20.6467 8.28958 19.8447 8.84971L15.6995 11.7446C15.335 11.9991 15.1823 12.4636 15.3247 12.8847L16.9239 17.6158C17.233 18.5302 16.1954 19.3085 15.404 18.7559L11.1045 15.7533C10.7606 15.5131 10.3033 15.5131 9.95941 15.7533L5.65991 18.7559C4.86857 19.3085 3.83092 18.5302 4.14001 17.6158L5.73926 12.8847C5.8816 12.4636 5.72891 11.9991 5.36448 11.7446L1.21924 8.84971C0.417196 8.28958 0.813532 7.02985 1.79181 7.02985H7.00081C7.42969 7.02985 7.81081 6.75637 7.94815 6.35007L9.58463 1.50884Z" fill="#FFD43E" />
|
||||
</svg>
|
||||
<?php } ?>
|
||||
<span><?php echo $review_date; ?></span>
|
||||
</div>
|
||||
<div class="reviews__item-client_text <?php echo $add_class; ?>">
|
||||
<?php echo $tekst_otzyva; ?>
|
||||
<button class="btn-more"><span onclick='this.parentNode.parentNode.classList.remove("more")'>... Читать еще</span></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
endif;
|
||||
endwhile; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class='custom-button-next reviews-owl-next'></div>
|
||||
<div class='custom-button-prev reviews-owl-prev'></div>
|
||||
<?php wp_reset_postdata(); // Сброс глобального состояния ?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php getBanner("2"); ?>
|
||||
|
||||
<section class="camp-faq">
|
||||
<h2 class="camp_title">Часто задаваемые вопросы</h2>
|
||||
<div class="faq-wrapper" itemscope itemtype="https://schema.org/FAQPage">
|
||||
|
||||
<?php
|
||||
$post_id = get_the_ID();
|
||||
$questions = carbon_get_post_meta($post_id, 'questions' );
|
||||
|
||||
$count = 0;
|
||||
foreach ($questions as $item) {
|
||||
$questions_question = $item['questions_question'];
|
||||
$questions_answer = $item['questions_answer'];
|
||||
if ($count % 2 === 0) {
|
||||
$HTMcol1 .= "<div class='box__accordion'>
|
||||
<div class='box__accordion_label' itemscope itemprop='mainEntity' itemtype='https://schema.org/Question'>
|
||||
<span itemprop='name'>$questions_question</span>
|
||||
<svg role='presentation' focusable='false' width='24px' height='24px' viewBox='0 0 24 24'>
|
||||
<g stroke='none' stroke-width='2px' fill='none' fill-rule='evenodd' stroke-linecap='square'>
|
||||
<g transform='translate(1.000000, 1.000000)' stroke='#3bb273'>
|
||||
<path d='M0,11 L22,11'></path>
|
||||
<path d='M11,0 L11,22'></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
</div>
|
||||
<div class='box__accordion_content' itemscope itemprop='acceptedAnswer' itemtype='https://schema.org/Answer'>
|
||||
<div class='box__accordion_content-text' itemprop='text'>$questions_answer</div>
|
||||
</div>
|
||||
</div>";
|
||||
} else {
|
||||
$HTMcol2 .= "<div class='box__accordion'>
|
||||
<div class='box__accordion_label' itemscope itemprop='mainEntity' itemtype='https://schema.org/Question'>
|
||||
<span itemprop='name'>$questions_question</span>
|
||||
<svg role='presentation' focusable='false' width='24px' height='24px' viewBox='0 0 24 24'>
|
||||
<g stroke='none' stroke-width='2px' fill='none' fill-rule='evenodd' stroke-linecap='square'>
|
||||
<g transform='translate(1.000000, 1.000000)' stroke='#3bb273'>
|
||||
<path d='M0,11 L22,11'></path>
|
||||
<path d='M11,0 L11,22'></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
</div>
|
||||
<div class='box__accordion_content' itemscope itemprop='acceptedAnswer' itemtype='https://schema.org/Answer'>
|
||||
<div class='box__accordion_content-text' itemprop='text'>$questions_answer</div>
|
||||
</div>
|
||||
</div>";
|
||||
}
|
||||
$count++;
|
||||
}
|
||||
echo "<div class='accordion'>$HTMcol1</div>";
|
||||
echo "<div class='accordion accordion-last'>$HTMcol2</div>";
|
||||
?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="camp-contact">
|
||||
<?php
|
||||
$contact_tel = carbon_get_post_meta($post_id, 'contact_tel' );
|
||||
$contact_address = carbon_get_post_meta($post_id, 'contact_address' );
|
||||
$contact_location = carbon_get_post_meta($post_id, 'contact_location' );
|
||||
$contact_location_text = carbon_get_post_meta($post_id, 'contact_location_text' );
|
||||
$contact_mail = carbon_get_post_meta($post_id, 'contact_mail' );
|
||||
?>
|
||||
<h2 class="camp_title">Контакты</h2>
|
||||
<div class="contact-wrapper">
|
||||
<div class="contact-content">
|
||||
<div class="contact_subtitle">Телефон:</div>
|
||||
<a class="contact_tel" href="tel:+<?php echo preg_replace('/[^0-9]/', '', $contact_tel); ?>" target="_blank"><?php echo $contact_tel ;?></a>
|
||||
<div class="contact_subtitle">Почта:</div>
|
||||
<a class="contact_tel" href="mailto:<?php echo $contact_mail ;?>" target="_blank"><?php echo $contact_mail ;?></a>
|
||||
<div class="contact_subtitle">Адрес:</div>
|
||||
<div class="contact_tel"><?php echo $contact_address ;?></div>
|
||||
<div class="contact_subtitle">Наши соцсети:</div>
|
||||
<div class="contact_social">
|
||||
<?php
|
||||
$social_media = carbon_get_post_meta( $post_id, 'social_media' );
|
||||
|
||||
foreach( $social_media as $item ) {
|
||||
$icon = $item['social_media_img'];
|
||||
if ($item['social_media_link'] != '') { ?>
|
||||
<a class="social_item" href="<?php echo $item['social_media_link']; ?>" title="<?php echo $item['social_media_name']; ?>">
|
||||
<img loading="lazy" width="32" height="32" src="<?php echo wp_get_attachment_url($icon); ?>" alt="">
|
||||
</a>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contact-map">
|
||||
<div id="ya-map" style="width: 100%; height: 625px;"></div>
|
||||
<!--<iframe src="https://yandex.ru/map-widget/v1/?mode=search&text=<?php echo $contact_address; ?>" width="100%" height="400" frameborder="1" style="position:relative;"></iframe>-->
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
|
||||
<div class="modal-programs">
|
||||
<div class="modal-programs-wrapper">
|
||||
<button class="btn-close-modal btn-close-programs"><svg role="presentation"
|
||||
class="t-popup__close-icon t-popup__close-icon_cross" width="23px" height="23px" viewBox="0 0 23 23"
|
||||
version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g stroke="none" stroke-width="1" fill="#ffffff" fill-rule="evenodd">
|
||||
<rect
|
||||
transform="translate(11.313708, 11.313708) rotate(-45.000000) translate(-11.313708, -11.313708) "
|
||||
x="10.3137085" y="-3.6862915" width="2" height="30"></rect>
|
||||
<rect
|
||||
transform="translate(11.313708, 11.313708) rotate(-315.000000) translate(-11.313708, -11.313708) "
|
||||
x="10.3137085" y="-3.6862915" width="2" height="30"></rect>
|
||||
</g>
|
||||
</svg>
|
||||
</button>
|
||||
<div class="modal-programs__img">
|
||||
<img src="./img/_.jpg" alt="">
|
||||
</div>
|
||||
<div class="modal-programs__content">
|
||||
<p class="programs__item_title"></p>
|
||||
<p class="programs__item_price"></p>
|
||||
<div class="programs__content"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal-mentors">
|
||||
<div class="modal-mentors-wrapper">
|
||||
<button class="btn-close-mentors">
|
||||
<svg role="presentation" class="t-popup__close-icon" width="23px" height="23px" viewBox="0 0 23 23">
|
||||
<g stroke="none" stroke-width="1" fill="#3bb273" fill-rule="evenodd">
|
||||
<rect
|
||||
transform="translate(11.313708, 11.313708) rotate(-45.000000) translate(-11.313708, -11.313708) "
|
||||
x="10.3137085" y="-3.6862915" width="2" height="30"></rect>
|
||||
<rect
|
||||
transform="translate(11.313708, 11.313708) rotate(-315.000000) translate(-11.313708, -11.313708) "
|
||||
x="10.3137085" y="-3.6862915" width="2" height="30"></rect>
|
||||
</g>
|
||||
</svg>
|
||||
</button>
|
||||
<div class="modal-programs__img">
|
||||
<img src="./img/_.jpg" alt="">
|
||||
</div>
|
||||
<div class="modal-mentors__content">
|
||||
<div class="modal-mentors_name"></div>
|
||||
<div class="modal-mentors_job"></div>
|
||||
<div class="modal-mentors__directions"></div>
|
||||
<div class="modal-mentors__about">
|
||||
<div class="about-item">
|
||||
<svg width="60" height="58" viewBox="0 0 60 58" fill="none">
|
||||
<path
|
||||
d="M51.7003 32.1748C51.0003 31.8748 50.3003 31.8748 49.6003 32.2748L30.4003 45.4748L22.5003 40.1748C21.9003 39.7748 21.0003 39.7748 20.4003 40.0748C19.7003 40.4748 19.4003 41.1748 19.4003 41.9748C19.7003 44.6748 17.0003 46.0748 16.9003 46.0748C16.3003 46.3748 15.8003 47.0748 15.8003 47.7748C15.8003 48.4748 16.1003 49.1748 16.8003 49.5748L29.8003 57.5748C30.1003 57.7748 30.5003 57.8748 30.8003 57.8748C31.2003 57.8748 31.5003 57.7748 31.8003 57.5748L51.8003 45.5748C52.4003 45.1748 52.8003 44.5748 52.8003 43.8748V33.9748C52.8003 33.2748 52.4003 32.5748 51.7003 32.1748Z"
|
||||
fill="#3BB273" />
|
||||
<path
|
||||
d="M59.0002 20.375L32.0002 0.375C31.3002 -0.125 30.4002 -0.125 29.7002 0.375L1.10019 19.675C0.500195 20.075 0.200195 20.675 0.200195 21.375C0.200195 22.075 0.500195 22.675 1.10019 23.075L10.3002 29.075C10.2002 29.975 10.0002 30.975 9.90019 32.075C6.50019 32.575 3.90019 35.475 3.90019 38.975C3.90019 42.075 5.9002 44.675 8.7002 45.575C7.9002 48.675 4.60019 48.975 3.90019 48.975C2.80019 48.975 1.90019 49.875 1.90019 50.975C1.90019 52.075 2.80019 52.975 3.90019 52.975C7.20019 52.975 11.9002 50.975 12.7002 45.675C15.7002 44.875 17.9002 42.175 17.9002 38.975C17.9002 36.175 16.3002 33.775 13.9002 32.675C14.0002 32.075 14.1002 31.475 14.1002 30.975C14.4002 30.975 14.7002 30.875 15.0002 30.675L26.9002 22.475L29.3002 24.075L18.7002 31.375C18.2002 31.775 17.8002 32.375 17.8002 32.975C17.8002 33.575 18.1002 34.275 18.6002 34.575L28.9002 42.075C29.3002 42.375 29.7002 42.475 30.1002 42.475C30.5002 42.475 30.9002 42.375 31.2002 42.175L58.9002 23.675C59.4002 23.275 59.8002 22.675 59.8002 22.075C59.8002 21.375 59.5002 20.775 59.0002 20.375ZM10.8002 41.975C9.10019 41.975 7.80019 40.675 7.80019 38.975C7.80019 37.275 9.10019 35.975 10.8002 35.975C12.5002 35.975 13.8002 37.275 13.8002 38.975C13.8002 40.675 12.5002 41.975 10.8002 41.975Z"
|
||||
fill="#3BB273" />
|
||||
</svg>
|
||||
<div class="mentors__about-col">
|
||||
<p class="mentors__about-col_title">Образование:</p>
|
||||
<div class="mentors__about-col_text"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="about-item">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="59" height="58" viewBox="0 0 59 58" fill="none">
|
||||
<path
|
||||
d="M54.2012 16.1C53.5012 13.9 52.2012 11.9 50.6012 10.4C49.4012 4.4 44.1012 0 38.0012 0H21.5012C15.3012 0 10.1012 4.4 8.90117 10.3C7.20117 11.8 6.00117 13.8 5.30117 16C2.50117 18.5 0.701172 22 0.701172 25.9V45.1C0.701172 52.2 6.50117 58 13.6012 58H45.8012C52.9012 58 58.7012 52.2 58.7012 45.1V25.9C58.7012 22 56.9012 18.5 54.2012 16.1ZM21.5012 4H37.9012C40.7012 4 43.2012 5.3 44.8012 7.4C43.8012 7.2 42.8012 7 41.8012 7H17.5012C16.5012 7 15.5012 7.1 14.5012 7.4C16.2012 5.3 18.7012 4 21.5012 4ZM43.6012 27.4L27.1012 43.9C26.7012 44.3 26.2012 44.5 25.7012 44.5C25.2012 44.5 24.7012 44.3 24.3012 43.9L15.8012 35.4C15.0012 34.6 15.0012 33.4 15.8012 32.6C16.6012 31.8 17.8012 31.8 18.6012 32.6L25.7012 39.7L40.8012 24.6C41.6012 23.8 42.8012 23.8 43.6012 24.6C44.4012 25.4 44.4012 26.6 43.6012 27.4ZM13.6012 13C13.0012 13 12.4012 13.1 11.9012 13.1C12.1012 13 12.2012 12.9 12.3012 12.7C13.8012 11.6 15.6012 11 17.6012 11H41.9012C44.1012 11 46.1012 11.8 47.7012 13.1C47.1012 13 46.5012 13 45.9012 13H13.6012Z"
|
||||
fill="#3BB273" />
|
||||
</svg>
|
||||
<div class="mentors__about-col">
|
||||
<p class="mentors__about-col_title">Опыт работы в сфере образования:</p>
|
||||
<div class="mentors__experience-col_text"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-additional__education">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="58" height="60" viewBox="0 0 58 60" fill="none">
|
||||
<path
|
||||
d="M17.7452 34.2306C20.416 32.4987 22.1345 29.9996 22.8983 27.1153C23.0892 26.1532 23.2802 25.1934 23.2802 24.0388C23.4711 17.6934 18.1271 12.5 11.6401 12.5C5.15074 12.5 0 17.8831 0 24.2308C0 28.2694 2.09796 32.1154 5.5349 34.2299C9.1579 36.729 14.1199 36.729 17.7453 34.2299L17.7452 34.2306Z"
|
||||
fill="#3BB273" />
|
||||
<path d="M44.8413 2.30664V12.8855H55.3358L44.8413 2.30664Z" fill="#3BB273" />
|
||||
<path
|
||||
d="M16.981 38.2696C16.5991 38.462 16.2172 38.6544 15.6444 38.6544H15.4534C14.8806 38.8469 14.4987 38.8469 13.9259 39.0393H13.1621H12.0164H11.4436H10.8708H9.72511C9.53417 39.0393 9.34322 39.0393 8.96131 38.8469C8.38848 38.8469 8.00661 38.6544 7.43376 38.462H7.24281C6.86092 38.2696 6.47901 38.2696 6.09717 38.0771V51.5372L10.2955 47.3062C10.4864 47.1138 10.4864 47.1138 10.6774 46.9213H11.0592H11.2502H11.6321H11.823C12.014 46.9213 12.2049 47.1138 12.2049 47.3062L16.4032 51.5372L16.4081 38.2691L16.981 38.2696Z"
|
||||
fill="#3BB273" />
|
||||
<path
|
||||
d="M41.5984 14.6152V0H15.0745C14.1198 0 13.1675 0.769761 13.1675 1.92188V9.42181C13.5494 9.42181 14.1222 9.61424 14.5041 9.61424C14.886 9.61424 15.4588 9.80667 15.8407 9.99911C16.0316 9.99911 16.2226 10.1915 16.2226 10.1915C16.7954 10.1915 17.1772 10.1915 17.3682 10.384C17.5591 10.384 17.7501 10.5764 17.941 10.5764C18.132 10.7688 18.5139 10.7688 18.7048 10.9613C18.8958 10.9613 19.0867 11.1537 19.2777 11.3461C19.4686 11.5386 19.6596 11.5386 20.0415 11.731C20.2324 11.9234 20.4234 11.9234 20.6143 12.1159C20.8052 12.3083 20.9962 12.5007 21.1871 12.5007C21.3781 12.6932 21.569 12.6932 21.569 12.8856C21.76 13.0781 21.9509 13.2705 22.1418 13.4629C22.3328 13.6553 22.5237 13.8478 22.5237 13.8478C22.7147 14.0402 22.9056 14.2326 23.0966 14.4251C23.2875 14.6175 23.2875 14.8099 23.4785 15.0024C23.6694 15.1948 23.8603 15.3872 23.8603 15.5797C24.0513 15.7721 24.0513 15.9645 24.2422 16.157C24.4332 16.3494 24.4332 16.5418 24.6241 16.7343C24.8151 16.9267 24.8151 17.1191 25.006 17.3116C25.197 17.504 25.197 17.6964 25.3879 18.0813C25.3879 18.2738 25.5789 18.4662 25.5789 18.6586C25.7698 18.851 25.7698 19.2359 25.7698 19.4284C25.7698 19.6208 25.9607 19.8132 25.9607 20.0057C25.9607 20.1981 26.1517 20.583 26.1517 20.7754C26.1517 20.9679 26.3426 21.1603 26.3426 21.3527C26.3426 21.7376 26.5336 21.93 26.5336 22.3149V22.8922V24.4316C26.5336 25.0089 26.5336 25.7786 26.3426 26.3535C26.3426 26.5459 26.3426 26.7384 26.1517 26.9308C26.1517 27.3157 25.9607 27.7006 25.9607 28.0854C25.9607 28.2778 25.7698 28.4702 25.7698 28.8551C25.5788 29.24 25.5788 29.6249 25.3879 29.8173C25.3879 30.0097 25.197 30.3946 25.006 30.587C24.8151 30.9719 24.8151 31.1643 24.6241 31.5492C24.4332 31.7416 24.4332 31.934 24.2422 32.3189C24.0513 32.7038 23.8603 32.8962 23.6694 33.0887C23.4785 33.2811 23.2875 33.4736 23.0966 33.666C22.9056 33.8584 22.7147 34.2433 22.5237 34.4357C22.3328 34.6282 22.1419 34.8206 21.9509 35.013C21.7526 35.1931 21.3707 35.3856 21.1798 35.768C20.9888 35.9604 20.7979 36.1528 20.416 36.3453C20.225 36.5377 20.225 36.5377 20.0341 36.7301V55.7689C20.0341 56.3462 19.6522 56.9235 19.0794 57.3084C18.8885 57.3084 18.6975 57.5008 18.5066 57.5008H18.3156H17.9337H17.7428C17.5518 57.5008 17.3609 57.3084 17.3609 57.1159L13.1626 52.8849V58.0781C13.1626 59.0403 13.9264 60 15.0696 60H55.7134C56.6681 60 57.6204 59.2302 57.6204 58.0781L57.6253 16.1549H43.1231C42.3593 16.1549 41.5984 15.3849 41.5984 14.6152Z"
|
||||
fill="#3BB273" />
|
||||
</svg>
|
||||
<div class="mentors__about-col">
|
||||
<p class="mentors__about-col_title">Дополнительное образование:</p>
|
||||
<div class="modal-additional__education_list">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal-camp-request-form" style="display: none;">
|
||||
<div class="form-wrapper">
|
||||
<button class="btn-close-request-form">
|
||||
<img class="btn-close-request-form-camp" src="<?php echo get_template_directory_uri(); ?>/assets/images/btn-close-modal.svg" alt="кнопка закрыть окно">
|
||||
</button>
|
||||
<?php echo carbon_get_post_meta($post_id, 'camp_bitrix_script' ); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
function getBanner($nameBanner) {
|
||||
$banner_add_img = wp_get_attachment_url(carbon_get_post_meta( get_the_ID(), 'banner_add_img' . $nameBanner ));
|
||||
if ($banner_add_img == '') return;
|
||||
$banner_add_title = carbon_get_post_meta( get_the_ID(), 'banner_add_title' . $nameBanner );
|
||||
$banner_add_text = carbon_get_post_meta( get_the_ID(), 'banner_add_text' . $nameBanner );
|
||||
$banner_add_text_min = carbon_get_post_meta( get_the_ID(), 'banner_add_text_min' . $nameBanner );
|
||||
echo "<div class='banner banner-add' style='background-image: url($banner_add_img)'>
|
||||
<div class='banner__left-part'>
|
||||
<div class='banner_title'>$banner_add_title</div>
|
||||
<p class='banner_text'>$banner_add_text</p>
|
||||
<button class='banner_btn btn-write-camp'>ЗАБРОНИРОВАТЬ</button>
|
||||
<p class='banner_text-min'>$banner_add_text_min</p>
|
||||
</div>
|
||||
<div class='banner__right-part'></div>
|
||||
</div>";
|
||||
}
|
||||
?>
|
||||
<script src="https://api-maps.yandex.ru/2.1/?lang=ru_RU" type="text/javascript"></script>
|
||||
|
||||
<script>
|
||||
|
||||
let mapLoad = false;
|
||||
|
||||
window.addEventListener('scroll', function(event) {
|
||||
// Изменяем стили элемента при прокрутке страницы
|
||||
const scrollTop = window.pageYOffset || document.documentElement.scrollTop;
|
||||
if (scrollTop > 100 && !mapLoad) {
|
||||
ymaps.ready(init);
|
||||
mapLoad = true;
|
||||
function init() {
|
||||
var map = new ymaps.Map("ya-map", {
|
||||
center: [<?php echo $contact_location; ?>],
|
||||
zoom: 16 }, {
|
||||
searchControlProvider: 'yandex#search'
|
||||
});
|
||||
|
||||
var myPlacemark = new ymaps.Placemark([<?php echo $contact_location; ?>],
|
||||
{iconContent: '<?php echo $contact_location_text; ?>'},
|
||||
{preset: 'islands#redStretchyIcon'});
|
||||
map.geoObjects.add(myPlacemark);
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
184
wp-content/themes/dekart/page-contacts.php
Normal file
@ -0,0 +1,184 @@
|
||||
<?php
|
||||
/*
|
||||
Template Name: Шаблон страницы Контакты
|
||||
*/
|
||||
?>
|
||||
<?php
|
||||
get_header();
|
||||
$term = get_queried_object();
|
||||
$post_id = get_the_ID();
|
||||
?>
|
||||
<main class="page contacts">
|
||||
<section class="content-main_block">
|
||||
<div class="container">
|
||||
<h1 class="page_h2"><?php the_title()?></h1>
|
||||
<div class="main_content">
|
||||
<div class="contacts-left-part">
|
||||
<div class="contacts-block">
|
||||
<div class="contacts_block-wrapper">
|
||||
<h2>связаться с нами</h2>
|
||||
<h3>Телефон:</h3>
|
||||
<a class="contacts__block_text" href="tel:<?php echo preg_replace('/[^0-9]/', '', carbon_get_theme_option('site_phone')); ?>" rel="noopener"><?php echo carbon_get_theme_option( 'site_phone' ); ?> (Прямой)</a>
|
||||
<button class="btn-call-me btn-write">
|
||||
<span class="fon-0 btn-write"></span>
|
||||
<svg width="22" height="21" viewBox="0 0 22 21" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M15.9859 18.6134C15.8972 18.7566 15.7483 18.9228 15.5392 19.112C15.3301 19.3011 15.1481 19.4391 14.9931 19.526C14.6898 19.7038 14.1116 19.731 13.2585 19.6076C12.4683 19.4867 11.7684 19.2348 11.1589 18.8517C10.98 18.7393 10.8118 18.6207 10.6543 18.4959C10.4969 18.3712 10.3269 18.2183 10.1445 18.0373C9.96203 17.8563 9.82849 17.7189 9.74386 17.6252C9.65923 17.5315 9.50904 17.3615 9.29328 17.1154C9.07753 16.8692 8.94476 16.7195 8.89499 16.6661C8.36064 16.0723 7.91721 15.4878 7.56469 14.9125C6.97607 13.9603 6.45372 12.838 5.99761 11.5453C5.54151 10.2527 5.26193 9.10238 5.15887 8.0943C5.09372 7.48589 5.10611 6.84883 5.19604 6.18314C5.20572 6.12289 5.22655 5.95543 5.25853 5.68074C5.2905 5.40605 5.31372 5.21614 5.32818 5.111C5.34264 5.00586 5.3726 4.84966 5.41806 4.6424C5.46352 4.43515 5.51652 4.25658 5.57707 4.10671C5.63762 3.95684 5.71223 3.81028 5.8009 3.66703C6.10302 3.17891 6.57737 2.79166 7.22394 2.50529C7.92664 2.2026 8.4781 2.09965 8.87832 2.19643C9.08008 2.24217 9.34148 2.32908 9.66252 2.45715C9.98356 2.58523 10.2335 2.70549 10.4124 2.81791C10.5052 2.87621 10.5698 2.92789 10.6063 2.97296C10.7059 3.07974 10.7567 3.39171 10.7587 3.90884C10.7692 4.05546 10.7799 4.26117 10.7908 4.52598C10.8018 4.7908 10.8134 5.03212 10.8259 5.24996C10.8383 5.4678 10.8531 5.67427 10.8704 5.86937C10.8771 5.90308 10.8941 6.00584 10.9212 6.17764C10.9483 6.34943 10.9612 6.48837 10.96 6.59445C10.9587 6.70053 10.9351 6.79071 10.8891 6.86499C10.8235 6.97111 10.647 7.04441 10.3596 7.08491C10.0723 7.1254 9.77658 7.14222 9.47254 7.13537C9.16849 7.12852 8.87608 7.14004 8.59531 7.16992C8.31454 7.1998 8.1446 7.2625 8.08549 7.358C8.05594 7.40575 8.03556 7.47585 8.02435 7.5683C8.01314 7.66074 8.00764 7.73282 8.00784 7.78454C8.00804 7.83625 8.01501 7.92907 8.02875 8.06299C8.04249 8.1969 8.04939 8.27125 8.04945 8.28603C8.10308 9.32937 8.29362 10.3151 8.62108 11.2431C8.94854 12.1711 9.44131 13.122 10.0994 14.0957C10.1094 14.1093 10.1534 14.1794 10.2316 14.3059C10.3097 14.4324 10.3662 14.5195 10.4011 14.5672C10.436 14.6149 10.49 14.6802 10.563 14.7629C10.636 14.8456 10.7023 14.9057 10.762 14.9432C10.8812 15.0182 11.0804 15.0383 11.3595 15.0037C11.6386 14.9691 11.916 14.915 12.1916 14.8413C12.4673 14.7677 12.7513 14.7177 13.0436 14.6914C13.336 14.6651 13.5484 14.6936 13.6809 14.7769C13.7736 14.8352 13.8566 14.9131 13.9296 15.0106C14.0027 15.1082 14.085 15.2391 14.1765 15.4035C14.268 15.5679 14.3221 15.6663 14.3388 15.6989C14.4552 15.8826 14.5815 16.0762 14.7178 16.2798C14.854 16.4833 15.0069 16.7084 15.1764 16.955C15.3459 17.2015 15.4755 17.3935 15.5653 17.531C15.9141 18.0082 16.0789 18.307 16.0595 18.4275C16.0564 18.4771 16.0319 18.5391 15.9859 18.6134Z"
|
||||
fill="white" />
|
||||
<line x1="13.4871" y1="8.92672" x2="15.3701" y2="12.5336" stroke="white" stroke-width="1.5" />
|
||||
<line x1="14.7699" y1="6.53427" x2="17.6323" y2="12.3204" stroke="white" stroke-width="1.5" />
|
||||
</svg>
|
||||
<span>Позвонить мне</span>
|
||||
</button>
|
||||
<a class="contacts__block_text" href="tel:<?php echo preg_replace('/[^0-9]/', '', carbon_get_theme_option('site_phone_multi')); ?>" rel="noopener"> <?php echo carbon_get_theme_option( 'site_phone_multi' ); ?> (Многоканальный)</a>
|
||||
</div>
|
||||
<div class="contacts_block-wrapper">
|
||||
<h3>Поста для связи:</h3>
|
||||
<a class="contacts__block_text" style="text-decoration: underline;" target="_blank"
|
||||
href="mailto:<?php echo carbon_get_theme_option( 'site_mail' ); ?>" rel="noopener"><?php echo carbon_get_theme_option( 'site_mail' ); ?></a>
|
||||
</div>
|
||||
<div class="contacts_block-wrapper">
|
||||
<h3>Написать в WhatsApp:</h3>
|
||||
<a class="btn-WA" target="_blank" href="<?php echo carbon_get_theme_option('social_wt'); ?>">
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd"
|
||||
d="M15.6826 7.76735C15.6826 11.9858 12.2359 15.4063 7.9842 15.4063C6.63396 15.4063 5.36541 15.0615 4.2626 14.4558L0 15.8104L1.38943 11.712C0.688289 10.5606 0.285126 9.2104 0.285126 7.76743C0.285126 3.54812 3.73177 0.127808 7.9842 0.127808C12.2359 0.127729 15.6826 3.54804 15.6826 7.76735ZM7.9842 1.34448C4.41423 1.34448 1.51118 4.22529 1.51118 7.76735C1.51118 9.172 1.96883 10.4739 2.74401 11.5331L1.93571 13.918L4.42267 13.1277C5.44441 13.7981 6.66873 14.1895 7.98412 14.1895C11.5526 14.1895 14.4564 11.3085 14.4564 7.76727C14.4565 4.22529 11.5527 1.34448 7.9842 1.34448ZM11.8718 9.52683C11.8241 9.44861 11.6982 9.40177 11.5102 9.30817C11.3213 9.21474 10.393 8.76126 10.2203 8.69921C10.0475 8.63692 9.92078 8.60553 9.79572 8.79265C9.6698 8.98 9.30803 9.40185 9.19763 9.5269C9.08787 9.65212 8.97804 9.66742 8.78927 9.57374C8.60018 9.48031 7.99185 9.28184 7.27131 8.6448C6.71068 8.14773 6.33188 7.53529 6.22125 7.34794C6.11173 7.16083 6.21037 7.05958 6.30381 6.96615C6.38897 6.88185 6.49282 6.74749 6.5872 6.6386C6.68174 6.52884 6.71313 6.45038 6.77605 6.3254C6.83897 6.20035 6.80767 6.09145 6.75996 5.99778C6.71312 5.90434 6.33543 4.98281 6.17796 4.60748C6.0216 4.23325 5.86406 4.24729 5.75343 4.24729C5.64367 4.24729 5.43992 4.27993 5.43992 4.27993C5.43992 4.27993 5.06159 4.32677 4.88891 4.51412C4.71615 4.70123 4.22869 5.15471 4.22869 6.07537C4.22869 6.99674 4.90437 7.8876 4.99867 8.01171C5.09321 8.13692 6.30381 10.0894 8.22257 10.8391C10.1413 11.5886 10.1413 11.3386 10.4874 11.307C10.8328 11.2765 11.6037 10.8544 11.7612 10.4171C11.9185 9.97943 11.9185 9.60442 11.8718 9.52683Z"
|
||||
fill="#BF568E" />
|
||||
</svg>
|
||||
<span><?php echo carbon_get_theme_option( 'site_phone' ); ?></span></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="contacts-block" style="gap: 0;">
|
||||
<h4>СТОИМОСТЬ УСЛУГ И ПОРЯДОК ИХ ПРЕДОСТАВЛЕНИЯ</h4>
|
||||
<p><strong>Лицензия на образовательную деятельность № Л035-01255-50/01447911</strong></p>
|
||||
<p>Длительность одного занятия зависит от экзамена и предмета. Базовая длительность занятия 2-3
|
||||
академических
|
||||
часа. Стоимость ак. часа от 680 рублей. Услуги оказываются очно, в офисе в соответствии с расписанием
|
||||
проведения занятий.</p>
|
||||
<br>
|
||||
<a class="how_h4" href="/svedeniya-ob-obrazovatelnoj-organizaczii/"
|
||||
style="text-decoration: underline;">Сведения об образовательной организации</a>
|
||||
</div>
|
||||
|
||||
<div class="contacts-block" style="gap: 0;">
|
||||
<h4>Мы в социальных сетях</h4>
|
||||
<div class="social">
|
||||
<?php get_template_part( 'template-parts/block-social' ); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contacts-right-part">
|
||||
<div class="contacts-block" style="gap: 0;">
|
||||
<div class="contacts_block-wrapper">
|
||||
<h2>Платежные реквизиты</h2>
|
||||
<ul class="contacts-block_list">
|
||||
<li>Российская Федерация, Московская область, г. Щелково</li>
|
||||
<li>Банк-получатель: ФИЛИАЛ «ЦЕНТРАЛЬНЫЙ» БАНКА ВТБ (ПАО)</li>
|
||||
<li>Расчётный счёт: 40802810822850001618</li>
|
||||
<li>Корреспондентский счёт: 30101810145250000411</li>
|
||||
<li>БИК банка: 044525411</li>
|
||||
<br class="desktop">
|
||||
<strong class="QR-code"><a href="/wp-content/uploads/2024/03/qr-c-rekvizitami.jpg"
|
||||
style="text-decoration: underline;">QR код с реквизитами</a></strong>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="contacts_block-wrapper">
|
||||
<h2>Способы оплаты</h2>
|
||||
<ul class="wp-block-list style-type-non">
|
||||
<li>— Наличными в офисе центра</li>
|
||||
<li>— Банковской картой</li>
|
||||
<li>— Оплата по реквизитам</li>
|
||||
<li>— Оплата через СБП</li>
|
||||
<li>— Через личный кабинет ученика во вкладке «Финансы»</li>
|
||||
<li>Платите через QR-код или ссылку. Вводить реквизиты карты не понадобится! Нужен только смартфон с
|
||||
приложением банка и интернетом. По QR-коду: Откройте приложение банка и выберите пункт с оплатой
|
||||
через
|
||||
QR-код.C помощью камеры распознайте QR-код и подтвердите оплату. По ссылке: Перейдите по ссылке на
|
||||
оплату
|
||||
и выберите приложение вашего банка. Затем перейдите в него и подтвердите оплату.</li>
|
||||
</ul>
|
||||
<img class="logos-payment" loading="lazy" width="406" height="39" src="<?php echo get_template_directory_uri(); ?>/assets/images/logo3h-1.png" alt="способы оплаты" class="wp-image-2868">
|
||||
</div>
|
||||
<div class="contacts_block-wrapper">
|
||||
<h2>ВОЗВРАТ ДЕНЕЖНЫХ СРЕДСТВ</h2>
|
||||
<ul class="wp-block-list style-type-non">
|
||||
<li>Возврат в следующих случаях:</li>
|
||||
<li>— если совершен ошибочный платеж, при условии если денежные средства уже пришли на расчетный счет;
|
||||
</li>
|
||||
<li>— если вы передумали у нас учиться и хотите приостановить доступ, и не приступили к оплаченным
|
||||
занятиям.</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php get_template_part( 'template-parts/block-foto' ); ?>
|
||||
|
||||
<section class="contetn-main_block blocks-address">
|
||||
<div class="container">
|
||||
<h2 class="page_h2">Режим работы и адреса</h2>
|
||||
<div class="main_content">
|
||||
<div class="contacts-left-part">
|
||||
<div class="contacts-block">
|
||||
<div class="contacts_block-wrapper">
|
||||
<h2>Режим работы</h2>
|
||||
<p><b>с 14:00 до 19:00 без выходных</b></p>
|
||||
<p class="litle-text">Отвечаем по телефону</p>
|
||||
<p><b>с 10:00 до 21:00 без выходных</b></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contacts-block desktop">
|
||||
<div class="contacts_block-wrapper">
|
||||
<h2>Как добраться</h2>
|
||||
<p>Мы находимся в офисном центре «Сбербанк» рядом с гипермаркетом «Глобус» — <a style="text-decoration: underline;" href="<?php echo carbon_get_theme_option('site_map_link'); ?>" target="_blank" rel="noreferrer noopener"><strong>ссылка на карту</strong></a><br><br>
|
||||
По городу Щелково до остановки «Новый мост»: Автобусы или маршрутные такси 2, 25, 29, 35, 37, 40, 50, 361.<br><br>
|
||||
Из города Фрязино до остановки «Новый мост»: Автобусы или маршрутное такси 49К, 20, 23, 29, 33, 35, 361, 37, 39, 50, 54<br><br>
|
||||
Адрес для координат <a style="text-decoration: underline;" href="<?php echo carbon_get_theme_option('site_map_link'); ?>"><strong>GPS: <?php echo carbon_get_theme_option( 'site_location' ); ?></strong></a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contacts-right-part">
|
||||
<div class="contacts-block" style='flex: 1;'>
|
||||
<div class="contacts_block-wrapper">
|
||||
<h2>Юридический и почтовый адрес</h2>
|
||||
<p>141109, Щелково, ул. Комсомольская, дом 11,<br>строение 1, офис 3</p>
|
||||
<?php $image = carbon_get_post_meta( $post_id , 'img_school' );
|
||||
if ($image != '' ) { ?>
|
||||
<img class="img-address" loading="lazy" width="723" height="440" src="<?php echo wp_get_attachment_url($image); ?>" alt="<?php echo get_post_meta( $image, '_wp_attachment_image_alt', true ); ?>">
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contacts-block mobile">
|
||||
<div class="contacts_block-wrapper">
|
||||
<div>Как добраться</div>
|
||||
<p>Мы находимся в офисном центре «Сбербанк» рядом с гипермаркетом «Глобус» — <a style="text-decoration: underline;" href="<?php echo carbon_get_theme_option('site_map_link'); ?>" target="_blank" rel="noreferrer noopener"><strong>ссылка на карту</strong></a><br><br>
|
||||
По городу Щелково до остановки «Новый мост»: Автобусы или маршрутные такси 2, 25, 29, 35, 37, 40, 50, 361.<br><br>
|
||||
Из города Фрязино до остановки «Новый мост»: Автобусы или маршрутное такси 49К, 20, 23, 29, 33, 35, 361, 37, 39, 50, 54<br><br>
|
||||
Адрес для координат <a style="text-decoration: underline;" href="<?php echo carbon_get_theme_option('site_map_link'); ?>"><strong>GPS: 55.928461, 38.000991</strong></a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contacts-block review-block">
|
||||
<div class="contacts_block-wrapper">
|
||||
<div class="contacts_block-wrapper-col">
|
||||
<h4>Оставить отзыв:</h4>
|
||||
<a href="/otzyvy/" class="btn-WA" target="_blank"><span>Оставить отзыв</span></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php get_template_part( 'template-parts/map' ); ?>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
119
wp-content/themes/dekart/page-course.php
Normal file
@ -0,0 +1,119 @@
|
||||
<?php
|
||||
/*
|
||||
Template Name: Шаблон страницы все курсы
|
||||
*/
|
||||
?>
|
||||
<?php
|
||||
get_header();
|
||||
$post_id = get_the_ID();
|
||||
?>
|
||||
<?php $foto = carbon_get_post_meta( $post_id, 'banner_img_desktop' ); ?>
|
||||
<?php $foto_mobile = carbon_get_post_meta( $post_id, 'banner_img_mobile' ); ?>
|
||||
|
||||
<main class="page page-courses">
|
||||
<?php if ( $foto != '') { ?>
|
||||
<nav class="banner container" aria-label="Хлебные крошки">
|
||||
<ul class="breadcrumbs desktop" itemscope itemtype="https://schema.org/BreadcrumbList">
|
||||
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||
<a itemprop="item" href="<?php echo home_url(); ?>/" class="home fa-home" title="Главная страница">
|
||||
<span itemprop="name" style='display:none;'>Главная</span>
|
||||
<svg width="21" height="16" viewBox="0 0 21 16" fill="none">
|
||||
<path d="M11.6473 10.6896H12.1473V11.1896V15.4691H16.4353C16.5143 15.4691 16.5756 15.4462 16.6432 15.3788C16.7108 15.3113 16.7333 15.2505 16.7333 15.1725V9.36976L10.0513 3.8712L3.36922 9.36976V15.1725C3.36922 15.2505 3.39178 15.3113 3.45937 15.3788C3.52698 15.4462 3.5883 15.4691 3.66723 15.4691H7.95527V11.1896V10.6896H8.45527H11.6473ZM10.3711 1.74407L18.9226 8.86174L19.5643 8.09722L16.9141 5.8987L16.7333 5.74874V5.51388V0.537319H14.5413V2.86272V3.93127L13.7209 3.2466L10.6815 0.709949C10.5114 0.572829 10.3095 0.499981 10.0513 0.499981C9.79293 0.499981 9.59094 0.572914 9.42075 0.710194L0.538196 8.09712L1.17996 8.86174L9.73142 1.74407L10.0513 1.47783L10.3711 1.74407Z" fill="white" stroke="white"/>
|
||||
</svg>
|
||||
</a>
|
||||
<meta itemprop="position" content="1" />
|
||||
</li>
|
||||
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||
<span class='last_item' itemprop="name"><?php the_title()?></span>
|
||||
<meta itemprop="position" content="2" />
|
||||
</li>
|
||||
</ul>
|
||||
<div class="banner-wrapper">
|
||||
<?php $foto = carbon_get_post_meta( $post_id, 'banner_img_desktop' ); ?>
|
||||
<?php $foto_mobile = carbon_get_post_meta( $post_id, 'banner_img_mobile' ); ?>
|
||||
<picture class="banner-fon">
|
||||
<source srcset="<?php echo wp_get_attachment_url($foto); ?>" media="(min-width: 780px)">
|
||||
<img src="<?php echo wp_get_attachment_url($foto_mobile); ?>" alt="<?php echo get_post_meta( $foto, '_wp_attachment_image_alt', true ); ?>">
|
||||
</picture>
|
||||
</div>
|
||||
</nav>
|
||||
<?php } //else echo '<div class="banner_expander"></div>'; ?>
|
||||
<section class="courses-section">
|
||||
<div class="container">
|
||||
<h1 class="teachers_title"><?php the_title()?></h1>
|
||||
|
||||
<div class="main_content">
|
||||
<?php the_content(); ?>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
$currentPage = get_query_var( 'paged' ) ? absint( get_query_var( 'paged' ) ) : 1;
|
||||
|
||||
$args = array(
|
||||
'orderby' => 'date',
|
||||
'order' => 'DESC',
|
||||
'post_type' => 'course',
|
||||
'posts_per_page' => 9,
|
||||
'paged' => $currentPage,
|
||||
);
|
||||
$query = new WP_Query($args); ?>
|
||||
<div class="courses-wrapper">
|
||||
<?php
|
||||
while ($query->have_posts()) {
|
||||
|
||||
$query->the_post();
|
||||
$post_id = get_the_ID();?>
|
||||
|
||||
<a href="<?php the_permalink(); ?>" class="course__item">
|
||||
<div class="popular__subject_img">
|
||||
<?php $label = carbon_get_post_meta( $post_id, 'box_label' );
|
||||
if ($label != "") :?>
|
||||
<span class="popular__subject_label"><?php echo $label; ?></span>
|
||||
<?php endif; ?>
|
||||
<?php $gallery = get_field('gallery'); ?>
|
||||
<?php if (!empty($gallery)) {?>
|
||||
<img src="<?php echo $gallery[0]['url']; ?>" alt="<?php the_title(); ?>" title="<?php the_title(); ?>">
|
||||
<?php } else {?>
|
||||
<img src="/wp-content/uploads/2021/02/podgotovka-k-oge-po-geografii.jpg" alt="<?php the_title(); ?>" title="<?php the_title(); ?>">
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div class="product-info">
|
||||
<h3 class="popular__subject_title"><?php the_title(); ?></h3>
|
||||
<p class="popular__subject_text"><?php $informaciya_o_kurse = get_field('informaciya_o_kurse');
|
||||
echo wp_trim_words( $informaciya_o_kurse, 300, ' ...' );
|
||||
?></p>
|
||||
</div>
|
||||
</a>
|
||||
<?php } wp_reset_postdata(); ?>
|
||||
</div>
|
||||
<div class="page-numbers-wrapper">
|
||||
<?php
|
||||
echo paginate_links([
|
||||
"base" => str_replace(999999999, "%#%", get_pagenum_link(999999999)),
|
||||
"format" => "",
|
||||
"current" => max(1, $currentPage),
|
||||
"total" => $query->max_num_pages,
|
||||
"prev_text" => '<svg style="transform: scale(-1, -1);" width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="40" height="40" rx="5" fill="#D9D9D9"/>
|
||||
<path d="M29.7071 20.7071C30.0976 20.3166 30.0976 19.6834 29.7071 19.2929L23.3431 12.9289C22.9526 12.5384 22.3195 12.5384 21.9289 12.9289C21.5384 13.3195 21.5384 13.9526 21.9289 14.3431L27.5858 20L21.9289 25.6569C21.5384 26.0474 21.5384 26.6805 21.9289 27.0711C22.3195 27.4616 22.9526 27.4616 23.3431 27.0711L29.7071 20.7071ZM12 21H29V19H12V21Z" fill="#1F1F1F"/>
|
||||
</svg>', // анкор ссылки на предыдущую страницу
|
||||
"next_text" => '<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="40" height="40" rx="5" fill="#D9D9D9"/>
|
||||
<path d="M29.7071 20.7071C30.0976 20.3166 30.0976 19.6834 29.7071 19.2929L23.3431 12.9289C22.9526 12.5384 22.3195 12.5384 21.9289 12.9289C21.5384 13.3195 21.5384 13.9526 21.9289 14.3431L27.5858 20L21.9289 25.6569C21.5384 26.0474 21.5384 26.6805 21.9289 27.0711C22.3195 27.4616 22.9526 27.4616 23.3431 27.0711L29.7071 20.7071ZM12 21H29V19H12V21Z" fill="#1F1F1F"/>
|
||||
</svg>', // анкор ссылки на следующую страницу
|
||||
"type" => "list"
|
||||
]);?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<?php get_template_part( 'template-parts/promo-form' ); ?>
|
||||
|
||||
<?php get_template_part( 'template-parts/map' ); ?>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
|
||||
133
wp-content/themes/dekart/page-foto.php
Normal file
@ -0,0 +1,133 @@
|
||||
<?php
|
||||
/*
|
||||
Template Name: Шаблон страницы Фото нашего центра
|
||||
*/
|
||||
?>
|
||||
<?php
|
||||
get_header();
|
||||
$post_id = get_the_ID();
|
||||
?>
|
||||
<?php $foto = carbon_get_post_meta( $post_id, 'banner_img_desktop' ); ?>
|
||||
<?php $foto_mobile = carbon_get_post_meta( $post_id, 'banner_img_mobile' ); ?>
|
||||
<main class="page page-foto">
|
||||
<?php if ( $foto != '') { ?>
|
||||
<div class="banner container">
|
||||
<nav aria-label="Хлебные крошки">
|
||||
<ul itemscope itemtype="https://schema.org/BreadcrumbList" class="breadcrumbs desktop">
|
||||
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||
<a itemprop="item" href="<?php echo home_url(); ?>/" class="home fa-home" title="Главная страница">
|
||||
<span itemprop="name" style='display:none;'>Главная</span>
|
||||
<svg width="21" height="16" viewBox="0 0 21 16" fill="none">
|
||||
<path d="M11.6473 10.6896H12.1473V11.1896V15.4691H16.4353C16.5143 15.4691 16.5756 15.4462 16.6432 15.3788C16.7108 15.3113 16.7333 15.2505 16.7333 15.1725V9.36976L10.0513 3.8712L3.36922 9.36976V15.1725C3.36922 15.2505 3.39178 15.3113 3.45937 15.3788C3.52698 15.4462 3.5883 15.4691 3.66723 15.4691H7.95527V11.1896V10.6896H8.45527H11.6473ZM10.3711 1.74407L18.9226 8.86174L19.5643 8.09722L16.9141 5.8987L16.7333 5.74874V5.51388V0.537319H14.5413V2.86272V3.93127L13.7209 3.2466L10.6815 0.709949C10.5114 0.572829 10.3095 0.499981 10.0513 0.499981C9.79293 0.499981 9.59094 0.572914 9.42075 0.710194L0.538196 8.09712L1.17996 8.86174L9.73142 1.74407L10.0513 1.47783L10.3711 1.74407Z" fill="white" stroke="white"/>
|
||||
</svg>
|
||||
</a>
|
||||
<meta itemprop="position" content="1" />
|
||||
</li>
|
||||
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||
<span class='last_item' itemprop="name"><?php the_title()?></span>
|
||||
<meta itemprop="position" content="2" />
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="banner-wrapper">
|
||||
<?php $foto = carbon_get_post_meta( $post_id, 'banner_img_desktop' ); ?>
|
||||
<?php $foto_mobile = carbon_get_post_meta( $post_id, 'banner_img_mobile' ); ?>
|
||||
<picture class="banner-fon">
|
||||
<source srcset="<?php echo wp_get_attachment_url($foto); ?>" media="(min-width: 780px)">
|
||||
<img src="<?php echo wp_get_attachment_url($foto_mobile); ?>" alt="<?php echo get_post_meta( $foto, '_wp_attachment_image_alt', true ); ?>">
|
||||
</picture>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<section class="foto-section">
|
||||
<div class="container">
|
||||
<h1 class="teachers_title"><?php the_title()?></h1>
|
||||
<div class="foto-wrapper">
|
||||
<?php
|
||||
$images = carbon_get_theme_option( 'slider_img' );
|
||||
$count = 1;
|
||||
$index = 0;
|
||||
foreach ($images as $img) { ?>
|
||||
<div class="foto_item foto_item-<?php echo $count; ?>">
|
||||
<img loading="lazy" class="click-img" data-num="<?php echo $index; ?>" src="<?php echo wp_get_attachment_url($img['img']); ?>" alt="<?php echo get_post_meta( $img['img'], '_wp_attachment_image_alt', true ); ?>">
|
||||
</div>
|
||||
<?php
|
||||
$count++;
|
||||
$index++;
|
||||
if($count > 4) $count = 1;
|
||||
} ?>
|
||||
</div>
|
||||
<?php
|
||||
$video = carbon_get_post_meta( $post_id, 'page_video' );
|
||||
if ($video != '') { ?>
|
||||
<div class="video-wrapper">
|
||||
<?php $page_video_preview = carbon_get_post_meta( $post_id, 'page_video_preview' ); ?>
|
||||
<img loading="lazy" class="fon-0 video_preview" src="<?php echo wp_get_attachment_url($page_video_preview); ?>" alt="<?php echo get_post_meta( $page_video_preview, '_wp_attachment_image_alt', true ); ?>">
|
||||
<button class="video_play">
|
||||
<span class="fon-0 btn-play-video"></span>
|
||||
<svg width="140" height="140" viewBox="0 0 140 140" fill="none">
|
||||
<circle cx="70" cy="70" r="63.5" fill="#D9D9D9" stroke="white" stroke-width="13"/>
|
||||
<path d="M88 70L59.5 86.4545L59.5 53.5455L88 70Z" fill="white"/>
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
<?php }?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php get_template_part( 'template-parts/promo-form' ); ?>
|
||||
|
||||
<?php get_template_part( 'template-parts/block-why-us' ); ?>
|
||||
|
||||
<?php get_template_part( 'template-parts/map' ); ?>
|
||||
|
||||
<div class="slider-modal" style="display: none;">
|
||||
<button class="btn-close-slider">
|
||||
<img class="btn-close-slider-img" src="<?php echo get_template_directory_uri(); ?>/assets/images/btn-close-modal.svg" alt="кнопка закрыть окно">
|
||||
</button>
|
||||
<div class="slider-modal-wrapper">
|
||||
<div class="swiper swiper-foto">
|
||||
<div class="swiper-wrapper">
|
||||
<?php
|
||||
foreach ($images as $img) { ?>
|
||||
<div class="swiper-slide img__item">
|
||||
<img src="<?php echo wp_get_attachment_url($img['img']); ?>" alt="<?php echo get_post_meta( $img['img'], '_wp_attachment_image_alt', true ); ?>">
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div class="custom-button-next foto-next desktop"></div>
|
||||
<div class="custom-button-prev foto-prev desktop"></div>
|
||||
</div>
|
||||
<div class="swiper-pagination"></div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<script>
|
||||
const sliderModal = document.querySelector('.slider-modal');
|
||||
|
||||
document.addEventListener('click', (event) => {
|
||||
if (event.target.classList.contains("click-img")) {
|
||||
const indexSlide = Number(event.target.getAttribute('data-num'));
|
||||
setTimeout(() => {
|
||||
swiperFoto.slideTo(indexSlide, 100, false );
|
||||
}, 100);
|
||||
sliderModal.style="";
|
||||
return;
|
||||
}
|
||||
if (event.target.classList.contains("btn-close-slider-img")) {
|
||||
sliderModal.style="display: none;";
|
||||
return;
|
||||
}
|
||||
if (event.target.classList.contains("btn-play-video")) {
|
||||
const video = event.target.getAttribute('data-video');
|
||||
event.target.parentNode.parentNode.innerHTML = `<?php echo $video ?>`;
|
||||
return;
|
||||
}
|
||||
});
|
||||
|
||||
</script>
|
||||
<?php
|
||||
get_footer();
|
||||
|
||||
59
wp-content/themes/dekart/page-news.php
Normal file
@ -0,0 +1,59 @@
|
||||
<?php
|
||||
/*
|
||||
Template Name: Шаблон страницы Новости
|
||||
*/
|
||||
?>
|
||||
<?php
|
||||
get_header();
|
||||
$post_id = get_the_ID();
|
||||
?>
|
||||
<main class="page contacts">
|
||||
|
||||
<section class="contetn-main_block">
|
||||
<div class="container">
|
||||
<h1 class="page_h2"><?php the_title()?></h1>
|
||||
|
||||
<?php
|
||||
$args = array(
|
||||
'posts_per_page' => -1,
|
||||
'offset' => 0,
|
||||
'orderby' => 'date',
|
||||
'order' => 'DESC',
|
||||
'post_type' => 'post',
|
||||
);
|
||||
$query = new WP_Query($args); ?>
|
||||
|
||||
<div class="news-wrapper">
|
||||
<?php
|
||||
while ($query->have_posts()) {
|
||||
|
||||
$query->the_post();
|
||||
$post_id = get_the_ID();
|
||||
$cat = get_the_category($post_id);
|
||||
?>
|
||||
<article class="news__item show" data-item-cat="<?php echo $cat[0]->cat_ID; ?>">
|
||||
<a href="<?php the_permalink(); ?>">
|
||||
<span class="news_label_cat">Новости</span>
|
||||
<div class="popular__subject_img">
|
||||
<?php if ( has_post_thumbnail()) { ?>
|
||||
<?php the_post_thumbnail(); ?>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div class="product-info">
|
||||
<span class="news_label"><?php echo get_the_date( 'd.m.Y' ); ?></span>
|
||||
<h3 class="popular__subject_title"><?php the_title(); ?></h3>
|
||||
<p class="popular__subject_text"><?php echo wp_trim_words( get_the_excerpt(), 25 ); // post excerpt; ?></p>
|
||||
</div>
|
||||
</a>
|
||||
</article>
|
||||
<?php } wp_reset_postdata(); ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php get_template_part( 'template-parts/map' ); ?>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
55
wp-content/themes/dekart/page-o-nas.php
Normal file
@ -0,0 +1,55 @@
|
||||
<?php
|
||||
/*
|
||||
Template Name: Шаблон страницы О нас
|
||||
*/
|
||||
?>
|
||||
<?php
|
||||
get_header();
|
||||
$post_id = get_the_ID();
|
||||
$useragent=$_SERVER['HTTP_USER_AGENT'];
|
||||
|
||||
$page_breadcrumbs = carbon_get_post_meta( $post_id, 'page_breadcrumbs' );
|
||||
?>
|
||||
<main class="page-o-nas">
|
||||
<?php get_template_part( 'template-parts/block-banner' ); ?>
|
||||
|
||||
<section class="contetn-main_block">
|
||||
<div class="container">
|
||||
<div class="main_content">
|
||||
<?php the_content(); ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section foto-slider">
|
||||
<div class="container">
|
||||
<h2 class="page_h2">Фото нашей школы</h2>
|
||||
<div class="swiper swiper-foto">
|
||||
<div class="swiper-wrapper">
|
||||
<?php
|
||||
$images = carbon_get_theme_option( 'slider_img' );
|
||||
foreach ($images as $img) { ?>
|
||||
<div class="swiper-slide img__item">
|
||||
<img loading="lazy" class="certificates__item_img" src="<?php echo wp_get_attachment_url($img['img']); ?>" alt="<?php echo get_post_meta( $img['img'], '_wp_attachment_image_alt', true ); ?>">
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swiper-pagination"></div>
|
||||
<div class="custom-button-next foto-next desktop"></div>
|
||||
<div class="custom-button-prev foto-prev desktop"></div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php get_template_part( 'template-parts/teachers' ); ?>
|
||||
|
||||
<?php get_template_part( 'template-parts/promo-form' ); ?>
|
||||
|
||||
<?php //get_template_part( 'template-parts/block-why-us' ); ?>
|
||||
|
||||
<?php get_template_part( 'template-parts/map' ); ?>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
21
wp-content/themes/dekart/page-organization.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/*
|
||||
Template Name: Шаблон страницы Сведения об образовательной организации
|
||||
*/
|
||||
?>
|
||||
<?php
|
||||
get_header();
|
||||
$post_id = get_the_ID();
|
||||
?>
|
||||
<main class="organization">
|
||||
<section class="contetn-main_block">
|
||||
<div class="container">
|
||||
<h1 class="page_h2"><?php the_title()?></h1>
|
||||
<?php the_content(); ?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php get_template_part( 'template-parts/map' ); ?>
|
||||
</main>
|
||||
<?php
|
||||
get_footer();
|
||||
244
wp-content/themes/dekart/page-reviews.php
Normal file
@ -0,0 +1,244 @@
|
||||
<?php
|
||||
/*
|
||||
Template Name: Шаблон страницы Отзывы
|
||||
*/
|
||||
?>
|
||||
<?php
|
||||
get_header();
|
||||
$post_id = get_the_ID();
|
||||
|
||||
$page_breadcrumbs = carbon_get_post_meta( $post_id, 'page_breadcrumbs' );
|
||||
|
||||
$filterID = '';
|
||||
|
||||
if ( isset($_GET['filter']) ) {
|
||||
// получим ID курса по его назанию
|
||||
$filter = $_GET['filter'];
|
||||
$filterQuery = str_replace('—', '-', $filter);
|
||||
|
||||
$query = new WP_Query(
|
||||
[
|
||||
'post_type' => 'course',
|
||||
'title' => $filterQuery,
|
||||
'post_status' => 'publish',
|
||||
'posts_per_page' => 1,
|
||||
'update_post_term_cache' => false,
|
||||
'update_post_meta_cache' => false,
|
||||
'orderby' => 'post_date ID',
|
||||
'order' => 'ASC',
|
||||
'no_found_rows' => true,
|
||||
'ignore_sticky_posts' => true,
|
||||
]
|
||||
);
|
||||
|
||||
if ( $query->post ) {
|
||||
$page_got_by_title = $query->post;
|
||||
$compare = "LIKE";
|
||||
}
|
||||
else {
|
||||
$page_got_by_title = null;
|
||||
$compare = "!=";
|
||||
}
|
||||
$filterID = $page_got_by_title->ID;
|
||||
|
||||
wp_reset_postdata(); // Сброс глобального состояния
|
||||
} else {
|
||||
$filter = "Все отзывы";
|
||||
$page_got_by_title = null;
|
||||
$compare = "!=";
|
||||
}
|
||||
|
||||
// Повторная установка переменных, вероятно, ошибка логики, но оставлено как было в оригинале
|
||||
$filter = "Все отзывы";
|
||||
$page_got_by_title = null;
|
||||
$compare = "!=";
|
||||
|
||||
?>
|
||||
|
||||
<main class="page-rewiews">
|
||||
<?php get_template_part( 'template-parts/block-banner' ); ?>
|
||||
|
||||
<section class="rewiews">
|
||||
<div class="container">
|
||||
<div class="container-wrapper">
|
||||
<div class="rewiews-wrapper">
|
||||
<?php
|
||||
|
||||
$currentPage = get_query_var( 'paged' ) ? absint( get_query_var( 'paged' ) ) : 1;
|
||||
|
||||
// получим отзывы
|
||||
$args = array(
|
||||
'post_type' => 'reviews',
|
||||
'orderby' => 'date',
|
||||
'order' => 'DESC',
|
||||
'posts_per_page' => 10,
|
||||
'paged' => $currentPage,
|
||||
);
|
||||
|
||||
$query = new WP_Query($args);
|
||||
|
||||
$schema_reviews = '';
|
||||
|
||||
if ($query->have_posts()) {
|
||||
$count = 0;
|
||||
while ($query->have_posts()) {
|
||||
$query->the_post();
|
||||
|
||||
$post_id_review = get_the_ID();
|
||||
|
||||
$review_date = get_the_date( 'd.m.Y');
|
||||
$review_level = carbon_get_post_meta( $post_id_review, 'review_level' );
|
||||
|
||||
$avatar = carbon_get_post_meta( $post_id_review, 'review_avatar' );
|
||||
|
||||
$stars = carbon_get_post_meta( $post_id_review, 'review_star' );
|
||||
$tekst_otzyva = carbon_get_post_meta( $post_id_review, 'review_text' );
|
||||
$prepodavatel = carbon_get_post_meta( $post_id_review, 'review_teacher' );
|
||||
|
||||
$add_class= "more";
|
||||
|
||||
if ( strlen($tekst_otzyva) < 350 ) $add_class= "";
|
||||
|
||||
$count++;
|
||||
|
||||
$schema_reviews .='{
|
||||
"@type": "Review",
|
||||
"reviewBody": "' . replaceQuotes($tekst_otzyva) .'",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "' . get_the_title() .'"
|
||||
},
|
||||
"datePublished": "' . $review_date . '",
|
||||
"itemReviewed": {
|
||||
"@type": "Person",
|
||||
"name": "' . get_the_title($prepodavatel[0]['id']) . '",
|
||||
"url": "' . get_permalink( $prepodavatel[0]['id']) . '"}},';
|
||||
?>
|
||||
<div class="reviews__item">
|
||||
<div class="reviews__item-wrapper">
|
||||
<div class="reviews__item-client">
|
||||
<div class="reviews__item-client_avatar" style="background: <?php echo rand_color(); ?>">
|
||||
<?php if ($avatar) { ?>
|
||||
<img loading="lazy" width="57" height="57" class="reviews__item-client_avatar-img" src="<?php echo wp_get_attachment_url($avatar); ?>" alt="<?php echo get_post_meta( $avatar, '_wp_attachment_image_alt', true ); ?>">
|
||||
<?php } else {
|
||||
echo mb_substr(get_the_title(), 0, 1);
|
||||
}?>
|
||||
</div>
|
||||
<div class="reviews__item-client_data">
|
||||
<div class="reviews__item-client_name"><?php the_title(); ?></div>
|
||||
<div class="reviews__item-client_lavel" ><?php echo $review_level; ?></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="reviews__item-client_stars">
|
||||
<?php
|
||||
if (!$stars) $stars = 5;
|
||||
for ($i = 1; $i <= $stars; $i++) { ?>
|
||||
<svg width="20" height="20" viewBox="0 0 21 19" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M9.58463 1.50884C9.89101 0.602477 11.1729 0.602476 11.4793 1.50884L13.1158 6.35007C13.2531 6.75637 13.6343 7.02985 14.0631 7.02985H19.2721C20.2504 7.02985 20.6467 8.28958 19.8447 8.84971L15.6995 11.7446C15.335 11.9991 15.1823 12.4636 15.3247 12.8847L16.9239 17.6158C17.233 18.5302 16.1954 19.3085 15.404 18.7559L11.1045 15.7533C10.7606 15.5131 10.3033 15.5131 9.95941 15.7533L5.65991 18.7559C4.86857 19.3085 3.83092 18.5302 4.14001 17.6158L5.73926 12.8847C5.8816 12.4636 5.72891 11.9991 5.36448 11.7446L1.21924 8.84971C0.417196 8.28958 0.813532 7.02985 1.79181 7.02985H7.00081C7.42969 7.02985 7.81081 6.75637 7.94815 6.35007L9.58463 1.50884Z"
|
||||
fill="#FFD43E" />
|
||||
</svg>
|
||||
<?php } ?>
|
||||
<span><?php echo $review_date; ?></span>
|
||||
</div>
|
||||
<?php if(isset($prepodavatel[0]['id'])) { ?>
|
||||
<p class="reviews__kurs"><span>Преподаватель: </span> <a href="<?php echo get_permalink( $prepodavatel[0]['id'] ); ?>"><?php echo get_the_title($prepodavatel[0]['id']);?></a></p>
|
||||
<?php } ?>
|
||||
<div class="reviews__item-client_text <?php echo $add_class; ?>">
|
||||
<?php echo $tekst_otzyva; ?>
|
||||
<button class="btn-more"><span onclick='this.parentNode.parentNode.classList.remove("more")'>... Читать еще</span></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
};
|
||||
wp_reset_postdata(); // Сброс глобального состояния
|
||||
} else { ?>
|
||||
<p class="no-post filter_title">Отзывы по данному курсу отсутствуют.</p>
|
||||
<?php }?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="page-numbers-wrapper">
|
||||
<nav class="container">
|
||||
<?php
|
||||
$pagination_base = str_replace(999999999, "%#%", get_pagenum_link(999999999));
|
||||
|
||||
// Убеждаемся, что base для страниц 2+ оканчивается на слэш
|
||||
if (substr($pagination_base, -1) !== '/') {
|
||||
$pagination_base .= '/';
|
||||
}
|
||||
|
||||
echo paginate_links([
|
||||
"base" => $pagination_base,
|
||||
"format" => "page/%#%/", // Корректный формат для ЧПУ
|
||||
"current" => max(1, $currentPage),
|
||||
"total" => $query->max_num_pages,
|
||||
"prev_text" => '<svg style="transform: scale(-1, -1);" width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="40" height="40" rx="5" fill="#D9D9D9"/>
|
||||
<path d="M29.7071 20.7071C30.0976 20.3166 30.0976 19.6834 29.7071 19.2929L23.3431 12.9289C22.9526 12.5384 22.3195 12.5384 21.9289 12.9289C21.5384 13.3195 21.5384 13.9526 21.9289 14.3431L27.5858 20L21.9289 25.6569C21.5384 26.0474 21.5384 26.6805 21.9289 27.0711C22.3195 27.4616 22.9526 27.4616 23.3431 27.0711L29.7071 20.7071ZM12 21H29V19H12V21Z" fill="#1F1F1F"/>
|
||||
</svg>', // анкор ссылки на предыдущую страницу
|
||||
"next_text" => '<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="40" height="40" rx="5" fill="#D9D9D9"/>
|
||||
<path d="M29.7071 20.7071C30.0976 20.3166 30.0976 19.6834 29.7071 19.2929L23.3431 12.9289C22.9526 12.5384 22.3195 12.5384 21.9289 12.9289C21.5384 13.3195 21.5384 13.9526 21.9289 14.3431L27.5858 20L21.9289 25.6569C21.5384 26.0474 21.5384 26.6805 21.9289 27.0711C22.3195 27.4616 22.9526 27.4616 23.3431 27.0711L29.7071 20.7071ZM12 21H29V19H12V21Z" fill="#1F1F1F"/>
|
||||
</svg>', // анкор ссылки на следующую страницу
|
||||
"type" => "list",
|
||||
"add_args" => (isset($_GET['filter']) ? ['filter' => esc_attr($_GET['filter'])] : false),
|
||||
]);?>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="buttons">
|
||||
<a href="<?php echo carbon_get_theme_option( 'site_frame_reviews' ); ?>" onclick="document.querySelector('.frame__popup').style='display:flex;'" class="btn-yellow-link" target="myFrame">Оставить отзыв об учебном центре "Декарт"</a>
|
||||
</div>
|
||||
<div class="frame__popup">
|
||||
<div class="frame__popup-wrapper">
|
||||
<img class="btn-close-frame__popup" onclick="this.parentNode.parentNode.style='display:none;'" src="<?php echo get_template_directory_uri(); ?>/assets/images/btn-close-modal.svg" alt="кнопка закрыть окно">
|
||||
<iframe class="frame_reviews" src="" name="myFrame"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php
|
||||
// ИСПРАВЛЕНИЕ: Используем get_permalink($post_id) для надежного канонического URL в микроразметке
|
||||
$schema_reviews = substr($schema_reviews, 0, -1); // Удаляем последний символ
|
||||
?>
|
||||
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "WebPage",
|
||||
"name": "Отзывы о Учебном центре 'Декарт'",
|
||||
"url": "<?php echo esc_url( get_permalink($post_id) ); ?>",
|
||||
"review": [
|
||||
<?php echo $schema_reviews; ?>
|
||||
]
|
||||
}
|
||||
</script>
|
||||
|
||||
<?php get_template_part( 'template-parts/promo-form' ); ?>
|
||||
|
||||
<?php get_template_part( 'template-parts/map' ); ?>
|
||||
|
||||
</main>
|
||||
|
||||
|
||||
<script>
|
||||
const mobFilter = document.querySelector('.tiltle-mobile');
|
||||
|
||||
mobFilter.addEventListener('click', (event) => {
|
||||
event.target.parentNode.classList.toggle('open');
|
||||
});
|
||||
|
||||
document.addEventListener('click', (event) => {
|
||||
if (event.target.classList.contains("filter_item")) {
|
||||
// Убедитесь, что здесь тоже есть слэш в конце, если 'all-reviews' является страницей
|
||||
document.location = "<?php echo get_home_url();?>/all-reviews/?filter=" + event.target.textContent;
|
||||
return;
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
333
wp-content/themes/dekart/page-school.php
Normal file
@ -0,0 +1,333 @@
|
||||
<?php
|
||||
/*
|
||||
Template Name: шаблон страницы начальной школы
|
||||
*/
|
||||
?>
|
||||
<?php
|
||||
get_header();
|
||||
$post_id = get_the_ID();
|
||||
|
||||
$page_breadcrumbs = carbon_get_post_meta( $post_id, 'page_breadcrumbs' );
|
||||
?>
|
||||
|
||||
<main class="page-school">
|
||||
<?php get_template_part( 'template-parts/block-banner' ); ?>
|
||||
<?php get_template_part( 'template-parts/block-banner-info' ); ?>
|
||||
|
||||
<a class="banner-main-page" href="<?php echo carbon_get_post_meta( $post_id, 'main_banner_link' ) ?>">
|
||||
<?php $foto = carbon_get_post_meta( $post_id, 'main_banner_img_desktop' ); ?>
|
||||
<?php $foto_mobile = carbon_get_post_meta( $post_id, 'main_banner_img_mobile' );
|
||||
if ($foto_mobile == '') $foto_mobile = $foto;
|
||||
if ($foto != '') {?>
|
||||
<picture class="banner-main-page_img">
|
||||
<source srcset="<?php echo wp_get_attachment_url($foto); ?>" media="(min-width: 780px)">
|
||||
<img src="<?php echo wp_get_attachment_url($foto_mobile); ?>" alt="<?php echo get_post_meta( $foto, '_wp_attachment_image_alt', true ); ?>">
|
||||
</picture>
|
||||
<?php } ?>
|
||||
</a>
|
||||
|
||||
<section class="advantages__block">
|
||||
<div class="container">
|
||||
<div class="advantages__block-wrapper">
|
||||
<h2 class="page_h2">Наши преимущества</h2>
|
||||
<div class="advantages__block-content">
|
||||
<div class="advantages__block-row">
|
||||
<div class="advantages__block-item" style="border: 2px solid #A05A95;">
|
||||
<div class="advantages__block-item_title">Мини-классы до 10 учеников</div>
|
||||
<p>Учитель не просто видит ученика — он слышит его сомнения, чувствует его ритм, выверяет каждый шаг. В мини-группах до 10 человек мы создаем тепличные условия, где даже самые робкие таланты расцветают яркими красками. Никакой «массовки»: только индивидуальные траектории роста, где ошибки становятся ступеньками, а маленькие победы — стартом для новых свершений. Мы не учим «всех одинаково» — мы помогаем каждому ученику уверенно расправить крылья, чтобы его потенциал засиял во всей полноте!</p>
|
||||
<div class="advantages__block-item-img">
|
||||
<p></p>
|
||||
<!-- <img loading="lazy" width="100" height="100" src="<?php echo get_template_directory_uri(); ?>/assets/images/advantages__block-1.png" alt=""> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="advantages__block-item" style="border: 2px solid #F682A5;">
|
||||
<div class="advantages__block-item_title">Обучение по программе<br>«Перспектива»</div>
|
||||
<p>Учебный процесс построен на активных методах: дети не просто получают знания, а открывают их самостоятельно.</p>
|
||||
<div class="advantages__block-item-img">
|
||||
<a href="/otkryvaya-gorizonty-umk-perspektiva-v-nachalnoj-shkole-dekart-formula-uspeshnogo-starta/">Узнать подробнее ></a>
|
||||
<!--<img loading="lazy" width="100" height="100" src="<?php echo get_template_directory_uri(); ?>/assets/images/advantages__block-2.png" alt=""> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="advantages__block-item" style="border: 2px solid #FEDF6F;">
|
||||
<div class="advantages__block-item_title">Английский язык<br>с 1 класса</div>
|
||||
<p>Английский язык Cambridge English. Подготовка по международной методике, дающей базу для сдачи международных экзаменов.</p>
|
||||
<div class="advantages__block-item-img">
|
||||
<a href="/anglijskij-s-pervogo-klassa/">Узнать подробнее ></a>
|
||||
<!-- <img loading="lazy" width="100" height="100" src="<?php echo get_template_directory_uri(); ?>/assets/images/advantages__block-3.png" alt=""> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="advantages__block-row">
|
||||
<div class="advantages__block-item" style="border: 2px solid #F9A474;">
|
||||
<div class="advantages__block-item_title">Официальное прикрепление<br>к московской школе</div>
|
||||
<p>Мы берем на себя все формальности, связанные с официальным зачислением вашего ребенка. Для получения аттестата государственного образца по окончании школы, каждый ученик прикрепляется к одной из наших партнерских московских школ, имеющей государственную аккредитацию. Этот процесс полностью курируется нашей администрацией.</p>
|
||||
<div class="advantages__block-item-img">
|
||||
<a href="#">Узнать подробнее ></a>
|
||||
<!-- <img loading="lazy" width="100" height="100" src="<?php echo get_template_directory_uri(); ?>/assets/images/advantages__block-4.png" alt=""> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="advantages__block-item" style="border: 2px solid #C9DA8F;">
|
||||
<div class="advantages__block-item_title">Система обучения<br>Л. В. Занкова</div>
|
||||
<p>Здесь нет скучной зубрежки — только живые задачи, где каждая ошибка становится ступенькой к открытию. Дети учатся спорить, искать истину и видеть необычное в обычном. Результат? Ученики с огнем в глазах, которые думают смело и творят без границ!</p>
|
||||
<div class="advantages__block-item-img">
|
||||
<a href="/sistema-zankova-v-nachalnoj-shkole/">Узнать подробнее ></a>
|
||||
<!-- <img loading="lazy" width="80" height="80" src="<?php echo get_template_directory_uri(); ?>/assets/images/advantages__block-5.png" alt=""> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="advantages__block-item" style="border: 2px solid #B8CEDC;">
|
||||
<div class="advantages__block-item_title">Индивидуальный подход<br>к каждому ученику</div>
|
||||
<p>Индивидуальные планы и регулярная диагностика помогают каждому ребенку учиться в своём темпе. Гарантия опережения государственной программы начальной школы на 6 месяцев.</p>
|
||||
<div class="advantages__block-item-img">
|
||||
<p></p>
|
||||
<!-- <img loading="lazy" width="80" height="80" src="<?php echo get_template_directory_uri(); ?>/assets/images/advantages__block-6.png" alt=""> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php get_template_part( 'template-parts/promo-form' ); ?>
|
||||
|
||||
<section class="info__block">
|
||||
<div class="container">
|
||||
<div class="info__block-wrapper">
|
||||
<h2 class="page_h2">Персональный план развития для каждого ученика</h2>
|
||||
<div class="info__block-content">
|
||||
<div class="info__block-content_text">
|
||||
<?php echo carbon_get_post_meta( $post_id, 'block_text_1' ); ?>
|
||||
</div>
|
||||
<div class="info__block-content_img">
|
||||
<img loading="lazy" width="215.51" height="132" src="<?php echo get_template_directory_uri(); ?>/assets/images/image-19.webp" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="info__block">
|
||||
<div class="container">
|
||||
<div class="info__block-wrapper">
|
||||
<h2 class="page_h2">Решаем главные проблемы родителей и учеников в начальной школы</h2>
|
||||
<div class="info__block-content">
|
||||
<div class="info__block-items-wrapper">
|
||||
<div class="info__block-item">
|
||||
<div class="info__block-item_number">1</div>
|
||||
<div class="info__block-item-content">
|
||||
<div class="info__block-item-text_title">Официальное прикрепление к московской школе</div>
|
||||
<div class="info__block-item-text_text">Все наши ученики официально прикрепляются к Государственному бюджетному образовательному учреждению города Москвы «Школа Дмитровский» имени Героя Советского Союза В.П. Кислякова.</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="info__block-item">
|
||||
<div class="info__block-item_number">2</div>
|
||||
<div class="info__block-item-content">
|
||||
<div class="info__block-item-text_title">Готовность к школе и адаптация</div>
|
||||
<div class="info__block-item-text_text">В школе внедрена программа «Мягкий старт» и постоянное сопровождение нейропсихологом. Мы обеспечиваем мягкую адаптацию и поддержку на протяжении всей начальной школы. Результат: 98% детей успешно адаптируются и сохраняют любовь к обучению до окончания школы.</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="info__block-item">
|
||||
<div class="info__block-item_number">3</div>
|
||||
<div class="info__block-item-content">
|
||||
<div class="info__block-item-text_title">Безопасность и буллинг</div>
|
||||
<div class="info__block-item-text_text">В начальных классах участились случаи травли. Мы создали безопасную среду на все 4 года обучения. Внедрена система «Нулевой толерантности к буллингу и развитию эмоционального интеллекта».</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="info__block-item">
|
||||
<div class="info__block-item_number">4</div>
|
||||
<div class="info__block-item-content">
|
||||
<div class="info__block-item-text_title">Учебная нагрузка в начальных классах</div>
|
||||
<div class="info__block-item-text_text">Оптимизирована нагрузка для учеников с 1 по 4 класс. Внедрена программа «Эффективное обучение в начальной школе». Результат: 1 час продуктивных занятий вместо 2−3 часов зубрежки.</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="info__block-item">
|
||||
<div class="info__block-item_number">5</div>
|
||||
<div class="info__block-item-content">
|
||||
<div class="info__block-item-text_title">Качество образования в начальной школе</div>
|
||||
<div class="info__block-item-text_text">Стандартная программа не учитывает индивидуальности детей 7−10 лет. Мы обеспечили персонализированное обучение на протяжении всей начальной школы. Используя авторскую методику «Перспектива» для 1−4 классов. Наши выпускники начальной школы опережают сверстников на 6−12 месяцев.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="info__block-content_img desktop">
|
||||
<img loading="lazy" width="215" height="132" src="<?php echo get_template_directory_uri(); ?>/assets/images/image-18.webp" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<button class="btn-write btn-lilac btn-page">Оставить заявку</button>
|
||||
|
||||
<section class="info__block info__block-right">
|
||||
<div class="container">
|
||||
<div class="info__block-wrapper">
|
||||
<div class="info__block-content">
|
||||
<div class="info__block-content_text">
|
||||
<h2 class="page_h2">Почему начальная частная школа «Декарт»,<br>а не государственная?</h2>
|
||||
<?php echo carbon_get_post_meta( $post_id, 'block_text_2' ); ?>
|
||||
</div>
|
||||
<div class="info__block-content_img">
|
||||
<img loading="lazy" width="273.37" height="285" src="<?php echo get_template_directory_uri(); ?>/assets/images/666-1.webp" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php get_template_part( 'template-parts/teachers' ); ?>
|
||||
|
||||
<section class="contetn-main_block">
|
||||
<div class="container">
|
||||
<div class="main_content">
|
||||
<?php the_content(); ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="info__block">
|
||||
<div class="container">
|
||||
<div class="info__block-wrapper">
|
||||
<h2 class="page_h2">Семейные классы в Щелково</h2>
|
||||
<div class="info__block-content">
|
||||
<div class="info__block-content_text">
|
||||
<?php echo carbon_get_post_meta( $post_id, 'block_text_3' ); ?>
|
||||
<a class="info__block-content_text-a" href="#">Узнать подробнее ></a>
|
||||
</div>
|
||||
<div class="info__block-content_img">
|
||||
<img loading="lazy" width="236.73" height="145" src="<?php echo get_template_directory_uri(); ?>/assets/images/image-20.webp" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<?php
|
||||
set_query_var( 'type', 'primary' );
|
||||
get_template_part( 'template-parts/reviews' );
|
||||
?>
|
||||
<?php get_template_part( 'template-parts/block-foto' ); ?>
|
||||
|
||||
<?php
|
||||
$questions = carbon_get_post_meta( get_the_id(), 'questions' );
|
||||
if ( count($questions) > 0) : ?>
|
||||
<section class="questions">
|
||||
<div class="container">
|
||||
<h2 class="page_h2">Вопрос-ответ</h2>
|
||||
<div class="accordion" id="accordion1">
|
||||
<?php
|
||||
$schema_FAQPage = '';
|
||||
foreach ($questions as $question) { ?>
|
||||
<div class="box__accordion">
|
||||
<h3 class="box__accordion_label"><?php echo $question['questions_question']; ?></h3>
|
||||
<div class="box__accordion_content">
|
||||
<p><?php echo $question['questions_answer']; ?></p>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
$schema_FAQPage .='{"@type": "Question",
|
||||
"name": "'. replaceQuotes($question['questions_question']) .'",
|
||||
"acceptedAnswer": {
|
||||
"@type": "Answer",
|
||||
"text": "' .replaceQuotes($question['questions_answer']) .'"}},';
|
||||
} ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<?php endif; ?>
|
||||
|
||||
<button class="btn-write btn-lilac btn-page">Оставить заявку</button>
|
||||
|
||||
<?php get_template_part( 'template-parts/map' ); ?>
|
||||
|
||||
</main>
|
||||
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@graph": [
|
||||
{
|
||||
"@type": "WebPage",
|
||||
"@id": "https://schelkovo.dekart.school/nachalnaya-shkola/",
|
||||
"url": "https://schelkovo.dekart.school/nachalnaya-shkola/",
|
||||
"name": "Частная начальная школа «Декарт» в Щелково: 1-4 классы",
|
||||
"isPartOf": {"@id": "https://schelkovo.dekart.school/#website"},
|
||||
"datePublished": "2023-04-08T19:34:35+00:00",
|
||||
"dateModified": "2024-05-30T08:03:05+00:00",
|
||||
"description": "Частная начальная школа «Декарт» в Щелково для учеников 1-4 классов. Углубленная программа, английский с 1 класса, классы до 12 человек. Запишитесь на экскурсию!",
|
||||
"breadcrumb": {"@id": "https://schelkovo.dekart.school/nachalnaya-shkola/#breadcrumb"},
|
||||
"inLanguage": "ru-RU",
|
||||
"potentialAction": [
|
||||
{
|
||||
"@type": "ReadAction",
|
||||
"target": ["https://schelkovo.dekart.school/nachalnaya-shkola/"]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"@type": "BreadcrumbList",
|
||||
"@id": "https://schelkovo.dekart.school/nachalnaya-shkola/#breadcrumb",
|
||||
"itemListElement": [
|
||||
{
|
||||
"@type": "ListItem",
|
||||
"position": 1,
|
||||
"name": "Главная страница",
|
||||
"item": "https://schelkovo.dekart.school/"
|
||||
},
|
||||
{
|
||||
"@type": "ListItem",
|
||||
"position": 2,
|
||||
"name": "Начальная школа"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"@type": "WebSite",
|
||||
"@id": "https://schelkovo.dekart.school/#website",
|
||||
"url": "https://schelkovo.dekart.school/",
|
||||
"name": "Частная школа Декарт",
|
||||
"description": "Частная школа Декарт в Щелково",
|
||||
"publisher": {"@id": "https://schelkovo.dekart.school/#organization"},
|
||||
"inLanguage": "ru-RU"
|
||||
},
|
||||
{
|
||||
"@type": ["School", "LocalBusiness"],
|
||||
"@id": "https://schelkovo.dekart.school/#organization",
|
||||
"name": "Частная начальная школа «Декарт» в Щёлково",
|
||||
"description": "Лицензированная начальная школа в Щёлково. Малые классы, углубленная программа, продленка и всестороннее развитие ребенка.",
|
||||
"url": "https://schelkovo.dekart.school/nachalnaya-shkola/",
|
||||
"logo": "https://schelkovo.dekart.school/wp-content/uploads/2025/04/2-1-1.jpg",
|
||||
"image": "https://schelkovo.dekart.school/wp-content/uploads/2023/05/logo-dekart.png",
|
||||
"telephone": "+79303334151",
|
||||
"address": {
|
||||
"@type": "PostalAddress",
|
||||
"streetAddress": "ул. Комсомольская, д. 11",
|
||||
"addressLocality": "Щёлково",
|
||||
"addressRegion": "Московская область",
|
||||
"postalCode": "141109",
|
||||
"addressCountry": "RU"
|
||||
},
|
||||
"geo": {
|
||||
"@type": "GeoCoordinates",
|
||||
"latitude": "55.922123",
|
||||
"longitude": "37.994567"
|
||||
},
|
||||
"openingHoursSpecification": [
|
||||
{
|
||||
"@type": "OpeningHoursSpecification",
|
||||
"dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
|
||||
"opens": "08:00",
|
||||
"closes": "19:00"
|
||||
}
|
||||
],
|
||||
"priceRange": "от 25000 RUB",
|
||||
"knowsAbout": ["Начальное общее образование", "Начальная школа", "Начальные классы", "Подготовка к школе", "Ментальная арифметика", "Английский язык для детей"],
|
||||
"isAccessibleForFree": "false"
|
||||
}
|
||||
]
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
31
wp-content/themes/dekart/page-teachers.php
Normal file
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/*
|
||||
Template Name: Шаблон страницы Наши преподаватели
|
||||
*/
|
||||
?>
|
||||
<?php
|
||||
get_header();
|
||||
$post_id = get_the_ID();
|
||||
?>
|
||||
|
||||
<main class="page-teachers">
|
||||
<?php get_template_part( 'template-parts/block-banner' ); ?>
|
||||
|
||||
<section class="contetn-main_block">
|
||||
<div class="container">
|
||||
<div class="main_content">
|
||||
<?php the_content(); ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php get_template_part( 'template-parts/teachers' ); ?>
|
||||
|
||||
<?php get_template_part( 'template-parts/promo-form' ); ?>
|
||||
|
||||
<?php get_template_part( 'template-parts/map' ); ?>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
134
wp-content/themes/dekart/page-vacancies.php
Normal file
@ -0,0 +1,134 @@
|
||||
<?php
|
||||
/*
|
||||
Template Name: Шаблон страницы Вакансии
|
||||
*/
|
||||
?>
|
||||
<?php
|
||||
get_header();
|
||||
$post_id = get_the_ID();
|
||||
?>
|
||||
<main class="page page-vacancies">
|
||||
<div class="banner container">
|
||||
<nav aria-label="Хлебные крошки">
|
||||
<ul itemscope itemtype="https://schema.org/BreadcrumbList" class="breadcrumbs desktop">
|
||||
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||
<a itemprop="item" href="<?php echo home_url(); ?>/" class="home fa-home" title="Главная страница">
|
||||
<span itemprop="name" style='display:none;'>Главная</span>
|
||||
<svg width="21" height="16" viewBox="0 0 21 16" fill="none">
|
||||
<path d="M11.6473 10.6896H12.1473V11.1896V15.4691H16.4353C16.5143 15.4691 16.5756 15.4462 16.6432 15.3788C16.7108 15.3113 16.7333 15.2505 16.7333 15.1725V9.36976L10.0513 3.8712L3.36922 9.36976V15.1725C3.36922 15.2505 3.39178 15.3113 3.45937 15.3788C3.52698 15.4462 3.5883 15.4691 3.66723 15.4691H7.95527V11.1896V10.6896H8.45527H11.6473ZM10.3711 1.74407L18.9226 8.86174L19.5643 8.09722L16.9141 5.8987L16.7333 5.74874V5.51388V0.537319H14.5413V2.86272V3.93127L13.7209 3.2466L10.6815 0.709949C10.5114 0.572829 10.3095 0.499981 10.0513 0.499981C9.79293 0.499981 9.59094 0.572914 9.42075 0.710194L0.538196 8.09712L1.17996 8.86174L9.73142 1.74407L10.0513 1.47783L10.3711 1.74407Z" fill="white" stroke="white"/>
|
||||
</svg>
|
||||
</a>
|
||||
<meta itemprop="position" content="1" />
|
||||
</li>
|
||||
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||
<span class='last_item' itemprop="name"><?php the_title()?></span>
|
||||
<meta itemprop="position" content="2" />
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="banner-wrapper">
|
||||
<div class="container">
|
||||
<div class="vacancies__banner">
|
||||
<div class="vacancies__banner-left">
|
||||
<h1 class="banner_title" >станьте преподавателем<br> в центре “декарт”</h1>
|
||||
<p class="banner_text">Приглашаем вас присоединиться к педагогической команде “Декарт”. Расскажите нам о своём профессиональном опыте и мы подберём для вас учеников</p>
|
||||
<button class="btn-resume btn-lilac desktop">отправить резюме</button>
|
||||
</div>
|
||||
<div class="vacancies__banner-right">
|
||||
<div class="banner-circle vacancies__banner-circle-1">
|
||||
<span class='main-text-color'>10 лет</span>
|
||||
<span class='main-text'>на рынке<br> образования</span>
|
||||
</div>
|
||||
<div class="banner-circle vacancies__banner-circle-2">
|
||||
<span class='main-text-color'>1500 +</span>
|
||||
<span class='main-text'>учеников<br> подготовили к ЕГЭ</span>
|
||||
</div>
|
||||
<div class="banner-circle vacancies__banner-circle-3">
|
||||
<span class='main-text-color'>2-5 человек</span>
|
||||
<span class='main-text'>маленькие<br> группы</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="advantages-wrapper">
|
||||
<div class="advantages__item">
|
||||
<p class="advantages__item_title">Гибкий график</p>
|
||||
<p class="advantages__item_text">Работай, как удобно тебе</p>
|
||||
</div>
|
||||
<div class="advantages__item">
|
||||
<p class="advantages__item_title">Современное оборудование и хорошая материальная база</p>
|
||||
</div>
|
||||
<div class="advantages__item">
|
||||
<p class="advantages__item_title">Достойные условия оплаты труда</p>
|
||||
<p class="advantages__item_text">возможность подработки</p>
|
||||
</div>
|
||||
<div class="advantages__item">
|
||||
<p class="advantages__item_title">Поддержка от администраторов</p>
|
||||
<p class="advantages__item_text">Поможем с расписанием и учебными группами. Вам останется только преподавать!</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="main_content">
|
||||
<?php the_content(); ?>
|
||||
</div>
|
||||
|
||||
<div class="accordion conteiner-text">
|
||||
<div class="buttons">
|
||||
<a href="#" class="btn-yellow-link btn-write">Связаться с нами</a>
|
||||
</div>
|
||||
<?php
|
||||
|
||||
|
||||
$vacancies = carbon_get_post_meta( $post_id, 'vacancies' );
|
||||
foreach ($vacancies as $item) {
|
||||
$vacancie_name = $item['vacancie_name'];
|
||||
$vacancie_link = $item['vacancie_link'];
|
||||
if ( $vacancie_link != '') $str = "<a href='$vacancie_link' style='display: block;' class='box__accordion_label'>$vacancie_name</a>"; else $str = "<div class='box__accordion_label'>$vacancie_name</div>"
|
||||
?>
|
||||
<div class="vacancie">
|
||||
<?php echo $str; ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="buttons">
|
||||
<a href="#" class="btn-yellow-link btn-write">Связаться с нами</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php get_template_part( 'template-parts/map' ); ?>
|
||||
|
||||
<div class="modal-resume-form" style="display: none;">
|
||||
<div class="form-wrapper">
|
||||
<button class="btn-close-resume-form">
|
||||
<img class="btn-close-resume-form-img" src="<?php echo get_template_directory_uri(); ?>/assets/images/btn-close-modal.svg" alt="кнопка закрыть окно">
|
||||
</button>
|
||||
<?php echo carbon_get_theme_option('site_bitrix_vacancies'); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<script>
|
||||
const modalResumeForm = document.querySelector('.modal-resume-form');
|
||||
|
||||
document.addEventListener('click', (event) => {
|
||||
if (event.target.classList.contains("btn-resume")) {
|
||||
modalResumeForm.style="";
|
||||
return;
|
||||
}
|
||||
if (event.target.classList.contains("btn-close-resume-form-img")) {
|
||||
modalResumeForm.style="display: none;";
|
||||
return;
|
||||
}
|
||||
});
|
||||
|
||||
</script>
|
||||
<?php
|
||||
get_footer();
|
||||
|
||||
24
wp-content/themes/dekart/page.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
get_header();
|
||||
$post_id = get_the_ID();
|
||||
?>
|
||||
<main class="page">
|
||||
|
||||
<?php get_template_part( 'template-parts/block-banner' ); ?>
|
||||
|
||||
<?php //get_template_part( 'template-parts/block-banner-info' ); ?>
|
||||
|
||||
<section class="contetn-main_block">
|
||||
<div class="container">
|
||||
<div class="main_content">
|
||||
<?php the_content(); ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php get_template_part( 'template-parts/map' ); ?>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||