Sha256: 9fa01c48e46dd62fc1ec44e78109a22e366049ca58225ac9b611c0992e3a9d2c
Contents?: true
Size: 1013 Bytes
Versions: 12
Compression:
Stored size: 1013 Bytes
Contents
require_relative '../helpers/indented_grid' Coprl::Presenters.define(:layouts) do helpers Demo::Helpers::IndentedGrid attach :top_nav attach :component_drawer page_title 'Layouts' indented_grid do headline 'Grid' grid do (1..12).each do |size| column 1, color: :lightgray do body '1' end end end grid do (1..3).each do |size| column 4, color: :lightgray do body '4' end end end grid do column 6, color: :lightgray do body '6 wide with sub-grid of 12' grid do (1..12).each do |size| column 1, color: :white do body '1' end end end end column 4, color: :lightgray do body '4' end column 2, color: :lightgray do body '2' end end headline 'Padding' body "See the [padding demo](#{presenters_path(:padding)})" attach :code, file: __FILE__ end end
Version data entries
12 entries across 12 versions & 1 rubygems