@php /** @var \V2\Modules\Conexoes\Associados\Models\AssociadoInstituicao $instituicao */ $tagsCollection = $instituicao->relationLoaded('tags') ? $instituicao->tags : collect(); $previewStorage = app(\V2\Services\Storage\StorageService::class); @endphp @extends('v2-portal::app-layout', [ 'pageTitle' => 'Preview — ' . $instituicao->name, 'fullWidthMain' => true, 'showHeader' => false, 'showMainHeader' => false, 'showMainFooter' => false, 'showFooter' => false, 'showAccessibilityBar' => false, 'showMainLeftArea' => false, 'showMainRightArea' => false, ]) @section('main-section-area') {{-- Simulated portal background --}}
@if($instituicao->logo) {{ $instituicao->name }} @else
@endif

{{ $instituicao->name }}

@if($tagsCollection->isNotEmpty()) @foreach($tagsCollection as $tag) {{ $tag->name }} @endforeach @else Sem tags @endif
@if($instituicao->url || $instituicao->linkedin_url || $instituicao->instagram_url || $instituicao->facebook_url)
@if($instituicao->url) @endif @if($instituicao->linkedin_url) @endif @if($instituicao->instagram_url) @endif @if($instituicao->facebook_url) @endif
@endif @if($instituicao->discount_badge) {{ $instituicao->discount_badge }} @endif @if(!empty($htmlContent))
{!! $htmlContent !!}
@endif @if(!empty($benefits))
Benefícios
    @foreach($benefits as $benefit)
  • @if(!empty($benefit['link'])) {{ $benefit['name'] }} @else {{ $benefit['name'] }} @endif
  • @endforeach
@endif
Preview — {{ $instituicao->name }}
@endsection