Skip to content

Commit

Permalink
feat(hero): rails - add image-start class to erb
Browse files Browse the repository at this point in the history
  • Loading branch information
monicawheeler committed Oct 23, 2023
1 parent fc467f2 commit f293b03
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<%= "sage-hero--borderless" if component.borderless %>
<%= "sage-hero--contained" if component.contained %>
<%= "sage-hero--custom-background-color" if component.custom_background_color %>
<%= "sage-hero--image-start" if component.image_start %>
<%= component.generated_css_classes %>
"
data-js-hero
Expand All @@ -43,6 +44,7 @@
<%= content_for :sage_hero_footer_actions %>
<% end %>
</div>

<% if component.cta_attributes.present? %>
<a
<% component.cta_attributes.each do |key, value| %>
Expand All @@ -57,4 +59,5 @@
<%= artwork %>
</div>
<% end %>

</article>

0 comments on commit f293b03

Please sign in to comment.