diff --git a/generate_celebration_image.py b/generate_celebration_image.py
index 7c846bffd..fedae8751 100644
--- a/generate_celebration_image.py
+++ b/generate_celebration_image.py
@@ -7,6 +7,7 @@ HEIGHT = 675 # Image height
BG_COLOR = "#282a36" # Aider code background color
PRIMARY_COLOR = "#14b014" # Aider terminal green
TEXT_COLOR = "#FFFFFF" # White for contrast
+GRID_COLOR = "#3b3d4a" # Slightly lighter than background for grid pattern
FONT_SIZE_LARGE = 110
FONT_SIZE_MEDIUM = 55
FONT_SIZE_SMALL = 30
@@ -25,7 +26,7 @@ FONT_FAMILY_MEDIUM = FONT_FAMILY_BOLD
LOGO_PATH = "aider/website/assets/logo.svg"
# --- Text Content ---
-line1 = "Thank You!"
+line1 = "Thank You to Our Community!"
line2 = "30,000"
line3 = "GitHub Stars"
line4 = "github.com/Aider-AI/aider"
@@ -75,26 +76,59 @@ line4_y = (
# --- Generate SVG Content ---
svg_elements = []
-# Background
-svg_elements.append(f'')
+# Background with pattern
+svg_elements.append(f'''
+
+
+
+
+''')
+svg_elements.append(f'')
-# Logo
+# Terminal-like border
+svg_elements.append(f'')
+
+# Logo with glow
if logo_data_uri:
svg_elements.append(
f''
+ f'width="{logo_width}" height="{logo_height}" filter="url(#logo-glow)" />'
)
# Text Lines
+# Adjust font size for longer text
svg_elements.append(
- f'{line1}'
)
+# Add star decorations around the 30,000 number
+for i in range(5):
+ # Left side stars
+ x_left = center_x - 300 + (i * 50)
+ y_left = line2_y - 50
+ size_factor = 0.5 + (i % 3) * 0.15 # Vary sizes
+ rotation = i * 15 # Different rotations
+ svg_elements.append(
+ f''
+ )
+
+ # Right side stars
+ x_right = center_x + 150 + (i * 50)
+ y_right = line2_y - 45
+ size_factor = 0.4 + (i % 3) * 0.15 # Vary sizes
+ rotation = i * 20 # Different rotations
+ svg_elements.append(
+ f''
+ )
+
+# Enhanced 30,000 number with improved glow
svg_elements.append(
f'{line2}' # Added glow filter
+ f' dominant-baseline="middle" filter="url(#number-glow)">{line2}'
)
svg_elements.append(
f'
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+