Sha256: ee18f6b22145b1c412ff7b5a32f9cd05f7e354e8edcca838afc7b6556e3bce60

Contents?: true

Size: 408 Bytes

Versions: 1

Compression:

Stored size: 408 Bytes

Contents

<%= render(Yattho::Alpha::Layout.new) do |component| %>
  <% component.with_main(border: true) { "Main" } %>
  <% component.with_sidebar(col_placement: :start, border: true) { "Sidebar" } %>
<% end %>
<%= render(Yattho::Alpha::Layout.new( mt: 5)) do |component| %>
  <% component.with_main(border: true) { "Main" } %>
  <% component.with_sidebar(col_placement: :end, 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.html.erb