Sha256: 12a28636d708377fb78edf0cc4d9fd98516e8d4f46ffa81aa661cb904842601f
Contents?: true
Size: 626 Bytes
Versions: 1
Compression:
Stored size: 626 Bytes
Contents
<%= render(Yattho::Alpha::Layout.new(stacking_breakpoint: :sm)) do |component| %> <% component.with_main(border: true) { "Main" } %> <% component.with_sidebar(border: true) { "Sidebar" } %> <% end %> <%= render(Yattho::Alpha::Layout.new(stacking_breakpoint: :md, mt: 5)) do |component| %> <% component.with_main(border: true) { "Main" } %> <% component.with_sidebar(border: true) { "Sidebar" } %> <% end %> <%= render(Yattho::Alpha::Layout.new(stacking_breakpoint: :lg, mt: 5)) do |component| %> <% component.with_main(border: true) { "Main" } %> <% component.with_sidebar(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/changing_when_to_render_layout_as_columns.html.erb |