First
This commit is contained in:
parent
fd386cfdd5
commit
add9fc0fad
BIN
assets/pasted-20260324-104315-143415a0.jpg
Normal file
BIN
assets/pasted-20260324-104315-143415a0.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 140 KiB |
BIN
assets/pasted-20260324-104827-a261a39f.jpg
Normal file
BIN
assets/pasted-20260324-104827-a261a39f.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 152 KiB |
BIN
assets/vm-shot-2026-03-24T10-43-01-590Z.jpg
Normal file
BIN
assets/vm-shot-2026-03-24T10-43-01-590Z.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 140 KiB |
BIN
assets/vm-shot-2026-03-24T10-48-21-904Z.jpg
Normal file
BIN
assets/vm-shot-2026-03-24T10-48-21-904Z.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 152 KiB |
@ -8,7 +8,7 @@ if (!defined('ABSPATH')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
const COACHING_MVP_TEMPLATE_VERSION = '2.0.0';
|
||||
const COACHING_MVP_TEMPLATE_VERSION = '2.0.1';
|
||||
|
||||
function coaching_mvp_service_catalog() {
|
||||
return [
|
||||
@ -142,21 +142,76 @@ body.coaching-mvp-active .site,
|
||||
body.coaching-mvp-active main {
|
||||
color: var(--coach-text);
|
||||
}
|
||||
body.coaching-mvp-active.page .wp-site-blocks main,
|
||||
body.coaching-mvp-active.home .wp-site-blocks main,
|
||||
body.coaching-mvp-active.blog .wp-site-blocks main,
|
||||
body.coaching-mvp-active.single-post .wp-site-blocks main {
|
||||
--wp--style--global--content-size: min(1220px, calc(100vw - 40px));
|
||||
--wp--style--global--wide-size: min(1380px, calc(100vw - 40px));
|
||||
body.coaching-mvp-active {
|
||||
--coach-page-gutter: 20px;
|
||||
--coach-content-max: 1280px;
|
||||
--coach-wide-max: 1320px;
|
||||
--wp--style--global--content-size: min(var(--coach-content-max), calc(100% - (var(--coach-page-gutter) * 2)));
|
||||
--wp--style--global--wide-size: min(var(--coach-wide-max), calc(100% - (var(--coach-page-gutter) * 2)));
|
||||
}
|
||||
body.coaching-mvp-active .wp-block-post-content,
|
||||
body.coaching-mvp-active .wp-block-query,
|
||||
body.coaching-mvp-active .wp-block-group {
|
||||
width: 100%;
|
||||
}
|
||||
body.coaching-mvp-active .wp-block-post-content.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
|
||||
body.coaching-mvp-active .coach-home-page.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
|
||||
max-width: var(--wp--style--global--content-size);
|
||||
body.coaching-mvp-active main.wp-block-group.has-global-padding,
|
||||
body.coaching-mvp-active .entry-content.wp-block-post-content.has-global-padding,
|
||||
body.coaching-mvp-active .coach-home-page,
|
||||
body.coaching-mvp-active .coach-shell,
|
||||
body.coaching-mvp-active .coach-shell > .wp-block-group__inner-container,
|
||||
body.coaching-mvp-active .coach-section > .wp-block-group__inner-container {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
body.coaching-mvp-active main.wp-block-group.has-global-padding,
|
||||
body.coaching-mvp-active .entry-content.wp-block-post-content.has-global-padding {
|
||||
padding-left: var(--coach-page-gutter) !important;
|
||||
padding-right: var(--coach-page-gutter) !important;
|
||||
}
|
||||
body.coaching-mvp-active main > .wp-block-group.alignfull.has-global-padding {
|
||||
margin-left: 0 !important;
|
||||
margin-right: 0 !important;
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
body.coaching-mvp-active .entry-content.wp-block-post-content.has-global-padding {
|
||||
max-width: none !important;
|
||||
}
|
||||
body.coaching-mvp-active .entry-content.alignfull.wp-block-post-content.has-global-padding {
|
||||
width: 100% !important;
|
||||
margin-left: 0 !important;
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
body.coaching-mvp-active .coach-home-page,
|
||||
body.coaching-mvp-active .coach-shell,
|
||||
body.coaching-mvp-active .coach-shell > .wp-block-group__inner-container {
|
||||
width: min(100%, var(--coach-content-max));
|
||||
max-width: var(--coach-content-max);
|
||||
margin-left: auto !important;
|
||||
margin-right: auto !important;
|
||||
}
|
||||
body.coaching-mvp-active .coach-home-page > .wp-block-group__inner-container,
|
||||
body.coaching-mvp-active .coach-shell > .wp-block-group__inner-container,
|
||||
body.coaching-mvp-active .coach-section > .wp-block-group__inner-container {
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
body.coaching-mvp-active .coach-home-page > .wp-block-group__inner-container > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
|
||||
body.coaching-mvp-active .coach-shell > .wp-block-group__inner-container > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
|
||||
body.coaching-mvp-active .coach-section > .wp-block-group__inner-container > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
|
||||
body.coaching-mvp-active .coach-home-page > .wp-block-group__inner-container > .alignwide,
|
||||
body.coaching-mvp-active .coach-shell > .wp-block-group__inner-container > .alignwide,
|
||||
body.coaching-mvp-active .coach-section > .wp-block-group__inner-container > .alignwide,
|
||||
body.coaching-mvp-active .coach-hero,
|
||||
body.coaching-mvp-active .coach-section,
|
||||
body.coaching-mvp-active .coach-stats-grid {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
margin-left: 0 !important;
|
||||
margin-right: 0 !important;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
body.coaching-mvp-active .wp-site-blocks {
|
||||
overflow-x: clip;
|
||||
}
|
||||
body.coaching-mvp-active header.wp-block-template-part {
|
||||
position: sticky;
|
||||
@ -166,6 +221,16 @@ body.coaching-mvp-active header.wp-block-template-part {
|
||||
background: rgba(255,255,255,.78);
|
||||
border-bottom: 1px solid rgba(20,32,51,.06);
|
||||
}
|
||||
body.coaching-mvp-active header.wp-block-template-part .wp-block-group.has-global-padding.is-layout-constrained {
|
||||
padding-left: var(--coach-page-gutter) !important;
|
||||
padding-right: var(--coach-page-gutter) !important;
|
||||
}
|
||||
body.coaching-mvp-active header.wp-block-template-part .wp-block-group.alignwide {
|
||||
width: min(calc(100% - (var(--coach-page-gutter) * 2)), var(--coach-content-max));
|
||||
max-width: var(--coach-content-max);
|
||||
margin-left: auto !important;
|
||||
margin-right: auto !important;
|
||||
}
|
||||
body.coaching-mvp-active .wp-block-site-title a,
|
||||
body.coaching-mvp-active .wp-block-navigation a,
|
||||
body.coaching-mvp-active .wp-block-navigation-item__content {
|
||||
@ -355,6 +420,15 @@ body.coaching-mvp-active h4 {
|
||||
.coach-hero-shell {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
width: 100%;
|
||||
max-width: 35rem;
|
||||
margin-left: auto;
|
||||
}
|
||||
.coach-hero .wp-block-columns {
|
||||
gap: clamp(1.4rem, 3.2vw, 3rem);
|
||||
}
|
||||
.coach-hero .wp-block-column {
|
||||
min-width: 0;
|
||||
}
|
||||
.coach-system-card h3,
|
||||
.coach-service-card h3,
|
||||
@ -560,8 +634,8 @@ function coaching_mvp_home_content() {
|
||||
<div class="wp-block-group alignwide coach-hero">
|
||||
<!-- wp:columns {"verticalAlignment":"center"} -->
|
||||
<div class="wp-block-columns are-vertically-aligned-center">
|
||||
<!-- wp:column {"verticalAlignment":"center","width":"58%"} -->
|
||||
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:58%">
|
||||
<!-- wp:column {"verticalAlignment":"center","width":"54%"} -->
|
||||
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:54%">
|
||||
<!-- wp:paragraph {"className":"coach-eyebrow"} -->
|
||||
<p class="coach-eyebrow">Premium Coaching Template • Booking-first architecture</p>
|
||||
<!-- /wp:paragraph -->
|
||||
@ -585,8 +659,8 @@ function coaching_mvp_home_content() {
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"verticalAlignment":"center","width":"42%"} -->
|
||||
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:42%">
|
||||
<!-- wp:column {"verticalAlignment":"center","width":"46%"} -->
|
||||
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:46%">
|
||||
<!-- wp:html -->
|
||||
<div class="coach-hero-shell coach-stack">
|
||||
<div class="coach-quote-card">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user