diff --git a/fix_home.py b/fix_home.py new file mode 100644 index 0000000..7d85036 --- /dev/null +++ b/fix_home.py @@ -0,0 +1,93 @@ +import re +import sys + +with open('tmp_home_current.html', 'r', encoding='utf-8') as f: + html = f.read() + +# 1. Update Image +old_img = """ +
Kevin McKeand
+""" + +new_img = """ +
Kevin McKeand
+""" + +if old_img in html: + html = html.replace(old_img, new_img) +else: + print("Warning: could not find old_img") + +# 2. Update Credentials +old_cred = """ +

Credentials

+ + + + + + + +

Confidential. Insightful. Practical.

+""" + +new_cred = """ +

Credentials

+ + + + + + + +

Confidential. Insightful. Practical.

+""" + +if old_cred in html: + html = html.replace(old_cred, new_cred) +else: + print("Warning: could not find old_cred") + +# 3. Align Pricing and change 550 to 500 + +old_p1 = """ +

Initial Assessment

""" +new_p1 = """ +

Initial Assessment

""" + +old_p2 = """ +

Coaching

+ + + +

$550 / hour

""" +new_p2 = """ +

Coaching

+ + + +

$500 / hour

""" + +old_p3 = """ +

Coaching Package

""" +new_p3 = """ +

Coaching Package

""" + +if old_p1 in html: + html = html.replace(old_p1, new_p1) +else: + print("Warning: could not find old_p1") + +if old_p2 in html: + html = html.replace(old_p2, new_p2) +else: + print("Warning: could not find old_p2") + +if old_p3 in html: + html = html.replace(old_p3, new_p3) +else: + print("Warning: could not find old_p3") + +with open('tmp_home_current2.html', 'w', encoding='utf-8') as f: + f.write(html) +print("Done writing tmp_home_current2.html") diff --git a/fix_home_2.py b/fix_home_2.py new file mode 100644 index 0000000..4c3235e --- /dev/null +++ b/fix_home_2.py @@ -0,0 +1,49 @@ +import re + +with open('tmp_home_current2.html', 'r', encoding='utf-8') as f: + html = f.read() + +old_cred = """ +

Credentials

+ + + + + +

Confidential. Insightful. Practical.

+""" + +new_cred = """ +

Credentials

+ + + + + +

Confidential. Insightful. Practical.

+""" + +if old_cred in html: + html = html.replace(old_cred, new_cred) +else: + print("Warning: could not find old_cred without newlines") + +old_p2 = """ +

Coaching

+ + +

$550 / hour

""" + +new_p2 = """ +

Coaching

+ + +

$500 / hour

