shkola/wp-content/themes/dekart/template-parts/pksh/how-it-works.php
2026-07-18 16:05:15 +00:00

122 lines
4.9 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

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

<?php
/**
* Как проходят занятия + почему родители выбирают нас + answer-блок AI
* .bento .pksh-section #how-it-works
*
* @package Dekart
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
$data = Pksh_Data::instance();
$city_clean = $data->get_city_clean();
$city_prep = $data->get_city_prep();
$answer = $data->get_geo_answer_howitworks();
$q3 = $data->get_geo_question_3();
$hero_img_id = $data->get_banner_image_id();
?>
<section class="bento pksh-section" id="how-it-works" aria-label="Как проходят занятия">
<div class="bento__full section-header--left">
<span class="bento-label">Как проходят занятия</span>
<h2 class="bento-h2">30 минут игры — 1 шаг к школе</h2>
<p class="bento-p">Каждое занятие построено так, что ребёнок <strong>сам хочет</strong> вернуться. Без скучных прописей — только игровая методика и смена активностей каждые 7 минут.</p>
</div>
<div class="bento__split">
<div class="bento__half bento-card bento-card--soft">
<h2 class="bento-h2">Каждый урок — мини-путешествие</h2>
<p class="bento-p">Ребёнок не сидит за партой 30 минут. Мы меняем активность каждые 7 минут — мозг не устаёт, интерес не гаснет.</p>
<div class="steps-3">
<div class="step">
<div class="step__icon">
<svg class="step-icon" aria-hidden="true"><use href="#icon-check"/></svg>
</div>
<div>
<strong>Вход в тему</strong>
<span>Короткая история или загадка — включаем интерес</span>
</div>
</div>
<div class="step">
<div class="step__icon">
<svg class="step-icon" aria-hidden="true"><use href="#icon-document"/></svg>
</div>
<div>
<strong>Игровое задание</strong>
<span>Чтение, счёт, логика — через механику игры</span>
</div>
</div>
<div class="step">
<div class="step__icon">
<svg class="step-icon" aria-hidden="true"><use href="#icon-clock"/></svg>
</div>
<div>
<strong>Рефлексия</strong>
<span>Ребёнок сам рассказывает, чему научился</span>
</div>
</div>
</div>
</div>
<div class="bento__half bento-card bento-card--objections">
<h2 class="bento-h2">Три главных вопроса — честные ответы</h2>
<p class="bento-p">Мы не обещаем чуда — мы даём системную подготовку к школе, которую <strong>видят учителя</strong> в первую же неделю.</p>
<div class="objection-list">
<div class="objection-item">
<div class="objection-item__icon">
<svg aria-hidden="true" width="24" height="24"><use href="#icon-check-circle"/></svg>
</div>
<div>
<strong>Не перегрузят ли ребёнка?</strong>
<p>Занятия по 3040 минут. Каждые 7 минут — смена активности. Ребёнок не устаёт.</p>
</div>
</div>
<div class="objection-item">
<div class="objection-item__icon">
<svg aria-hidden="true" width="24" height="24"><use href="#icon-calendar"/></svg>
</div>
<div>
<strong>Успеем ли до сентября?</strong>
<p>Да. Наша программа рассчитана на 46 месяцев. Первые результаты — через 3 недели.</p>
</div>
</div>
<div class="objection-item">
<div class="objection-item__icon">
<svg aria-hidden="true" width="24" height="24"><use href="#icon-coin"/></svg>
</div>
<div>
<strong>Дорого?</strong>
<p>От <?php echo esc_html( $data->get_premium_program()['price_single'] ); ?> за занятие. Первое — бесплатно.</p>
</div>
</div>
</div>
</div>
</div>
<?php if ( '' !== $q3 ) : ?>
<div class="bento__full">
<h3 class="bento-h3 geo-answer-heading"><?php echo esc_html( $q3 ); ?></h3>
</div>
<?php endif; ?>
<?php if ( '' !== $answer ) : ?>
<div class="bento__full">
<div class="geo-answer-block geo-answer-block--with-img">
<?php if ( $hero_img_id ) : ?>
<div class="geo-answer-block__img-wrap">
<?php echo wp_get_attachment_image( $hero_img_id, 'medium', false, array(
'class' => 'geo-answer-block__img',
'loading' => 'lazy',
'decoding' => 'async',
'alt' => 'Подготовка к школе — занятия для детей 57 лет',
) ); ?>
</div>
<?php endif; ?>
<div class="geo-answer-block__text">
<p class="bento-p geo-answer-text"><?php echo wp_kses_post( $answer ); ?></p>
</div>
</div>
</div>
<?php endif; ?>
</section>