Sha256: f6265dec81f9d0b2d3452b2517be6addfc7b3f4d9d4e106bbca7d1367a8d21f0

Contents?: true

Size: 1.37 KB

Versions: 42

Compression:

Stored size: 1.37 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" data-role="group-primary-text">
          <% if title? %>
            <header class="slide-header" data-role="header">
              <h3 class="slide-title" data-role="title">
                <%= title %>
              </h3>  
            </header>
          <% end %>

          <% if text_1? %>
            <div class="slide-text" data-role="text-primary">
              <%= text_1 %>
            </div>
          <% end %>
        </div>

        <% if image_1? %>
          <div class="slide-media" data-role="media-primary">
            <div class="slide-media-wrapper">
              <%= image_1 %>
            </div>
          </div>
        <% end %>
        
        <div class="slide-group" data-role="group-secondary-text">
          <% if text_2? %>
            <div class="slide-text" data-role="text-secondary">
              <%= text_2 %>
            </div>
          <% end %>
        </div>
        
        <% if image_2? %>
          <div class="slide-media" data-role="media-secondary">
            <div class="slide-media-wrapper">
              <%= image_2 %>
            </div>
          </div>
        <% end %>
      </div>
    </div>
  </div>
<% end %>

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
coveragebook_components-0.8.4 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.8.3 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.8.2 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.8.1 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.8.0 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.8.0.beta.3 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.8.0.beta.2 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.8.0.beta.1 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.7.10 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.7.9 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.7.8 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.7.7 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.7.6 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.7.5 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.7.4 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.7.3 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.7.2 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.7.1 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.7.0 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.6.5 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb