SHARE
TWEET

Untitled

a guest May 21st, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @if( isset( $highlights2 ) && count( $highlights2 ) )
  2.     <div>
  3.         <h2>{{ __('Em destaque','agif') }}</h2>
  4.         <div class="home__highlights__cta">
  5.             <a href="#" class="agif-button agif-button__wsymbol agif-button__wsymbol--top-right agif-button__wsymbol--green">{{ __('Ver Todos', 'agif') }}</a>
  6.         </div>
  7.         <div class="row">
  8.             <div class="col-12 col-md-8">
  9.                 <a href="{!! get_permalink($highlights2[0]['detalhe']->ID) !!}">
  10.                     <picture >
  11.                         <source srcset="{{ App\imageResize($highlights2[0]['imagem']['url'], 600) }}, {{ App\imageResize($highlights2[0]['imagem']['url'], 1200) }} 2x" media="(min-width:376px)">
  12.                         <img src="{{ App\imageResize($highlights2[0]['imagem']['url'], 375) }}" srcset="{{ App\imageResize($highlights2[0]['imagem']['url'], 375) }}, {{ App\imageResize($highlights2[0]['imagem']['url'], 750) }} 2x" alt="{{ $highlights2[0]['introducao'] }}">
  13.                     </picture>
  14.                     <div>
  15.                     {!! $highlights2[0]['introducao'] !!}
  16.                     </div>
  17.                 </a>
  18.             </div>
  19.             @foreach ( $highlights2->slice(1) as $highlight2 )
  20.                 <div class="col-12 col-md-4">
  21.                     <div class="row no-gutters">
  22.                         <div class="col-12">
  23.                             <picture >
  24.                                 <source srcset="{{ App\imageResize($highlight2['imagem']['url'], 600) }}, {{ App\imageResize($highlight2['imagem']['url'], 1200) }} 2x" media="(min-width:376px)">
  25.                                 <img src="{{ App\imageResize($highlight2['imagem']['url'], 375) }}" srcset="{{ App\imageResize($highlight2['imagem']['url'], 375) }}, {{ App\imageResize($highlight2['imagem']['url'], 750) }} 2x" alt="{{ $highlight2['introducao'] }}">
  26.                             </picture>
  27.                         </div>
  28.                     </div>
  29.                 </div>
  30.             @endforeach
  31.         </div>
  32.     </div>
  33. @endif
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top