Sha256: b363b7b30e6bf6df764d6f28282b0fc496faba8be6f383ff1fafd501adbffe35
Contents?: true
Size: 747 Bytes
Versions: 5
Compression:
Stored size: 747 Bytes
Contents
require_relative '../helpers/indented_grid' Voom::Presenters.define(:layouts) do helpers Demo::Helpers::IndentedGrid attach :top_nav attach :component_drawer page_title 'Layouts' indented_grid do display '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' end column 4, color: :lightgray do body '4' end column 2, color: :lightgray do body '2' end end attach :code, file: __FILE__ end end
Version data entries
5 entries across 5 versions & 1 rubygems