Sha256: 7316b9236b523aa6c50983b88655774eba18f4187b7e705af27d689cc1b5111f
Contents?: true
Size: 927 Bytes
Versions: 94
Compression:
Stored size: 927 Bytes
Contents
<div class="<%= @landing_config['container_classes'] ? @landing_config['container_classes'].join(' ') : '' %> container Nxd-landing-page"> <% @landing_config["page"].each do |row| %> <div class="Vlt-grid Nxd-landing-row"> <% row["row"].each do |info| %> <% if row['column_count']%> <div class="Vlt-col Vlt-col--<%= info["width"] %>of<%= row['column_count'] %> Nxd-landing-col"> <% else %> <div class="Vlt-col Nxd-landing-col"> <% end %> <% info["column"].each do |data| %> <% unless lookup_context.exists?(data['type'], "static/default_landing/partials", true) raise "Could not find the #{data['type']} partial file." end %> <%= render partial: "static/default_landing/partials/#{data['type']}", locals: data[data['type']] %> <% end %> </div> <% end %> </div> <% end %> </div>
Version data entries
94 entries across 94 versions & 1 rubygems