Skip to content

Image-driven homepage: hero, logo overlay, and performance strip - #2

Merged
cpmpercussion merged 2 commits into
mainfrom
claude/homepage-image-styling-2x0jcp
Jul 10, 2026
Merged

cpmpercussion merged 2 commits into
mainfrom
claude/homepage-image-styling-2x0jcp

Conversation

@cpmpercussion

Copy link
Copy Markdown
Contributor

Gives the homepage a more dynamic, image-driven style built entirely from performance photos already in the repo.

What's new

Full-bleed hero with the lab logo over a rotating photo

  • The white SMCClab wordmark (assets/lab-logo/smcclab-white.png) is layered over the hero with a drop shadow and a dark/warm scrim so it stays legible on any background.
  • The hero background is chosen at random on each visit from five dark, dramatic landscape performance photos (both NIME 2026 shots, SMCClab Live VR, Dream Tent, Beyond Realms). A stable server-rendered default means no-JS visitors still get a proper hero. The image list is a data-hero-images attribute, so adding/removing a photo is a one-line edit.
  • Overlaid mission headline, lead sentence, and two call-to-action buttons linking to /performances/ and /join/.

Dynamic research/teaching images

  • The four Research Areas images and the Teaching image get rounded corners, a soft shadow, and a subtle hover lift (new .feature-img class), plus descriptive alt text (they were previously empty).

"On stage" performance strip

  • A full-bleed band with a horizontally scrolling, snap-aligned row of seven curated performance photos, each linking through to the performances page.

Notes

  • The theme prints an <h1 class="page-title">SMCClab</h1> above the content, which was redundant once the logo wordmark is in the hero. It's now visually hidden on the homepage only (via :has(.home-hero)) but kept in the DOM as the page's h1 for SEO and screen readers.
  • Added body { overflow-x: hidden } to support the full-bleed sections; as a side benefit it also clips a pre-existing horizontal overflow from the Mailchimp form.
  • Only index.md and assets/style.css changed. Verified with a local Jekyll build and screenshots at desktop and mobile widths, including the logo's legibility across the full rotation pool.

🤖 Generated with Claude Code

https://claude.ai/code/session_01PUgUwdX2TPAh7yQzV96xTR


Generated by Claude Code

claude added 2 commits July 10, 2026 09:04
Give the homepage a more dynamic, performance-led look built from the
lab's own stage photography:

- Full-bleed hero banner using a NIME 2026 performance photo, with a
  warm/dark scrim, overlaid mission headline, and call-to-action buttons
  to the performances and join pages.
- Rounded, shadowed research/teaching section images with a subtle
  hover lift (new .feature-img class) plus descriptive alt text.
- A full-bleed "On stage" strip: a horizontally scrolling row of
  curated performance photos linking through to the performances page.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PUgUwdX2TPAh7yQzV96xTR
Add the white SMCClab wordmark on top of the hero, and rotate the hero
background across a curated pool of dark, dramatic performance photos —
a different one is chosen on each visit (with a stable server-rendered
default for no-JS visitors).

- Overlay assets/lab-logo/smcclab-white.png in the hero, with a drop
  shadow and a slightly stronger scrim so it stays legible on any photo.
- Rotate the background client-side from five performance images.
- Visually hide the theme's redundant page-title on the homepage while
  keeping it in the accessibility tree / for SEO as the page h1.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PUgUwdX2TPAh7yQzV96xTR
Copilot AI review requested due to automatic review settings July 10, 2026 09:11
@cpmpercussion
cpmpercussion merged commit 29000b0 into main Jul 10, 2026
1 check passed

Copilot AI left a comment

Copy link
Copy Markdown

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 Jekyll homepage to be more image-driven by introducing a full-bleed hero section with a randomized background photo + logo overlay, adds a horizontally scrolling “On stage” performance strip, and improves presentation/accessibility of the research/teaching images.

Changes:

  • Added a full-bleed homepage hero with overlaid logo, headline, CTAs, and a small inline script to randomly pick a background image.
  • Added a full-bleed “On stage” horizontal photo strip linking to /performances/.
  • Added new homepage CSS for hero/strip styling and a .feature-img treatment for research/teaching images.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
index.md Replaces the simple intro + static image with a new hero section, adds randomized hero background JS, improves image alt text, and adds the “On stage” strip.
assets/style.css Adds homepage-specific styling for the hero, buttons, feature images, and performance strip (plus an overflow rule).

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

Comment thread assets/style.css
Comment on lines +95 to +96
/* prevent full-bleed sections from creating a horizontal scrollbar */
body { overflow-x: hidden; }
Comment thread assets/style.css
Comment on lines +208 to +228
.hero-btn:hover,
.hero-btn:focus {
transform: translateY(-2px);
background: rgba(255,255,255,0.14);
-webkit-text-fill-color: #fff; /* override the global gradient-text link hover */
color: #fff;
text-decoration: none;
}

.hero-btn-primary {
border-color: transparent;
color: #2a0f0f;
background: linear-gradient(180deg, rgba(255,188,48,1) 0%, rgba(255,120,80,1) 100%);
}

.hero-btn-primary:hover,
.hero-btn-primary:focus {
color: #2a0f0f;
-webkit-text-fill-color: #2a0f0f;
filter: brightness(1.05);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants