Revert to version 026c241

This commit is contained in:
Flatlogic Bot 2026-03-26 16:22:49 +00:00
parent 35e80370d9
commit 0edca48101
4 changed files with 298 additions and 56 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

View File

@ -0,0 +1,6 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M8.5 4H6C4.89543 4 4 4.89543 4 6V20C4 21.1046 4.89543 22 6 22H12" stroke="#1C3434" stroke-width="2" stroke-linecap="round"/>
<path d="M15.5 4H18C19.1046 4 20 4.89543 20 6V15" stroke="#1C3434" stroke-width="2" stroke-linecap="round"/>
<path d="M8 6.4V4.5C8 4.22386 8.22386 4 8.5 4C8.77614 4 9.00422 3.77604 9.05152 3.50398C9.19968 2.65171 9.77399 1 12 1C14.226 1 14.8003 2.65171 14.9485 3.50398C14.9958 3.77604 15.2239 4 15.5 4C15.7761 4 16 4.22386 16 4.5V6.4C16 6.73137 15.7314 7 15.4 7H8.6C8.26863 7 8 6.73137 8 6.4Z" stroke="#1C3434" stroke-width="2" stroke-linecap="round"/>
<path d="M15.5 20.5L17.5 22.5L22.5 17.5" stroke="#1C3434" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 814 B

214
fix_home_block6.py Normal file
View File

