From 2a90b6957ce44572f0071a31e129689dfe60e140 Mon Sep 17 00:00:00 2001 From: "web_103.2" Date: Fri, 16 Oct 2026 12:48:10 +0300 Subject: [PATCH] =?UTF-8?q?task=2017075=20|=20=D1=81=D0=B4=D0=B5=D0=BB?= =?UTF-8?q?=D0=B0=D0=BB=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=20=D1=81=D0=BE?= =?UTF-8?q?=D1=86.=20=D1=81=D0=B5=D1=82=D0=B5=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../themes/hantico/assets/css/style.css | 34 ++++++++++++++++++- wp-content/themes/hantico/single-article.php | 21 ++++++++++++ 2 files changed, 54 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/hantico/assets/css/style.css b/wp-content/themes/hantico/assets/css/style.css index dd5a499..77de592 100644 --- a/wp-content/themes/hantico/assets/css/style.css +++ b/wp-content/themes/hantico/assets/css/style.css @@ -6680,4 +6680,36 @@ h4 { .h-app-steps .h-app-steps__grid{ grid-template-columns: 1fr; } -} \ No newline at end of file +} + +.article-social{ + margin-top: 20px; + + padding: 25px 30px; + background-color: var(--color-light); + border-radius: var(--radius-sm); + + display: flex; + flex-direction: column; + gap: 15px; +} +.article-social__title{ + font-size: var(--fs-h3-sm); + line-height: 1.2; + font-weight: 600; + color: var(--color-dark); +} +.article-social__text{ + font-size: 18px; + line-height: 1.2; +} +.article-social__list{ + display: flex; + gap: 10px; +} +.article-social__list > .footer-socials__item { + flex: 1; + width: auto; + height: 44px; + aspect-ratio: auto; +} diff --git a/wp-content/themes/hantico/single-article.php b/wp-content/themes/hantico/single-article.php index 338ad1b..94d6356 100644 --- a/wp-content/themes/hantico/single-article.php +++ b/wp-content/themes/hantico/single-article.php @@ -19,6 +19,7 @@ $generated = generate_toc($article_content, 'article-content'); $content = $generated['content']; $toc_items = $generated['toc_items']; + $footer_socials = get_field('socials', 'option'); foreach ($article_blocks as $block_index => &$block) { if (($block['acf_fc_layout'] ?? '') !== 'text') { continue; @@ -142,6 +143,26 @@ + +
+

+ Работайте проще и зарабатывайте больше! +

+ +

+ Лайфхаки, полезные инструкции, изменения в правилах и важные новости для водителей и курьеров — в каналах Hantico. +

+ +
+ + VK + + + + Telegram + +
+