Sha256: 1e90b0168b501afb642c2c6519d5d7c02d188fbfd776a47a6da4b748affae855
Contents?: true
Size: 1.24 KB
Versions: 2
Compression:
Stored size: 1.24 KB
Contents
<%= render component_tag(style: slide_styles, class: {"with-title": title?}) do %> <div class="slide-aspect"> <div class="slide-container"> <div class="slide-layout"> <div class="slide-group"> <% if title? %> <header class="slide-header"> <h3 class="slide-title" data-role="title"> <%= title %> </h3> </header> <% end %> <div class="slide-content" data-slide-region="content-1"> <% if text_1? %> <div class="slide-text" data-role="text-1"> <%= text_1 %> </div> <% elsif image_1? %> <div class="slide-media" data-role="media-1"> <img src="<%= image_1 %>"> </div> <% end %> </div> </div> <div class="slide-content" data-slide-region="content-2"> <% if text_2? %> <div class="slide-text" data-role="text-2"> <%= text_2 %> </div> <% elsif image_2? %> <div class="slide-media" data-role="media-2"> <img src="<%= image_2 %>"> </div> <% end %> </div> </div> </div> </div> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems