Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .jules/bolt.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

**Learning:** Replacing large, static PNG assets with theme-aware SVGs significantly reduces repository weight and improves initial page load for organization profiles. SVGs (approx. 3KB) are >90% smaller than high-resolution PNGs (46KB) and maintain clarity at all sizes.

**Action:** Always prefer SVGs for logos and simple graphics. Use the `<picture>` tag with `prefers-color-scheme` media queries to support dark and light modes on GitHub READMEs. Always specify `width` and `height` on images to prevent Cumulative Layout Shift (CLS).
**Action:** Always prefer SVGs for logos and simple graphics. Use the `<picture>` tag with `prefers-color-scheme` media queries to support dark and light modes on GitHub READMEs. Always specify `width` and `height` on images to prevent Cumulative Layout Shift (CLS). Use `fetchpriority="high"` for critical above-the-fold assets (like logos) to improve Largest Contentful Paint (LCP).
4 changes: 2 additions & 2 deletions profile/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Model Context Protocol

<!-- Optimized logo: Replaced 46KB PNG with theme-aware ~3KB SVGs and added dimensions to prevent CLS -->
<!-- Optimized logo: Replaced 46KB PNG with theme-aware ~9KB minified SVGs and added dimensions to prevent CLS -->
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="assets/logo-dark.svg">
<img src="assets/logo.svg" alt="Model Context Protocol Logo" width="600" height="87">
<img src="assets/logo.svg" alt="Model Context Protocol Logo" width="600" height="87" fetchpriority="high" loading="eager">
</picture>
</p>

Expand Down
Loading