Sha256: 50976ab5e53578f72a852bf0e666a496c9f6990e2a85cddae9ebb4c33580be26

Contents?: true

Size: 614 Bytes

Versions: 1

Compression:

Stored size: 614 Bytes

Contents

<%= render(Yattho::Alpha::Layout.new) do |component| %>
  <% component.with_main(border: true) { "Main" } %>
  <% component.with_sidebar(row_placement: :start, border: true) { "Sidebar" } %>
<% end %>
<%= render(Yattho::Alpha::Layout.new(mt: 5)) do |component| %>
  <% component.with_main(border: true) { "Main" } %>
  <% component.with_sidebar(row_placement: :end, border: true) { "Sidebar" } %>
<% end %>
<%= render(Yattho::Alpha::Layout.new(mt: 5)) do |component| %>
  <% component.with_main(border: true) { "Main" } %>
  <% component.with_sidebar(row_placement: :none, border: true) { "Sidebar" } %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yattho_view_components-0.0.1 previews/docs/alpha_layout_preview/sidebar_placement_as_row.html.erb