Skip to content

fix: replace blurry VSYC hero raster with crisp SVG illustration#27

Merged
dmvthrowers merged 1 commit into
mainfrom
fix/vsyc-hero-svg
May 9, 2026
Merged

fix: replace blurry VSYC hero raster with crisp SVG illustration#27
dmvthrowers merged 1 commit into
mainfrom
fix/vsyc-hero-svg

Conversation

@dmvthrowers
Copy link
Copy Markdown
Owner

Summary

  • The vsyc-marigolds-hero.jpg/webp was only 1168×784px but rendered full-width, causing visible blurring (1.6–2.2× upscale on typical desktop monitors)
  • Replaced with a new vsyc-marigolds-hero.svg — a hand-drawn vector marigold field that is infinitely crisp at any screen width
  • Changed object-fit: cover → fill in vsyc26.css so the SVG fills the container without any cropping
  • Removed the now-dead <link rel="preload"> for the old WebP from vsyc26.html

Pages affected

All 7 VSYC-26 pages were updated: vsyc26.html (280px skyline) and the six sub-pages — schedule, register, sponsors, venue, rules, faq, terms (220px page-hero-nature).

SVG design

  • 10 main marigold flowers + 5 smaller background flowers, each built from a 24-petal <symbol> defined once and referenced via <use>
  • Dark green foliage ground at the bottom
  • Navy gradient fade blending the illustration into the hero background
  • preserveAspectRatio="none" + object-fit: fill ensures the design fills the container at every viewport width with no cropping

Test plan

  • Visit vsyc26.html on desktop at 1920px+ and confirm the hero bottom is no longer blurry
  • Check all 6 sub-pages for the same fix
  • Confirm no layout shift or missing images on mobile

🤖 Generated with Claude Code

The vsyc-marigolds-hero.jpg/webp was only 1168x784px but displayed
full-width on desktop, causing it to be upscaled 1.6-2.2x on typical
monitors and appearing visibly blurry.

Replace with an inline SVG illustration (vsyc-marigolds-hero.svg) that
renders pixel-perfect at every screen size. The SVG uses a <symbol> +
<use> pattern to define a 24-petal marigold once and reuse it 15 times
(10 main flowers + 5 background), with stems, a foliage base, and a
navy gradient fade blending into the hero. object-fit changed from
cover to fill so the vector fills the container without any cropping.

Affects vsyc26.html (280px skyline) and all six sub-pages (220px
page-hero-nature): schedule, register, sponsors, venue, rules, faq,
terms. Also removes the now-dead <link rel=preload> for the old WebP.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 9, 2026 22:47
@github-actions github-actions Bot added content HTML content changes assets Asset file changes labels May 9, 2026
@dmvthrowers dmvthrowers merged commit 89a7a4b into main May 9, 2026
9 checks passed
@dmvthrowers dmvthrowers deleted the fix/vsyc-hero-svg branch May 9, 2026 22:49
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the VSYC-26 static site hero artwork by replacing a low-resolution raster hero image with a scalable SVG illustration, and adjusts styling so the new hero fills the intended containers without cropping.

Changes:

  • Replaced the VSYC-26 hero <picture> (JPG/WebP) with a single SVG <img> across the VSYC-26 landing page and sub-pages.
  • Added a new assets/images/vsyc-marigolds-hero.svg illustration asset.
  • Updated assets/css/vsyc26.css hero image fitting from object-fit: cover to object-fit: fill.

Reviewed changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
vsyc26.html Removes old hero image preload and swaps hero media to the new SVG.
vsyc26-venue.html Swaps page-hero nature image to the new SVG.
vsyc26-terms.html Swaps page-hero nature image to the new SVG.
vsyc26-sponsors.html Swaps page-hero nature image to the new SVG.
vsyc26-schedule.html Swaps page-hero nature image to the new SVG.
vsyc26-rules.html Swaps page-hero nature image to the new SVG.
vsyc26-register.html Swaps page-hero nature image to the new SVG.
vsyc26-faq.html Swaps page-hero nature image to the new SVG.
assets/images/vsyc-marigolds-hero.svg Adds the new vector hero illustration used site-wide on VSYC-26 pages.
assets/css/vsyc26.css Updates hero image fitting behavior to fill containers with the SVG.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread vsyc26.html
</div>
<div class="hero-skyline">
<picture><source srcset="assets/images/vsyc-marigolds-hero.webp" type="image/webp"/><img src="assets/images/vsyc-marigolds-hero.jpg" alt="" aria-hidden="true" decoding="async" width="1168" height="784"/></picture>
<img src="assets/images/vsyc-marigolds-hero.svg" alt="" aria-hidden="true" width="1440" height="280"/>
@dmvthrowers dmvthrowers restored the fix/vsyc-hero-svg branch May 10, 2026 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

assets Asset file changes content HTML content changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants