Skip to content

Commit

Permalink
Merge pull request #354 from nypublicradio/mwalsh/smaller-header
Browse files Browse the repository at this point in the history
FE-136 Use smaller hero image on desktop
  • Loading branch information
walsh9 authored Aug 1, 2024
2 parents 6f6a34d + fcd93e6 commit 4495958
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/centennial/centennial-header/template.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="centennial-header">
<h1 class="centennial-header_heading">
<picture div class="centennial-header__hero">
<source src="{{staticAssetPath}}img/100/hero-image-desktop-x1.jpg" srcset="{{staticAssetPath}}img/100/hero-image-desktop-x1.jpg 1224w, {{staticAssetPath}}img/100/hero-image-desktop-x2.jpg 2448w, {{staticAssetPath}}img/100/hero-image-desktop-x3.jpg 3672w" media="(min-width: 1025px)">
<source src="{{staticAssetPath}}img/100/hero-image-desktop-slim-x1.jpg" srcset="{{staticAssetPath}}img/100/hero-image-desktop-slim-x1.jpg 1224w, {{staticAssetPath}}img/100/hero-image-desktop-slim-x2.jpg 2448w, {{staticAssetPath}}img/100/hero-image-desktop-slim-x3.jpg 3672w" media="(min-width: 1025px)">
<img src="{{staticAssetPath}}img/100/hero-image-responsive-x1.jpg" srcset="{{staticAssetPath}}img/100/hero-image-responsive-x1.jpg 375w, {{staticAssetPath}}img/100/hero-image-responsive-x2.jpg 750w, {{staticAssetPath}}img/100/hero-image-responsive-x3.jpg 1125w" alt="A Century of the New York Conversation">
</picture>
</h1>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/assets/img/100/hero-image-desktop-x1.jpg
Binary file not shown.
Binary file removed public/assets/img/100/hero-image-desktop-x2.jpg
Binary file not shown.
Binary file removed public/assets/img/100/hero-image-desktop-x3.jpg
Binary file not shown.

0 comments on commit 4495958

Please sign in to comment.