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.16.0 app/components/coco/book/editable_slide/editable_slide.html.erb
coveragebook_components-0.15.0 app/components/coco/book/editable_slide/editable_slide.html.erb
coveragebook_components-0.14.0 app/components/coco/book/editable_slide/editable_slide.html.erb
coveragebook_components-0.13.1 app/components/coco/book/editable_slide/editable_slide.html.erb
coveragebook_components-0.13.0 app/components/coco/book/editable_slide/editable_slide.html.erb
coveragebook_components-0.12.2 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.12.1 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.12.0 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.11.0 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.10.1.beta.2 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.10.1.beta.1 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.10.1.beta.0 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.10.0 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.9.1 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.9.0 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.8.9 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.8.8 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.8.7 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.8.6 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
coveragebook_components-0.8.5 app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb