Лагерь: Секция Hero

This commit is contained in:
Dekart Deploy Bot 2026-05-09 11:08:26 +03:00
parent 9aa1d40948
commit b4793836ed
3 changed files with 35 additions and 17 deletions

View File

@ -2233,14 +2233,14 @@ p {
} }
.hero-media-search .heading-1 { .hero-media-search .heading-1 {
letter-spacing: -.56px; font-family: 'Montserrat', sans-serif;
text-align: center; font-weight: 900;
font-size: 2.7rem; font-size: 3.4rem;
font-family: "Montserrat", sans-serif; line-height: 1.05;
font-weight: 800; letter-spacing: -0.04em;
line-height: 1.1;
color: #1c2b2d; color: #1c2b2d;
margin: 0; margin: 0 0 0.5rem 0;
text-align: left;
} }
@media (min-width: 1024px) { @media (min-width: 1024px) {
.hero-media-search .heading-1 { .hero-media-search .heading-1 {
@ -2257,18 +2257,36 @@ p {
} }
.heading-highlight.blue span { color: #39b7ea; } .heading-highlight.blue span { color: #39b7ea; }
.hero-subtitle-brand { .hero-subtitle-brand {
font-family: 'Montserrat', sans-serif;
font-weight: 800;
font-size: 1.72rem;
line-height: 1.15;
letter-spacing: -0.02em;
color: #39b7ea; color: #39b7ea;
font-size: 1.125rem; margin: 0 0 0.6rem 0;
font-family: "Poppins", sans-serif;
font-weight: 900;
line-height: 1.4;
margin: 0;
} }
@media (min-width: 1024px) { @media (min-width: 1024px) {
.hero-subtitle-brand { .hero-subtitle-brand {
font-size: 1.25rem; font-size: 1.72rem;
} }
} }
@media (max-width: 768px) {
.hero-subtitle-brand {
font-size: 2.0rem;
}
.hero-media-search .heading-1 {
font-size: 2.7rem;
}
}
.hero-location {
font-family: 'Montserrat', sans-serif;
font-weight: 600;
font-size: 1.15rem;
color: #5a6a7a;
margin: 0 0 1.2rem 0;
text-align: left;
}
.hero-media-search__content { .hero-media-search__content {
text-align: center; text-align: center;

View File

@ -863,7 +863,7 @@ function enqueue_template_specific_styles() {
'template-specific-style', 'template-specific-style',
get_template_directory_uri() . '/assets/css/camp.css', get_template_directory_uri() . '/assets/css/camp.css',
array(), array(),
'1.0' '1.1'
); );
wp_enqueue_script( wp_enqueue_script(
'camp-script', 'camp-script',
@ -878,7 +878,7 @@ function enqueue_template_specific_styles() {
'template-after-style', 'template-after-style',
get_template_directory_uri() . '/assets/css/after-school.css', get_template_directory_uri() . '/assets/css/after-school.css',
array(), array(),
'1.0' '1.1'
); );
} }
} }

View File

@ -41,9 +41,9 @@ var h=d.getElementsByTagName('script')[0];h.parentNode.insertBefore(s,h);
<div class="hero-media-search__container"> <div class="hero-media-search__container">
<div class="hero-media-search__content"> <div class="hero-media-search__content">
<h1 class="heading-1"> <h1 class="heading-1">
<?php echo esc_html( carbon_get_post_meta( $post_id, 'hero_title_h1' ) ?: 'Лето, которое он запомнит навсегда' ); ?> <?php echo esc_html( carbon_get_post_meta( $post_id, 'hero_title_h1' ) ?: 'Детский лагерь Декарт.' ); ?>
</h1> </h1>
<p class="hero-subtitle-brand"><?php echo esc_html( carbon_get_post_meta( $post_id, 'hero_title_span' ) ?: 'Big Summer Fun!' ); ?></p> <h2 class="hero-subtitle-brand"><?php echo esc_html( carbon_get_post_meta( $post_id, 'hero_title_span' ) ?: 'Яркое лето без забот!' ); ?></h2>
<div class="hero-media-search__propositions on-desktop"> <div class="hero-media-search__propositions on-desktop">
<div class="wrapper__propositions"> <div class="wrapper__propositions">
<?php $icon1 = carbon_get_post_meta( $post_id, 'hero_metric_1_img' ); if ( $icon1 ) : ?> <?php $icon1 = carbon_get_post_meta( $post_id, 'hero_metric_1_img' ); if ( $icon1 ) : ?>