Skip to content

Commit 307fe13

Browse files
kitfunsoclaude
andcommitted
Optimize OG images and add calculator usage analytics
OG Image Optimization: - Convert all OG images from PNG to WebP format - Reduced total size from 7.3MB to ~1MB (86% reduction) - Updated generate-og-images.mjs to use sharp for WebP conversion - Updated CalculatorLayout.astro and BaseLayout.astro to reference .webp Calculator Analytics: - Added useCalculatorTracking hook for analytics - Added tracking to 92 calculator components - Tracks calculator_used event with calculator name - Uses existing window.trackCalculatorUse from Analytics.astro Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 3af881d commit 307fe13

251 files changed

Lines changed: 570 additions & 15 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

public/og/401k-calculator.png

-96 KB
Binary file not shown.

public/og/401k-calculator.webp

13.4 KB

public/og/abv-calculator.png

-93.7 KB
Binary file not shown.

public/og/abv-calculator.webp

13.3 KB

public/og/age-calculator.png

-93.9 KB
Binary file not shown.

public/og/age-calculator.webp

12.7 KB
-96.1 KB
Binary file not shown.
13.8 KB

public/og/bbq-calculator.png

-93.8 KB
Binary file not shown.

public/og/bbq-calculator.webp

13 KB

0 commit comments

Comments
 (0)