""" + +if old_p2 in html: + html = html.replace(old_p2, new_p2) +else: + print("Warning: could not find old_p2 without newlines") + +with open('tmp_home_current3.html', 'w', encoding='utf-8') as f: + f.write(html) diff --git a/test_match.py b/test_match.py new file mode 100644 index 0000000..4e0a004 --- /dev/null +++ b/test_match.py @@ -0,0 +1,24 @@ +import sys +import re + +with open('tmp_home_current.html', 'r', encoding='utf-8') as f: + html = f.read() + +img_block_str = """ +
+ +
Kevin McKeand
+ +
+""" + +if img_block_str in html: + print("Found") +else: + print("Not Found") + m = re.search(r'', html, re.DOTALL) + if m: + print("Regex found:") + print(repr(m.group(0))) + print("Expected:") + print(repr(img_block_str)) diff --git a/tmp_footer.html b/tmp_footer.html new file mode 100644 index 0000000..29fd0e6 --- /dev/null +++ b/tmp_footer.html @@ -0,0 +1,68 @@ + +
+ +
+ +
+ +
+ + + + + +
+ +
+ + + +
+
+ + + +
+ +
+ +
+ + + +
+ + + + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ + +
+ +
+ + + + + diff --git a/tmp_home.html b/tmp_home.html index 764bf1f..4e1ff90 100644 --- a/tmp_home.html +++ b/tmp_home.html @@ -1,91 +1,77 @@ + +
+ +
Kevin McKeand
+ +
+ +

Executive and Life Coaching to Achieve your Potential

-

Coaching for C-Level Executives who want to breakthrough and achieve the impossible in their business, navigating their organizations with clarity, reduced complexity and with more purpose.

- -

Purpose: enable others to achieve their potential.

-
-
-

Credentials

+
+

Credentials

- - -
  • ICF PCC Certified Executive and Life Coach
  • Trained in Adaptive Leadership Styles and Personal and Professional Transformations
+ +
  • ICF PCC Certified Executive and Life Coach
  • Trained in Adaptive Leadership Styles and Personal and Professional Transformations
- - -

Confidential. Insightful. Practical.

+ +

Confidential. Insightful. Practical.

- - -
- -
Kevin McKeand
- -
- -

How we work together

-

1. Clarity & context

-

Identify the real challenge beneath the symptom, and name the narrative shaping your decisions.

-

2. Adaptive experiments

-

Design small experiments to expand capability, build confidence, and improve leadership presence.

-

3. Integration & accountability

-

Apply new behaviors in your real-world environment and reflect on the results.

@@ -93,71 +79,57 @@
-

Sample outcomes clients seek

-
  • Executive Reinvention, driven by ontological changes
  • Working with a team of people to achieve what is considered impossible today
  • Identify your winning strategy and what's holding you back from leading a team to achieve the impossible
-

Coaching is a partnership designed for growth — outcomes depend on commitment and context.

- - -
+ +

What they're Saying

-

“Clear, grounding, and strategic. I left each session with a concrete action and a deeper sense of purpose.”

-

— CEO and B2B SaaS Founder

-

“Helped me reframe my leadership narrative and show up with more authority.”

-

— Founder and CEO

-

Pricing

-
-
-

Initial Assessment

+

Initial Assessment

-

Free

-

30 minutes

-
@@ -165,21 +137,17 @@
-
-

Coaching

+

Coaching

- -

$550 / hour

+

$500 / hour

-

Minimum of one hour

-
@@ -187,57 +155,38 @@
-
-

Coaching Package

+

Coaching Package

-

$1,500 / month

- -

Includes 4 hours of coaching

-
-

Ready to explore coaching?

-

Start with a 30‑minute fit call to assess alignment, goals, and the best coaching path.

-
- - - - - - - - - - - diff --git a/current_home_content.html b/tmp_home_current.html similarity index 86% rename from current_home_content.html rename to tmp_home_current.html index 54e4353..3fca363 100644 --- a/current_home_content.html +++ b/tmp_home_current.html @@ -1,39 +1,40 @@ + +
+ +
Kevin McKeand
+ +
+ +

Executive and Life Coaching to Achieve your Potential

-

Coaching for C-Level Executives who want to breakthrough and achieve the impossible in their business, navigating their organizations with clarity, reduced complexity and with more purpose.

- -

Purpose: enable others to achieve their potential.

-

Credentials

-
  • ICF PCC Certified Executive and Life Coach
  • Trained in Adaptive Leadership Styles and Personal and Professional Transformations
-

Confidential. Insightful. Practical.

@@ -41,43 +42,36 @@
-

How we work together

-

1. Clarity & context

-

Identify the real challenge beneath the symptom, and name the narrative shaping your decisions.

-

2. Adaptive experiments

-

Design small experiments to expand capability, build confidence, and improve leadership presence.

-

3. Integration & accountability

-

Apply new behaviors in your real-world environment and reflect on the results.

@@ -85,148 +79,114 @@
-

Sample outcomes clients seek

-
  • Executive Reinvention, driven by ontological changes
  • Working with a team of people to achieve what is considered impossible today
  • Identify your winning strategy and what's holding you back from leading a team to achieve the impossible
-

Coaching is a partnership designed for growth — outcomes depend on commitment and context.

- - -
+ +

What they're Saying

-

“Clear, grounding, and strategic. I left each session with a concrete action and a deeper sense of purpose.”

-

— CEO and B2B SaaS Founder

-

“Helped me reframe my leadership narrative and show up with more authority.”

-

— Founder and CEO

- -
-

Pricing

+
+

Pricing

-
-

Initial Assessment

-

Free

-

30 minutes

-
-

Coaching

-

$550 / hour

-

Minimum of one hour

-
-

Coaching Package

-

$1,500 / month

- -

Includes 4 hours of coaching

-
-

Ready to explore coaching?

-

Start with a 30‑minute fit call to assess alignment, goals, and the best coaching path.

-
- - - - - - - - diff --git a/tmp_home_current2.html b/tmp_home_current2.html new file mode 100644 index 0000000..69a23d8 --- /dev/null +++ b/tmp_home_current2.html @@ -0,0 +1,192 @@ + +
+ +
Kevin McKeand
+ +
+ + + +
+
+
+

Executive and Life Coaching to Achieve your Potential

+ + +

Coaching for C-Level Executives who want to breakthrough and achieve the impossible in their business, navigating their organizations with clarity, reduced complexity and with more purpose.

+ + + + + +

Purpose: enable others to achieve their potential.

+
+ + +
+
+

Credentials

+ + +
  • ICF PCC Certified Executive and Life Coach
  • Trained in Adaptive Leadership Styles and Personal and Professional Transformations
+ + +

Confidential. Insightful. Practical.

+
+
+
+
+ + +
+

How we work together

+ + +
+
+
+

1. Clarity & context

+ + +

Identify the real challenge beneath the symptom, and name the narrative shaping your decisions.

+
+
+ + +
+
+

2. Adaptive experiments

+ + +

Design small experiments to expand capability, build confidence, and improve leadership presence.

+
+
+ + +
+
+

3. Integration & accountability

+ + +

Apply new behaviors in your real-world environment and reflect on the results.

+
+
+
+
+ + +
+

Sample outcomes clients seek

+ + +
  • Executive Reinvention, driven by ontological changes
  • Working with a team of people to achieve what is considered impossible today
  • Identify your winning strategy and what's holding you back from leading a team to achieve the impossible
+ + +

Coaching is a partnership designed for growth — outcomes depend on commitment and context.

+
+ + +
+

What they're Saying

+ + +
+
+

“Clear, grounding, and strategic. I left each session with a concrete action and a deeper sense of purpose.”

+ + +

— CEO and B2B SaaS Founder

+
+ + +
+

“Helped me reframe my leadership narrative and show up with more authority.”

+ + +

— Founder and CEO

+
+
+
+ + +
+

Pricing

+ + +
+ +
+
+

Initial Assessment

+ + +

Free

+ + +

30 minutes

+ + + +
+
+ + +
+
+

Coaching

+ + +

$550 / hour

+ + +

Minimum of one hour

+ + + +
+
+ + +
+
+

Coaching Package

+ + +

$1,500 / month

+ + + + + +

Includes 4 hours of coaching

+
+
+ +
+ +
+ + +
+

Ready to explore coaching?

+ + +

Start with a 30‑minute fit call to assess alignment, goals, and the best coaching path.

+ + + +
+ diff --git a/tmp_home_current3.html b/tmp_home_current3.html new file mode 100644 index 0000000..6e5bf81 --- /dev/null +++ b/tmp_home_current3.html @@ -0,0 +1,192 @@ + +
+ +
Kevin McKeand
+ +
+ + + +
+
+
+

Executive and Life Coaching to Achieve your Potential

+ + +

Coaching for C-Level Executives who want to breakthrough and achieve the impossible in their business, navigating their organizations with clarity, reduced complexity and with more purpose.

+ + + + + +

Purpose: enable others to achieve their potential.

+
+ + +
+
+

Credentials

+ + +
  • ICF PCC Certified Executive and Life Coach
  • Trained in Adaptive Leadership Styles and Personal and Professional Transformations
+ + +

Confidential. Insightful. Practical.

+
+
+
+
+ + +
+

How we work together

+ + +
+
+
+

1. Clarity & context

+ + +

Identify the real challenge beneath the symptom, and name the narrative shaping your decisions.

+
+
+ + +
+
+

2. Adaptive experiments

+ + +

Design small experiments to expand capability, build confidence, and improve leadership presence.

+
+
+ + +
+
+

3. Integration & accountability

+ + +

Apply new behaviors in your real-world environment and reflect on the results.

+
+
+
+
+ + +
+

Sample outcomes clients seek

+ + +
  • Executive Reinvention, driven by ontological changes
  • Working with a team of people to achieve what is considered impossible today
  • Identify your winning strategy and what's holding you back from leading a team to achieve the impossible
+ + +

Coaching is a partnership designed for growth — outcomes depend on commitment and context.

+
+ + +
+

What they're Saying

+ + +
+
+

“Clear, grounding, and strategic. I left each session with a concrete action and a deeper sense of purpose.”

+ + +

— CEO and B2B SaaS Founder

+
+ + +
+

“Helped me reframe my leadership narrative and show up with more authority.”

+ + +

— Founder and CEO

+
+
+
+ + +
+

Pricing

+ + +
+ +
+
+

Initial Assessment

+ + +

Free

+ + +

30 minutes

+ + + +
+
+ + +
+
+

Coaching

+ + +

$500 / hour

+ + +

Minimum of one hour

+ + + +
+
+ + +
+
+

Coaching Package

+ + +

$1,500 / month

+ + + + + +

Includes 4 hours of coaching

+
+
+ +
+ +
+ + +
+

Ready to explore coaching?

+ + +

Start with a 30‑minute fit call to assess alignment, goals, and the best coaching path.

+ + + +
+ diff --git a/tmp_home_final.html b/tmp_home_final.html new file mode 100644 index 0000000..6e5bf81 --- /dev/null +++ b/tmp_home_final.html @@ -0,0 +1,192 @@ + +
+ +
Kevin McKeand
+ +
+ + + +
+
+
+

Executive and Life Coaching to Achieve your Potential

+ + +

Coaching for C-Level Executives who want to breakthrough and achieve the impossible in their business, navigating their organizations with clarity, reduced complexity and with more purpose.

+ + + + + +

Purpose: enable others to achieve their potential.

+
+ + +
+
+

Credentials

+ + +
  • ICF PCC Certified Executive and Life Coach
  • Trained in Adaptive Leadership Styles and Personal and Professional Transformations
+ + +

Confidential. Insightful. Practical.

+
+
+
+
+ + +
+

How we work together

+ + +
+
+
+

1. Clarity & context

+ + +

Identify the real challenge beneath the symptom, and name the narrative shaping your decisions.

+
+
+ + +
+
+

2. Adaptive experiments

+ + +

Design small experiments to expand capability, build confidence, and improve leadership presence.

+
+
+ + +
+
+

3. Integration & accountability

+ + +

Apply new behaviors in your real-world environment and reflect on the results.

+
+
+
+
+ + +
+

Sample outcomes clients seek

+ + +
  • Executive Reinvention, driven by ontological changes
  • Working with a team of people to achieve what is considered impossible today
  • Identify your winning strategy and what's holding you back from leading a team to achieve the impossible
+ + +

Coaching is a partnership designed for growth — outcomes depend on commitment and context.

+
+ + +
+

What they're Saying

+ + +
+
+

“Clear, grounding, and strategic. I left each session with a concrete action and a deeper sense of purpose.”

+ + +

— CEO and B2B SaaS Founder

+
+ + +
+

“Helped me reframe my leadership narrative and show up with more authority.”

+ + +

— Founder and CEO

+
+
+
+ + +
+

Pricing

+ + +
+ +
+
+

Initial Assessment

+ + +

Free

+ + +

30 minutes

+ + + +
+
+ + +
+
+

Coaching

+ + +

$500 / hour

+ + +

Minimum of one hour

+ + + +
+
+ + +
+
+

Coaching Package

+ + +

$1,500 / month

+ + + + + +

Includes 4 hours of coaching

+
+
+ +
+ +
+ + +
+

Ready to explore coaching?

+ + +

Start with a 30‑minute fit call to assess alignment, goals, and the best coaching path.

+ + + +
+ diff --git a/update_home_layout.py b/update_home_layout.py new file mode 100644 index 0000000..54fa77f --- /dev/null +++ b/update_home_layout.py @@ -0,0 +1,45 @@ +import sys + +with open('tmp_home_current.html', 'r', encoding='utf-8') as f: + html = f.read() + +img_block_str = """ +
+ +
Kevin McKeand
+ +
+""" + +if img_block_str in html: + html = html.replace(img_block_str + '\n\n', '') + html = html.replace(img_block_str + '\n', '') + html = html.replace(img_block_str, '') +else: + print("Error: Could not find exact image block string.") + sys.exit(1) + +new_img_block_str = img_block_str.replace('', '') +new_img_block_str = new_img_block_str.replace('
', '
') +new_img_block_str = new_img_block_str.replace('max-width:100%', 'width:275px;max-width:100%') + +# Add the new block at the very top of the html +html = new_img_block_str + '\n\n' + html + +old_saying = """ +
+

