Sha256: 9cb946718eef83eda1872224800ac7e79fefab59e1ccb2b2ae25a049507c5ac7
Contents?: true
Size: 1.48 KB
Versions: 153
Compression:
Stored size: 1.48 KB
Contents
<% href ||= false text ||= false hover_border ||= false data_attributes ||= {} data_attributes[:module] = 'track-click' if data_attributes.any? %> <% if href && text %> <div class="gem-c-chevron-banner <%= "gem-c-chevron-banner--hover-border" if hover_border %>"> <%= link_to href, class: "gem-c-chevron-banner__link", data: data_attributes, role: "link" do %> <span class="gem-c-chevron-banner__text"><%= text %></span> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 175 109" class="gem-c-chevron-banner__chevron" preserveAspectRatio="xMidYMid meet"> <path class="gem-c-chevron-banner__chevron-point" fill="#E61E32" fill-rule="nonzero" d="M91.611 51.664c1.0371 1.1432 1.0375 2.8869.000802 4.0305l-44.991 49.634c-.37092.40919-.33989 1.0416.069307 1.4125.18394.16674.42334.25909.6716.25909h36.892c.55978 0 1.0939-.2346 1.4727-.6468l46.534-50.643c1.0549-1.148 1.0546-2.9127-.000709-4.0604L85.3617.64689c-.37873-.41188-.91268-.64628-1.4722-.64628h-36.891c-.55228 0-1 .44772-1 1 0 .24841.092454.48792.25936.6719l45.352 49.992z" transform="translate(0 1)"></path> <path class="gem-c-chevron-banner__chevron-base" fill="#E61E32" fill-rule="nonzero" d="M-37.997 1l.35768 107h40.408c.55978 0 1.0939-.2346 1.4727-.6468l46.534-50.643c1.0549-1.148 1.0546-2.9127-.0007095-4.0604l-46.898-51.003c-.37873-.41188-.91268-.64628-1.4722-.64628h-40.402z" vector-effect="non-scaling-stroke"></path> </svg> <% end %> </div> <% end %>
Version data entries
153 entries across 153 versions & 1 rubygems