Sha256: e8185751c2de54df4a4cf2df20373542e4a343249440d14b936ab38af934fdcc
Contents?: true
Size: 901 Bytes
Versions: 24
Compression:
Stored size: 901 Bytes
Contents
<% blob = blob_from_data component[:attributes].dig(:image, :value) surtitle = component[:attributes].dig(:surtitle, :value)&.to_s title = component[:attributes].dig(:title, :value)&.to_s subtitle = component[:attributes].dig(:subtitle, :value)&.to_s %> <div class="<%= promethee_class_for(component) %>" id="<%= promethee_id_for component %>" style="background-image: url(<%= url_for(blob.variant(resize: '1920>', quality: 95)) if blob %>)"> <div class="container"> <div class="promethee__component__row"> <div class="promethee__component__content"> <% if surtitle.present? %> <p><%= surtitle %></p> <% end %> <% if title.present? %> <h1><%= title %></h1> <% end %> <% if subtitle.present? %> <p><%= subtitle %></p> <% end %> </div> </div> </div> </div>
Version data entries
24 entries across 24 versions & 1 rubygems