Compare commits

..
Author SHA1 Message Date
web_103.2 d8a15dbe03 task 17081 | сдела чтобы hero брало другое значение, если нет новых 2026-10-23 17:08:20 +03:00
web_103.2 0650202e22 task 17081 | заменил шаблоны 2026-10-23 14:20:43 +03:00
web_103.2 e833705e6d task 17081 | сделал Блог (Хабовая страница) 2026-10-23 14:14:29 +03:00
web_103.2 07a4f5b19d task 17081 | пределал часть натяжки блоков с requirements по specs 2026-10-23 13:58:48 +03:00
web_103.2 ecc5a1b12a task 17081 | пределал часть натяжки блоков с hero по scheme 2026-10-23 13:21:31 +03:00
web_103.2 7fad136ff1 task 17081 | сделал "Выберите подходящий формат" 2026-10-23 12:11:58 +03:00
web_103.2 42c29094c6 task 17081 | сделал "Какие заказы доступны" 2026-10-23 11:51:40 +03:00
web_103.2 5026edff9b task 17081 | сделал Сервисы, с которыми работаем 2026-10-23 11:18:33 +03:00
web_103.2 9bfa42928c task 17291 | Вам также может понравиться - в одну линию 2026-10-23 10:38:50 +03:00
web_103.2 68743cb344 task 17291 | починил hero img 2026-10-23 10:26:33 +03:00
web_103.2 4dfd7ded50 task 17291 | починил содержание 2026-10-23 10:24:16 +03:00
web_103.2 3fc4e05c22 task 17075 | изменил цвета 2026-10-22 18:48:26 +03:00
web_103.2 4f0d9d2c1d task 17075 | закончил верстку 2026-10-22 18:41:54 +03:00
web_103.2 94f0247bf8 task 17075 | исправил крошки 2026-10-22 18:41:12 +03:00
web_103.2 dd612eac43 task 17075 | переделал article-intro 2026-10-22 18:38:29 +03:00
web_103.2 a2fde2a193 task 17075 | переделал socials 2026-10-22 17:35:24 +03:00
web_103.2 f2f88c3520 task 17075 | переделал rticle-social 2026-10-22 14:55:42 +03:00
web_103.2 5896fc06c4 task 17075 | сделал натяжку h-app-steps 2026-10-22 14:42:29 +03:00
web_103.2 e619374cef task 17075 | переделал h-app-steps 2026-10-22 14:32:57 +03:00
web_103.2 71140a7437 task 17075 | починил ссылку в h-article-app-cta 2026-10-22 13:15:14 +03:00
web_103.2 a628f5ced7 task 17075 | переделал h-article-app-cta 2026-10-22 13:12:08 +03:00
web_103.2 7276d6af44 task 17075 | переделал h-article-cta 2026-10-22 12:41:26 +03:00
web_103.2 b9ad461abe task 17075 | переделал h-attention 2026-10-22 11:09:48 +03:00
web_103.2 ee73d51a36 task 17075 | переделал h-article-quote 2026-10-22 10:45:32 +03:00
web_103.2 b86e5a7c55 task 17075 | переделал h-article-cards 2026-10-22 10:13:40 +03:00
web_103.2 f79548db46 task 17291 | установил метки + метрику 2026-10-20 18:41:13 +03:00
web_103.2 68ef50a3d9 task 17291 | заменил метки метрики 2026-10-20 18:39:36 +03:00
web_103.2 3e62e846fd task 17075 | внес правки от 16.10 2026-10-16 19:32:13 +03:00
web_103.2 9ab584cba5 task 17075 | реализовал микроразметку 2026-10-16 16:39:18 +03:00
web_103.2 9fa68481da task 17075 | реализовал логику изменения url и кнопки в blog 2026-10-16 16:16:51 +03:00
web_103.2 3b38f35be6 task 17075 | доделал адаптив 2026-10-16 13:31:16 +03:00
web_103.2 2e54c26224 task 17075 | сделал подсчет времени чтения 2026-10-16 12:54:08 +03:00
web_103.2 2a90b6957c task 17075 | сделал вывод соц. сетей 2026-10-16 12:48:10 +03:00
web_103.2 6edf5d69bd task 17075 | сделал блоки для блога 2026-10-16 12:34:53 +03:00
web_103.2 73a51cf6f4 task 17075 | сделал подсчет просмотров в статье 2026-10-15 16:41:06 +03:00
web_103.2 9e21c34547 task 17075 | сделал основу для первого блока 2026-10-15 16:35:06 +03:00
8 changed files with 36 additions and 35 deletions

No files matched your search

+10 -8
View File
@@ -339,16 +339,18 @@ function theme_yandex_metrika() {
?> ?>
<!-- Yandex.Metrika counter --> <!-- Yandex.Metrika counter -->
<script type="text/javascript"> <script type="text/javascript">
(function(m,e,t,r,i,k,a){ (function (m, e, t, r, i, k, a) {
m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)}; m = mfunction(){ (m.a = m.a[]).push(arguments) };
m[i].l=1*new Date(); m.l = 1 * new Date();
for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }} 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) 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?id=113689913', 'ym'); })(window, document, 'script', 'https://mc.yandex.ru/metrika/tag.js?id=113689913', 'ym');
ym(113689913, 'init', {ssr:true, webvisor:true, clickmap:true, ecommerce:"dataLayer", referrer: document.referrer, url: location.href, accurateTrackBounce:true, trackLinks:true}); ym(113689913, 'init', { ssr: true, webvisor: true, clickmap: true, ecommerce: "dataLayer", referrer: document.referrer, url: location.href, accurateTrackBounce: true, trackLinks: true });
</script> </script>
<noscript><div><img src="https://mc.yandex.ru/watch/113689913" style="position:absolute; left:-9999px;" alt="" /></div></noscript> <noscript>
<div><img src="https://mc.yandex.ru/watch/113689913" style="position:absolute; left:-9999px;" alt="" /></div>
</noscript>
<!-- /Yandex.Metrika counter --> <!-- /Yandex.Metrika counter -->
<?php } <?php }
add_action('wp_head', 'theme_yandex_metrika', 1); add_action('wp_head', 'theme_yandex_metrika', 1);
+1 -1
View File
@@ -1 +1 @@
<?php get_template_part('templates/template-courier'); ?> <?php get_template_part('templates/template-audience'); ?>
+1 -1
View File
@@ -1 +1 @@
<?php get_template_part('templates/template-driver'); ?> <?php get_template_part('templates/template-audience'); ?>
@@ -1,11 +1,16 @@
<?php <?php
$page_id = get_queried_object_id(); if (is_singular('driver')) {
$page_id = 76;
} elseif (is_singular('courier')) {
$page_id = 78;
} else {
$page_id = get_the_ID();
}
$audience = get_field('hero_audience', $page_id); $audience = get_field('hero_audience');
$order_type = get_field('hero_type', $page_id); $order_type = get_field('hero_type');
$hero_title = get_field('hero_title', $page_id);
$hero_descr = get_field('hero_descr', $page_id);
$hero_img = get_field('hero_img', $page_id);
$hero_features = get_field('hero_features', 'option'); $hero_features = get_field('hero_features', 'option');
$hero_scroller = get_field('hero_scroller', 'option'); $hero_scroller = get_field('hero_scroller', 'option');
$hero_stores = get_field('download', 'option'); $hero_stores = get_field('download', 'option');
@@ -19,12 +24,12 @@
<h1 class="hero-title"><?php <h1 class="hero-title"><?php
echo $audience echo $audience
? 'Приложение для ' . esc_html($audience) ? 'Приложение для ' . esc_html($audience)
: wp_kses_post($hero_title); : wp_kses_post(get_field('hero_title'));
?></h1> ?></h1>
<div class="hero-descr"><?php <div class="hero-descr"><?php
echo $order_type echo $order_type
? 'Скачай Hantico и начни получать заказы ' . esc_html($order_type) . ' уже завтра!' ? 'Скачай Hantico и начни получать заказы ' . esc_html($order_type) . ' уже завтра!'
: wp_kses_post($hero_descr); : wp_kses_post(get_field('hero_descr'));
?></div> ?></div>
<div class="hero-buttons"> <div class="hero-buttons">
<a href="<?php echo get_permalink(87); ?>" class="hero-buttons__download-btn btn btn--lg btn--red">Скачать приложение</a> <a href="<?php echo get_permalink(87); ?>" class="hero-buttons__download-btn btn btn--lg btn--red">Скачать приложение</a>
@@ -14,14 +14,6 @@
$this_page_id = get_the_ID(); $this_page_id = get_the_ID();
$calculator_type = get_field('calculator_type', $this_page_id);
if (is_array($calculator_type)) {
$calculator_type = $calculator_type['value'] ?? '';
}
if (!in_array($calculator_type, array('taxi', 'courier', 'cargo'), true)) {
$calculator_type = '';
}
$selected_type = $calculator_type ?: ($is_courier ? 'courier' : ($is_cargo ? 'cargo' : 'taxi'));
$calculator_title = get_field('calculator_title', $this_page_id); $calculator_title = get_field('calculator_title', $this_page_id);
$income_title = $calculator_title $income_title = $calculator_title
? 'Калькулятор дохода ' . esc_html($calculator_title) ? 'Калькулятор дохода ' . esc_html($calculator_title)
@@ -35,20 +27,20 @@
<?php if (!$calculator_title && $income_descr) : ?> <?php if (!$calculator_title && $income_descr) : ?>
<div class="income-descr section-descr"><?php echo $income_descr; ?></div> <div class="income-descr section-descr"><?php echo $income_descr; ?></div>
<?php endif; ?> <?php endif; ?>
<form class="income-calc<?php if ($calculator_type || $is_driver || $is_courier || $is_cargo) echo ' income-calc--single'; ?>"> <form class="income-calc<?php if ($is_driver || $is_courier || $is_cargo) echo ' income-calc--single'; ?>">
<div class="income-calc__top"> <div class="income-calc__top">
<fieldset class="income-calc__types"> <fieldset class="income-calc__types">
<legend class="visually-hidden">Тип занятости</legend> <legend class="visually-hidden">Тип занятости</legend>
<label class="income-calc__type income-calc__type--taxi"> <label class="income-calc__type income-calc__type--taxi">
<input class="income-calc__type-input js-calc-type" type="radio" name="work_type" value="taxi"<?php if ($selected_type === 'taxi') echo ' checked'; ?>> <input class="income-calc__type-input js-calc-type" type="radio" name="work_type" value="taxi"<?php if (!$is_courier && !$is_cargo) echo ' checked'; ?>>
<span class="income-calc__type-label">Такси</span> <span class="income-calc__type-label">Такси</span>
</label> </label>
<label class="income-calc__type income-calc__type--courier"> <label class="income-calc__type income-calc__type--courier">
<input class="income-calc__type-input js-calc-type" type="radio" name="work_type" value="courier"<?php if ($selected_type === 'courier') echo ' checked'; ?>> <input class="income-calc__type-input js-calc-type" type="radio" name="work_type" value="courier"<?php if ($is_courier) echo ' checked'; ?>>
<span class="income-calc__type-label">Курьер</span> <span class="income-calc__type-label">Курьер</span>
</label> </label>
<label class="income-calc__type income-calc__type--cargo"> <label class="income-calc__type income-calc__type--cargo">
<input class="income-calc__type-input js-calc-type" type="radio" name="work_type" value="cargo"<?php if ($selected_type === 'cargo') echo ' checked'; ?>> <input class="income-calc__type-input js-calc-type" type="radio" name="work_type" value="cargo"<?php if ($is_cargo) echo ' checked'; ?>>
<span class="income-calc__type-label">Грузоперевозки</span> <span class="income-calc__type-label">Грузоперевозки</span>
</label> </label>
</fieldset> </fieldset>
@@ -1,6 +1,6 @@
<?php <?php
/* /*
Template Name: {Аудитория} Template Name: Аудитория
*/ */
?> ?>
@@ -9,17 +9,19 @@ Template Name: Курьерам
<main class="main"> <main class="main">
<?php get_template_part('template-parts/hero'); ?> <?php get_template_part('template-parts/audience/hero'); ?>
<?php get_template_part('template-parts/services'); ?> <?php get_template_part('template-parts/courier-services'); ?>
<?php get_template_part('template-parts/income'); ?> <?php get_template_part('template-parts/income'); ?>
<?php get_template_part('template-parts/advantages'); ?> <?php get_template_part('template-parts/advantages'); ?>
<?php get_template_part('template-parts/delivery-orders'); ?>
<?php get_template_part('template-parts/payments'); ?>
<?php get_template_part('template-parts/scheme'); ?> <?php get_template_part('template-parts/scheme'); ?>
<?php get_template_part('template-parts/requirements'); ?> <?php get_template_part('template-parts/requirements'); ?>
<?php get_template_part('template-parts/cities'); ?> <?php get_template_part('template-parts/formats'); ?>
<?php get_template_part('template-parts/reviews'); ?> <?php get_template_part('template-parts/reviews'); ?>
<?php get_template_part('template-parts/faq'); ?> <?php get_template_part('template-parts/faq'); ?>
<?php get_template_part('template-parts/jobs'); ?>
<?php get_template_part('template-parts/getapp'); ?> <?php get_template_part('template-parts/getapp'); ?>
<?php get_template_part('template-parts/related'); ?>
<?php get_template_part('template-parts/specs'); ?> <?php get_template_part('template-parts/specs'); ?>
</main> </main>
@@ -9,7 +9,7 @@ Template Name: Аудитория
<main class="main"> <main class="main">
<?php get_template_part('template-parts/audience/hero'); ?> <?php get_template_part('template-parts/hero'); ?>
<?php get_template_part('template-parts/work'); ?> <?php get_template_part('template-parts/work'); ?>
<?php get_template_part('template-parts/advantages'); ?> <?php get_template_part('template-parts/advantages'); ?>
<?php get_template_part('template-parts/scheme'); ?> <?php get_template_part('template-parts/scheme'); ?>