From f293b03624b6eb10633fcc44f159a86eaa4e2cf5 Mon Sep 17 00:00:00 2001 From: Monica Wheeler Date: Mon, 23 Oct 2023 12:37:23 -0500 Subject: [PATCH] feat(hero): rails - add image-start class to erb --- .../sage_rails/app/views/sage_components/_sage_hero.html.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/lib/sage_rails/app/views/sage_components/_sage_hero.html.erb b/docs/lib/sage_rails/app/views/sage_components/_sage_hero.html.erb index be686714c7..0a867238da 100644 --- a/docs/lib/sage_rails/app/views/sage_components/_sage_hero.html.erb +++ b/docs/lib/sage_rails/app/views/sage_components/_sage_hero.html.erb @@ -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 @@ -43,6 +44,7 @@ <%= content_for :sage_hero_footer_actions %> <% end %> + <% if component.cta_attributes.present? %> @@ -57,4 +59,5 @@ <%= artwork %> <% end %> +