Skip to content

Commit

Permalink
fix(homepage): use image_tag helper
Browse files Browse the repository at this point in the history
  • Loading branch information
castrolem committed Sep 12, 2019
1 parent b9a4461 commit 4591b4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/static_pages/home.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
</div>
</section>

<img class="mobile-section-photo" alt="Help us fund our mission" src="assets/donate_photo_1_mobile.jpg" />
<%= image_tag('donate_photo_1_mobile.jpg', class: 'mobile-section-photo', alt: 'Help us fund our mission') %>

<section id="money">
<div class="content">
Expand All @@ -63,7 +63,7 @@
</div>
</section>

<img class="mobile-section-photo" alt="Push us closer to future projects" src="assets/donate_photo_2_mobile.jpg" />
<%= image_tag('donate_photo_2_mobile.jpg', class: 'mobile-section-photo', alt: 'Push us closer to future projects') %>

<section id="cause">
<div class="content">
Expand Down

0 comments on commit 4591b4a

Please sign in to comment.