Blocks 6-7 completed

This commit is contained in:
Flatlogic Bot 2026-03-26 19:21:35 +00:00
parent 0edca48101
commit 2259fa5094
3 changed files with 45 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

40
fix_block6_final.py Normal file
View File

@ -0,0 +1,40 @@
import re
with open('home_content.html', 'r', encoding='utf-8') as f:
content = f.read()
# 1. Update background color of section to #FFFFFF
content = re.sub(
r'(\.kmc-sixth-section\s*\{\s*background:\s*)#F8F7F3(;)',
r'\1#FFFFFF\2',
content
)
# 2. Update the paragraph text
old_text = r"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\."
new_text = r"Coaching is a partnership designed for growth — outcomes depend on commitment and context."
content = re.sub(old_text, new_text, content)
# 3. Update icons
icon1 = '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"></path><rect x="8" y="2" width="8" height="4" rx="1" ry="1"></rect><path d="M9 14l2 2 4-4"></path></svg>'
icon2 = '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path></svg>'
icon3 = '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="8" r="7"></circle><polyline points="8.21 13.89 7 23 12 20 17 23 15.79 13.88"></polyline></svg>'
# Find the three articles and replace their svgs
articles = re.findall(r'(<article class="kmc-sixth-card".*?</article>)', content, flags=re.DOTALL)
if len(articles) == 3:
# Card 1
new_art1 = re.sub(r'<svg.*?</svg>', icon1, articles[0], count=1, flags=re.DOTALL)
content = content.replace(articles[0], new_art1)
# Card 2
new_art2 = re.sub(r'<svg.*?</svg>', icon2, articles[1], count=1, flags=re.DOTALL)
content = content.replace(articles[1], new_art2)
# Card 3
new_art3 = re.sub(r'<svg.*?</svg>', icon3, articles[2], count=1, flags=re.DOTALL)
content = content.replace(articles[2], new_art3)
else:
print(f"Error: Found {len(articles)} articles instead of 3!")
with open('home_content.html', 'w', encoding='utf-8') as f:
f.write(content)
print("Updated home_content.html")

View File

@ -971,7 +971,7 @@ body { background: #1C3434; }
<style>
.kmc-sixth-section{
background:#F8F7F3;
background:#FFFFFF;
padding:110px 0 122px;
}
.kmc-sixth-wrap{
@ -1123,7 +1123,7 @@ body { background: #1C3434; }
<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>
<p class="kmc-sixth-text">Coaching is a partnership designed for growth — outcomes depend on commitment and context.</p>
<div class="kmc-sixth-actions">
<a class="kmc-sixth-cta" href="https://calendly.com/ktmckeand/coaching-assessment" aria-label="Schedule an assessment">
@ -1145,21 +1145,21 @@ body { background: #1C3434; }
<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>
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"></path><rect x="8" y="2" width="8" height="4" rx="1" ry="1"></rect><path d="M9 14l2 2 4-4"></path></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>
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path></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>
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="8" r="7"></circle><polyline points="8.21 13.89 7 23 12 20 17 23 15.79 13.88"></polyline></svg>
</span>
<p>Identify your winning strategy and whats holding you back from leading a team to achieve the impossible</p>
</article>