Sha256: 84147e87b3a10bd2d61e7becfd5c9cba6bb8968a81185f5de674a4d9f4bea5c1

Contents?: true

Size: 595 Bytes

Versions: 1

Compression:

Stored size: 595 Bytes

Contents

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