-page_title("Home") #home - if !@home.nil? .container .row .col-12.mb-sm-5 %a{"href" => @home.top_banner_link, "target" => "_blank"} = image_tag @home.top_banner_url, alt: @home.top_banner_description, title: @home.top_banner_description, class: 'card-img-top mx-auto mx-md-0 img-fluid' / Destaque principal .container.destPrincipals / // Destaque principal .row.align-items-start.pb-3.bgWhite / Caixa 1 Destaque Maior .destCard-1.col-sm-6.col-md-12.col-lg-6 = render '/layouts/site/home_generic_card', content: @home.home_primary_section.home_contents[0], css: @home.home_primary_section.home_contents[0].section.css_class / // Caixa 1 Destaque Maior / Caixa 2 Destaque médio .destCard-2.col-sm-3.col-md-6.col-lg-3 = render '/layouts/site/home_generic_card', content: @home.home_primary_section.home_contents[1], css: @home.home_primary_section.home_contents[1].section.css_class / // Caixa 2 Destaque médio / Caixa 3 Destaques pequenos .destCard-3.col-sm-3.col-md-6.col-lg-3 = render '/layouts/site/home_generic_card', content: @home.home_primary_section.home_contents[2], css: @home.home_primary_section.home_contents[2].section.css_class .div.pb-1 = render '/layouts/site/home_generic_card', content: @home.home_primary_section.home_contents[3], css: @home.home_primary_section.home_contents[3].section.css_class .col-12.text-right.veja-mais.mb-5 %a{:href => "/noticias"} veja mais notícias %hr/ / // Destaque principal / Destaque secundario .container.destSecundario.bgWhite.bg %div - @home.home_secondary_sections.each_with_index do |home_secondary_section| %div{"v-bind:class" => "cardsDestaques.destSec1_cssClass + ' col-12 line-top'"} .row.align-items-start .col-12 %h1{:class => home_secondary_section.section.css_class} #{home_secondary_section.section.name} - home_secondary_section.home_contents.each_with_index do |home_content| .col-sm-4 = render '/layouts/site/home_generic_card', content: home_content, css: home_secondary_section.section.css_class .col-12.text-right.veja-mais %a{"href" => home_secondary_section.section.slug} veja mais