@ -0,0 +1,214 @@
import re
with open('home_content.html', 'r', encoding='utf-8') as f:
content = f.read()
old_block_pattern = re.compile(r'<!-- KMC SIXTH SECTION START -->.*?<!-- KMC SIXTH SECTION END -->', re.DOTALL)
new_block = """<!-- KMC SIXTH SECTION START -->
<style>
.kmc-sixth-section{
background:#F8F7F3;
padding:110px 0 122px;
}
.kmc-sixth-wrap{
width:min(1320px, calc(100% - 72px));
margin:0 auto;
display:grid;
grid-template-columns:minmax(0,1fr) minmax(0,1fr);
gap:56px;
align-items:start;
}
.kmc-sixth-title{
margin:0;
font-family:'Cardo',serif;
font-size:clamp(46px, 4.5vw, 64px) !important;
font-weight:700;
line-height:1.15;
color:#1C3434;
letter-spacing:-0.01em;
max-width:620px;
}
.kmc-sixth-text{
margin:30px 0 0;
font-family:'Cardo',serif;
font-size:clamp(22px, 2vw, 30px) !important;
font-weight:700;
line-height:1.3;
color:#1C3434;
max-width:720px;
}
.kmc-sixth-actions{
margin-top:44px;
display:flex;
align-items:center;
gap:28px;
flex-wrap:wrap;
}
.kmc-sixth-cta{
display:inline-flex !important;
align-items:center;
gap:14px;
padding:8px 8px 8px 24px !important;
border-radius:999px;
background:#1C3434;
color:#FFFFFF;
text-decoration:none;
font-family:'Inter',sans-serif;
font-size:18px !important;
font-weight:700;
line-height:1 !important;
min-height:0 !important;
}
.kmc-sixth-cta:hover{color:#FFFFFF;opacity:.95;}
.kmc-sixth-cta-circle {
width:42px !important;
height:42px !important;
border-radius:50%;
background:#90F1AE;
display:inline-flex;
align-items:center;
justify-content:center;
color:#1C3434;
flex:0 0 42px !important;
}
.kmc-sixth-cta-circle svg { display:block; width:20px; height:20px; }
.kmc-sixth-link{
display:inline-flex !important;
align-items:center;
gap:10px;
text-decoration:none;
font-family:'Inter',sans-serif;
font-size:18px !important;
font-weight:600;
line-height:1.2 !important;
color:#1C3434;
padding:0 !important;
}
.kmc-sixth-link:hover{opacity:.85;}
.kmc-sixth-link-arrow{
display:inline-flex;
align-items:center;
justify-content:center;
}
.kmc-sixth-link-arrow svg { display:block; width:20px; height:20px; stroke:#1C3434; }
.kmc-sixth-cards{
display:flex;
flex-direction:column;
gap:24px;
}
.kmc-sixth-card{
display:flex !important;
align-items:flex-start !important;
gap:24px;
background:#F0EEE9;
border:1px solid rgba(28,52,52,.08);
border-radius:32px;
padding:36px;
box-sizing:border-box;
min-height:0 !important;
}
.kmc-sixth-icon{
width:48px !important;
height:48px !important;
border-radius:50%;
background:#90F1AE;
display:inline-flex;
align-items:center;
justify-content:center;
color:#1C3434;
flex:0 0 48px !important;
}
.kmc-sixth-icon svg { display:block; width:24px; height:24px; stroke:#1C3434; }
.kmc-sixth-card p{
margin:0;
font-family:'Inter',sans-serif;
font-size:22px !important;
font-weight:400;
line-height:1.5 !important;
color:rgba(1,1,1,.8);
}
@media (max-width: 1260px){
.kmc-sixth-wrap{width:min(1320px, calc(100% - 56px));gap:42px;}
.kmc-sixth-card{padding:28px; gap:20px;}
}
@media (max-width: 1024px){
.kmc-sixth-section{padding:88px 0 96px;}
.kmc-sixth-wrap{grid-template-columns:1fr;gap:48px;}
.kmc-sixth-title{max-width:100%;}
.kmc-sixth-text{max-width:none;}
}
@media (max-width: 680px){
.kmc-sixth-section{padding:72px 0 80px;}
.kmc-sixth-wrap{width:calc(100% - 32px);gap:36px;}
.kmc-sixth-actions{margin-top:32px;gap:20px;flex-direction:column;align-items:flex-start;}
.kmc-sixth-cta{padding:6px 6px 6px 20px !important;font-size:16px !important;}
.kmc-sixth-cta-circle {width:36px !important;height:36px !important;flex-basis:36px !important;}
.kmc-sixth-cta-circle svg {width:18px;height:18px;}
.kmc-sixth-link{font-size:16px !important;}
.kmc-sixth-card{border-radius:24px;padding:24px;gap:16px;}
.kmc-sixth-card p{font-size:18px !important;line-height:1.45 !important;}
.kmc-sixth-icon {width:40px !important;height:40px !important;flex-basis:40px !important;}
.kmc-sixth-icon svg {width:20px;height:20px;}
}
</style>
<section class="kmc-sixth-section" aria-labelledby="kmc-sixth-heading">
<div class="kmc-sixth-wrap">
<div class="kmc-sixth-left">
<h2 id="kmc-sixth-heading" class="kmc-sixth-title">Sample Outcomes Clients Seek</h2>
<p class="kmc-sixth-text">As your coach and transformation partner, our results are driven by who you're being, not the tactics your doing. Success demands total commitment to achieving the impossible.</p>
<div class="kmc-sixth-actions">
<a class="kmc-sixth-cta" href="https://calendly.com/ktmckeand/coaching-assessment" aria-label="Schedule an assessment">
<span>Schedule an assessment</span>
<span class="kmc-sixth-cta-circle" aria-hidden="true">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"></path><path d="m12 5 7 7-7 7"></path></svg>
</span>
</a>
<a class="kmc-sixth-link" href="/pricing/" aria-label="View coaching options">
<span>View coaching options</span>
<span class="kmc-sixth-link-arrow" aria-hidden="true">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"></path><path d="m12 5 7 7-7 7"></path></svg>
</span>
</a>
</div>
</div>
<div class="kmc-sixth-cards" role="list" aria-label="Sample outcomes">
<article class="kmc-sixth-card" role="listitem">
<span class="kmc-sixth-icon" aria-hidden="true">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>
</span>
<p>Executive Reinvention, driven by ontological changes</p>
</article>
<article class="kmc-sixth-card" role="listitem">
<span class="kmc-sixth-icon" aria-hidden="true">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>
</span>
<p>Working with a team of people to achieve what is considered impossible today</p>
</article>
<article class="kmc-sixth-card" role="listitem">
<span class="kmc-sixth-icon" aria-hidden="true">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>
</span>
<p>Identify your winning strategy and whats holding you back from leading a team to achieve the impossible</p>
</article>
</div>
</div>
</section>
<!-- KMC SIXTH SECTION END -->"""
new_content = old_block_pattern.sub(new_block, content)
with open('home_content.html', 'w', encoding='utf-8') as f:
f.write(new_content)
print("Block 6 replaced.")

