<%= brand_helper.brand_class %>"
<%= "data-module=track-click" if card_helper.is_tracking? %>
<%= "lang=#{card_helper.lang}" if card_helper.lang %>>
<%= card_helper.image %>
<%= card_helper.context %>
<% if card_helper.heading_text %>
<%= content_tag(shared_helper.get_heading_level,
class: "gem-c-image-card__title") do %>
<% if card_helper.href %>
<%= link_to card_helper.heading_text, card_helper.href,
class: "gem-c-image-card__title-link #{brand_helper.color_class}",
data: card_helper.href_data_attributes
%>
<% else %>
<%= card_helper.heading_text %>
<% end %>
<% end %>
<% end %>
<%= card_helper.description %>
<% if card_helper.extra_links.any? %>
">
<% card_helper.extra_links.each do |link| %>
-
<%= link_to link[:text], link[:href],
class: "gem-c-image-card__list-item-link #{brand_helper.color_class}",
data: link[:data_attributes]
%>
<% end %>
<% end %>
<% if card_helper.metadata %>
<%= card_helper.metadata %>
<% end %>