What they're Saying

""" + +new_saying = """ +
+

What they're Saying

""" + +if old_saying in html: + html = html.replace(old_saying, new_saying) +else: + print("Error: Could not find exact saying block string.") + sys.exit(1) + +with open('tmp_home_current.html', 'w', encoding='utf-8') as f: + f.write(html) +print("Success.") diff --git a/update_home_layout2.py b/update_home_layout2.py new file mode 100644 index 0000000..6f61a8e --- /dev/null +++ b/update_home_layout2.py @@ -0,0 +1,45 @@ +import sys +import re + +with open('tmp_home_current.html', 'r', encoding='utf-8') as f: + html = f.read() + +# 1. Find and extract the image block +img_regex = r'(\s*
{"align":"center"} -->\s*
\s*\s*
\s*)' + +m = re.search(img_regex, html, re.DOTALL) +if not m: + print("Error: Could not find image block string.") + sys.exit(1) + +img_block_str = m.group(1) + +# Remove the original image block +html = html.replace(img_block_str + '\n\n', '') +html = html.replace(img_block_str + '\n', '') +html = html.replace(img_block_str, '') + +# Modify the image block +new_img_block_str = img_block_str.replace('', '') +new_img_block_str = new_img_block_str.replace('
', '
') +new_img_block_str = new_img_block_str.replace('max-width:100%', 'width:275px;max-width:100%') + +# Add the modified image block at the very top of the html +html = new_img_block_str + '\n\n' + html + +# 2. Modify "What they're Saying" block padding +old_saying_regex = r'(\s*
\s*

What they\'re Saying

)' + +m2 = re.search(old_saying_regex, html, re.DOTALL) +if not m2: + print("Error: Could not find exact saying block string.") + sys.exit(1) + +# Replace the "bottom":"60px" and padding-bottom:60px with 0px +new_saying = m2.group(0).replace('"bottom":"60px"', '"bottom":"0px"').replace('padding-bottom:60px', 'padding-bottom:0px') + +html = html.replace(m2.group(0), new_saying) + +with open('tmp_home_current.html', 'w', encoding='utf-8') as f: + f.write(html) +print("Success.") diff --git a/update_home_layout3.py b/update_home_layout3.py new file mode 100644 index 0000000..b3696d7 --- /dev/null +++ b/update_home_layout3.py @@ -0,0 +1,55 @@ +import sys + +with open('tmp_home_current.html', 'r', encoding='utf-8') as f: + html = f.read() + +img_start = html.find('') +if img_start == -1: + print("Could not find image start") + sys.exit(1) + +img_end_str = '' +img_end = html.find(img_end_str, img_start) +if img_end == -1: + print("Could not find image end") + sys.exit(1) + +img_end += len(img_end_str) + +img_block = html[img_start:img_end] + +# remove it from html +html = html[:img_start] + html[img_end:] + +# strip empty lines where the block was +html = '\n'.join([line for line in html.split('\n') if line.strip() != '' or '<' in line]) + +# modify img_block +new_img_block = img_block.replace('', '') +new_img_block = new_img_block.replace('
', '
') +new_img_block = new_img_block.replace('max-width:100%', 'width:275px;max-width:100%') + +# Add it at the top +html = new_img_block + '\n\n' + html + +# Now for the saying block +saying_marker = '

What they\'re Saying

' +saying_idx = html.find(saying_marker) + +if saying_idx == -1: + print("Could not find saying marker") + sys.exit(1) + +saying_start = html.rfind('