Skip to content

Commit ce895a0

Browse files
Clean OG image: remove nav boxes, extend content box to bottom
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent aad4229 commit ce895a0

5 files changed

Lines changed: 1 addition & 7 deletions

File tree

assets/favicon.png

-29 Bytes
Loading

assets/og-image.png

-671 Bytes
Loading

build.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,9 @@ def generate_og_image(accent_hex, hero_md, output_path):
9595
cube_size = bar_h
9696
draw.rectangle([margin, margin, margin + cube_size, margin + bar_h], fill=accent)
9797

98-
# Draw bottom bar: two small boxes (work / play placeholders)
99-
nav_y = height - margin - bar_h
100-
box_w = 60
101-
draw.rectangle([margin, nav_y, margin + box_w, nav_y + bar_h], outline=black, width=1)
102-
draw.rectangle([width - margin - box_w, nav_y, width - margin, nav_y + bar_h], outline=black, width=1)
103-
10498
# Draw content viewport box
10599
box_top = margin + bar_h + bar_gap
106-
box_bottom = nav_y - bar_gap
100+
box_bottom = height - margin
107101
draw.rectangle([margin, box_top, width - margin, box_bottom], outline=black, width=1)
108102

109103
# Load Schibsted Grotesk at two sizes

dist/assets/favicon.png

-29 Bytes
Loading

dist/assets/og-image.png

-671 Bytes
Loading

0 commit comments

Comments
 (0)