View File

@ -971,7 +971,7 @@ body { background: #1C3434; }
<style> <style>
.kmc-sixth-section{ .kmc-sixth-section{
background:#F7F6F3; background:#F8F7F3;
padding:110px 0 122px; padding:110px 0 122px;
} }
.kmc-sixth-wrap{ .kmc-sixth-wrap{
@ -985,7 +985,7 @@ body { background: #1C3434; }
.kmc-sixth-title{ .kmc-sixth-title{
margin:0; margin:0;
font-family:'Cardo',serif; font-family:'Cardo',serif;
font-size:46px; font-size:clamp(46px, 4.5vw, 64px) !important;
font-weight:700; font-weight:700;
line-height:1.15; line-height:1.15;
color:#1C3434; color:#1C3434;
@ -995,9 +995,9 @@ body { background: #1C3434; }
.kmc-sixth-text{ .kmc-sixth-text{
margin:30px 0 0; margin:30px 0 0;
font-family:'Cardo',serif; font-family:'Cardo',serif;
font-size:34px; font-size:clamp(22px, 2vw, 30px) !important;
font-weight:700; font-weight:700;
line-height:1.25; line-height:1.3;
color:#1C3434; color:#1C3434;
max-width:720px; max-width:720px;
} }
@ -1009,136 +1009,158 @@ body { background: #1C3434; }
flex-wrap:wrap; flex-wrap:wrap;
} }
.kmc-sixth-cta{ .kmc-sixth-cta{
display:inline-flex; display:inline-flex !important;
align-items:center; align-items:center;
gap:14px; gap:14px;
padding:6px 6px 6px 24px; padding:8px 8px 8px 24px !important;
min-height:58px;
border-radius:999px; border-radius:999px;
background:#1C3434; background:#1C3434;
color:#FFFFFF; color:#FFFFFF;
text-decoration:none; text-decoration:none;
font-family:'Inter',sans-serif; font-family:'Inter',sans-serif;
font-size:22px; font-size:18px !important;
font-weight:600; font-weight:700;
line-height:1; line-height:1 !important;
min-height:0 !important;
} }
.kmc-sixth-cta:hover{color:#FFFFFF;opacity:.95;} .kmc-sixth-cta:hover{color:#FFFFFF;opacity:.95;}
.kmc-sixth-cta-circle, .kmc-sixth-cta-circle {
.kmc-sixth-icon{ width:42px !important;
width:46px; height:42px !important;
height:46px;
border-radius:50%; border-radius:50%;
background:#90F1AE; background:#90F1AE;
display:inline-flex; display:inline-flex;
align-items:center; align-items:center;
justify-content:center; justify-content:center;
color:#1C3434; color:#1C3434;
flex:0 0 46px; flex:0 0 42px !important;
font-family:'Inter',sans-serif;
font-size:22px;
font-weight:700;
line-height:1;
} }
.kmc-sixth-cta-circle svg { display:block; width:20px; height:20px; }
.kmc-sixth-link{ .kmc-sixth-link{
display:inline-flex; display:inline-flex !important;
align-items:center; align-items:center;
gap:10px; gap:10px;
text-decoration:none; text-decoration:none;
font-family:'Inter',sans-serif; font-family:'Inter',sans-serif;
font-size:22px; font-size:18px !important;
font-weight:500; font-weight:600;
line-height:1.2; line-height:1.2 !important;
color:#1C3434; color:#1C3434;
padding:0 !important;
} }
.kmc-sixth-link:hover{opacity:.85;} .kmc-sixth-link:hover{opacity:.85;}
.kmc-sixth-link-arrow{ .kmc-sixth-link-arrow{
font-size:22px; display:inline-flex;
font-weight:700; align-items:center;
line-height:1; justify-content:center;
} }
.kmc-sixth-link-arrow svg { display:block; width:20px; height:20px; stroke:#1C3434; }
.kmc-sixth-cards{ .kmc-sixth-cards{
display:flex; display:flex;
flex-direction:column; flex-direction:column;
gap:18px; gap:24px;
} }
.kmc-sixth-card{ .kmc-sixth-card{
display:flex; display:flex !important;
align-items:flex-start; align-items:flex-start !important;
gap:18px; gap:24px;
background:#F0EEE9; background:#F0EEE9;
border:1px solid rgba(28,52,52,.16); border:1px solid rgba(28,52,52,.08);
border-radius:32px; border-radius:32px;
padding:28px; padding:36px;
box-sizing:border-box; box-sizing:border-box;
min-height:0 !important;
} }
.kmc-sixth-icon{
width:48px !important;
height:48px !important;
border-radius:50%;
background:#90F1AE;
display:inline-flex;
align-items:center;
justify-content:center;
color:#1C3434;
flex:0 0 48px !important;
}
.kmc-sixth-icon svg { display:block; width:24px; height:24px; stroke:#1C3434; }
.kmc-sixth-card p{ .kmc-sixth-card p{
margin:0; margin:0;
font-family:'Inter',sans-serif; font-family:'Inter',sans-serif;
font-size:23px; font-size:22px !important;
font-weight:400; font-weight:400;
line-height:1.45; line-height:1.5 !important;
color:rgba(1,1,1,.8); color:rgba(1,1,1,.8);
} }
@media (max-width: 1260px){ @media (max-width: 1260px){
.kmc-sixth-wrap{width:min(1320px, calc(100% - 56px));gap:42px;} .kmc-sixth-wrap{width:min(1320px, calc(100% - 56px));gap:42px;}
.kmc-sixth-title{font-size:42px;} .kmc-sixth-card{padding:28px; gap:20px;}
.kmc-sixth-text{font-size:30px;}
} }
@media (max-width: 1024px){ @media (max-width: 1024px){
.kmc-sixth-section{padding:88px 0 96px;} .kmc-sixth-section{padding:88px 0 96px;}
.kmc-sixth-wrap{grid-template-columns:1fr;gap:34px;} .kmc-sixth-wrap{grid-template-columns:1fr;gap:48px;}
.kmc-sixth-title{font-size:38px;max-width:100%;} .kmc-sixth-title{max-width:100%;}
.kmc-sixth-text{font-size:28px;max-width:none;} .kmc-sixth-text{max-width:none;}
} }
@media (max-width: 680px){ @media (max-width: 680px){
.kmc-sixth-section{padding:72px 0 80px;} .kmc-sixth-section{padding:72px 0 80px;}
.kmc-sixth-wrap{width:calc(100% - 32px);gap:26px;} .kmc-sixth-wrap{width:calc(100% - 32px);gap:36px;}
.kmc-sixth-title{font-size:30px;line-height:1.18;} .kmc-sixth-actions{margin-top:32px;gap:20px;flex-direction:column;align-items:flex-start;}
.kmc-sixth-text{margin-top:22px;font-size:22px;line-height:1.25;} .kmc-sixth-cta{padding:6px 6px 6px 20px !important;font-size:16px !important;}
.kmc-sixth-actions{margin-top:26px;gap:16px;align-items:flex-start;} .kmc-sixth-cta-circle {width:36px !important;height:36px !important;flex-basis:36px !important;}
.kmc-sixth-cta{padding-left:18px;min-height:52px;font-size:18px;} .kmc-sixth-cta-circle svg {width:18px;height:18px;}
.kmc-sixth-cta-circle,.kmc-sixth-icon{width:40px;height:40px;flex-basis:40px;font-size:19px;} .kmc-sixth-link{font-size:16px !important;}
.kmc-sixth-link{font-size:18px;} .kmc-sixth-card{border-radius:24px;padding:24px;gap:16px;}
.kmc-sixth-card{border-radius:24px;padding:18px;gap:12px;} .kmc-sixth-card p{font-size:18px !important;line-height:1.45 !important;}
.kmc-sixth-card p{font-size:18px;line-height:1.4;} .kmc-sixth-icon {width:40px !important;height:40px !important;flex-basis:40px !important;}
.kmc-sixth-icon svg {width:20px;height:20px;}
} }
</style> </style>
<section class="kmc-sixth-section" aria-labelledby="kmc-sixth-heading"> <section class="kmc-sixth-section" aria-labelledby="kmc-sixth-heading">
<div class="kmc-sixth-wrap"> <div class="kmc-sixth-wrap">
<div class="kmc-sixth-left"> <div class="kmc-sixth-left">
<h2 id="kmc-sixth-heading" class="kmc-sixth-title">What Outcomes Can You Expect</h2> <h2 id="kmc-sixth-heading" class="kmc-sixth-title">Sample Outcomes Clients Seek</h2>
<p class="kmc-sixth-text">Coaching is a partnership. It's about how your being, not what your doing - the results are highly dependent on your commitment and expected outcomes</p> <p class="kmc-sixth-text">As your coach and transformation partner, our results are driven by who you're being, not the tactics your doing. Success demands total commitment to achieving the impossible.</p>
<div class="kmc-sixth-actions"> <div class="kmc-sixth-actions">
<a class="kmc-sixth-cta" href="https://calendly.com/ktmckeand/coaching-assessment" aria-label="Schedule an assessment"> <a class="kmc-sixth-cta" href="https://calendly.com/ktmckeand/coaching-assessment" aria-label="Schedule an assessment">
<span>Schedule an assessment</span> <span>Schedule an assessment</span>
<span class="kmc-sixth-cta-circle" aria-hidden="true"></span> <span class="kmc-sixth-cta-circle" aria-hidden="true">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"></path><path d="m12 5 7 7-7 7"></path></svg>
</span>
</a> </a>
<a class="kmc-sixth-link" href="#" aria-label="View coaching options"> <a class="kmc-sixth-link" href="/pricing/" aria-label="View coaching options">
<span>View coaching options</span> <span>View coaching options</span>
<span class="kmc-sixth-link-arrow" aria-hidden="true"></span> <span class="kmc-sixth-link-arrow" aria-hidden="true">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"></path><path d="m12 5 7 7-7 7"></path></svg>
</span>
</a> </a>
</div> </div>
</div> </div>
<div class="kmc-sixth-cards" role="list" aria-label="Sample outcomes"> <div class="kmc-sixth-cards" role="list" aria-label="Sample outcomes">
<article class="kmc-sixth-card" role="listitem"> <article class="kmc-sixth-card" role="listitem">
<span class="kmc-sixth-icon" aria-hidden="true"></span> <span class="kmc-sixth-icon" aria-hidden="true">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>
</span>
<p>Executive Reinvention, driven by ontological changes</p> <p>Executive Reinvention, driven by ontological changes</p>
</article> </article>
<article class="kmc-sixth-card" role="listitem"> <article class="kmc-sixth-card" role="listitem">
<span class="kmc-sixth-icon" aria-hidden="true"></span> <span class="kmc-sixth-icon" aria-hidden="true">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>
</span>
<p>Working with a team of people to achieve what is considered impossible today</p> <p>Working with a team of people to achieve what is considered impossible today</p>
</article> </article>
<article class="kmc-sixth-card" role="listitem"> <article class="kmc-sixth-card" role="listitem">
<span class="kmc-sixth-icon" aria-hidden="true"></span> <span class="kmc-sixth-icon" aria-hidden="true">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>
</span>
<p>Identify your winning strategy and whats holding you back from leading a team to achieve the impossible</p> <p>Identify your winning strategy and whats holding you back from leading a team to achieve the impossible</p>
</article> </article>
</div> </div>