@extends('temas.theme-seven.layout') @section('content')
@if($conteudo->conteudos() ->where('tipo','video_sobre') -> first())
{!! $conteudo->conteudos() ->where('tipo','video_sobre') -> first() ->descricao !!}
{{ csrf_field() }}
@else @if($conteudo -> conteudos() -> where('tipo','imagem_sobre') ->first()) @else Escritório @endif @endif
@if($conteudo->conteudos()->where('tipo','titulo_sobre')->first())

{!! $conteudo->conteudos()->where('tipo','titulo_sobre')->first()->descricao !!}

@else

SOBRE O ESCRITÓRIO

@endif @if($conteudo->conteudos()->where('tipo','texto_sobre')->first())
{!! substr(($conteudo->conteudos()->where('tipo','texto_sobre')->first()->descricao), 0, 500) !!}...
@else

Dotado de uma estrutura ágil, abrangente, com os melhores recursos humanos e tecnológicos do mercado, nosso escritório está plenamente apto a atender às demandas e aos interesses de seus clientes, com dedicação, lealdade e eficiência de resultados, razões pelas quais alcançou prestígio e respeitabilidade no mercado.

Por meio de grupos de estudos e pesquisas, o escritório atua na vanguarda perante os Tribunais do país, contribuindo com a consolidação da jurisprudência, bem como em sintonia com os principais doutrinadores das áreas nas quais atua.

A equipe possui habilidades múltiplas para oferecer as melhores soluções aos seus clientes, com uma equipe de advogados de sólida formação e comprovada experiência profissional.

@endif
@foreach($conteudo ->conteudos() -> where('tipo','area_atuacao_fa_5') ->get() as $atuacao)

{{$atuacao ->nome}}

{!!strip_tags($atuacao -> descricao)!!}

{{ csrf_field() }}
@endforeach
@foreach($conteudo ->conteudos() ->where('tipo','profissional') ->get() as $key => $profissional)
@empty($profissional ->imagem) @else @endempty

{{$profissional ->nome}}

{{substr(strip_tags($profissional -> descricao), 0, 190)}}

Mais
{{ csrf_field() }}
@endforeach
@if($conteudo -> conteudos() -> where('tipo','maps_localizacao') ->first())
{!! $conteudo -> conteudos() -> where('tipo','maps_localizacao') ->first() ->descricao !!}
@else
@endif
{{-- banner_video --}} @if($conteudo->conteudos()->where('tipo','video_sobre')->first()) @include('temas.componentes.video.edit',[ 'conteudo' => $conteudo->conteudos()->where('tipo','video_sobre')->first(), 'label' => 'Cole o link do seu vídeo', 'id' => 'video_sobre_modal_edit', 'tipo' => 'video_sobre', ]) @else @include('temas.componentes.video.create',[ 'conteudo' => $conteudo, 'label' => 'Cole o link do seu vídeo', 'id' => 'video_sobre_modal_edit', 'tipo' => 'video_sobre', ]) @endif {{-- politicas --}} @if($conteudo->conteudos()->where('tipo','politicas_privacidade')->first()) @include('temas.componentes.politicas.edit',[ 'conteudo' => $conteudo->conteudos()->where('tipo','politicas_privacidade')->first(), 'label' => 'Política de privacidade', 'id' => 'politicas_privacidade_modal_create', 'tipo' => 'politicas_privacidade', ]) @else @include('temas.componentes.politicas.create',[ 'label' => 'Política de privacidade', 'tipo' => 'politicas_privacidade', 'id' => 'politicas_privacidade_modal_create' ]) @endif @include('temas.componentes.imagem.create',[ 'conteudo' => $conteudo, 'label' => 'Imagem de fundo (Resolução sugerida 1920 x 1080)', 'id' => 'banner_home_modal_create', 'tipo' => 'banner_home', 'width' => '1920', 'height' => '700' ]) @if($conteudo->conteudos()->where('tipo','banner_home')->first()) @include('temas.componentes.imagem.edit',[ 'conteudo' => $conteudo->conteudos()->where('tipo','banner_home')->first(), 'label' => 'Imagem de fundo (Resolução sugerida 1920 x 1080)', 'id' => 'banner_home_modal_edit', 'tipo' => 'banner_home', 'width' => '1920', 'height' => '700' ]) @endif {{-- titulo_principal --}} @include('temas.componentes.textarea.create',[ 'conteudo' => $conteudo, 'label' => 'Título', 'id' => 'titulo_principal_modal_create', 'tipo' => 'titulo_principal', ]) @if($conteudo->conteudos()->where('tipo','titulo_principal')->first()) @include('temas.componentes.textarea.edit',[ 'conteudo' => $conteudo->conteudos()->where('tipo','titulo_principal')->first(), 'label' => 'Título', 'id' => 'titulo_principal_modal_edit', 'tipo' => 'titulo_principal', ]) @endif {{-- titulo_sobre --}} @include('temas.componentes.textarea.create',[ 'conteudo' => $conteudo, 'label' => 'Título', 'id' => 'titulo_sobre_modal_create', 'tipo' => 'titulo_sobre', ]) @if($conteudo->conteudos()->where('tipo','titulo_sobre')->first()) @include('temas.componentes.textarea.edit',[ 'conteudo' => $conteudo->conteudos()->where('tipo','titulo_sobre')->first(), 'label' => 'Título', 'id' => 'titulo_sobre_modal_edit', 'tipo' => 'titulo_sobre', ]) @endif {{-- texto_sobre --}} @include('temas.componentes.textarea.create',[ 'conteudo' => $conteudo, 'label' => 'Texto', 'id' => 'texto_sobre_modal_create', 'tipo' => 'texto_sobre', ]) @if($conteudo->conteudos()->where('tipo','texto_sobre')->first()) @include('temas.componentes.textarea.edit',[ 'conteudo' => $conteudo->conteudos()->where('tipo','texto_sobre')->first(), 'label' => 'Texto', 'id' => 'texto_sobre_modal_edit', 'tipo' => 'texto_sobre', ]) @endif @include('temas.componentes.texto.create',[ 'conteudo' => $conteudo, 'label' => 'Texto', 'id' => 'texto_sobre_modal_create', 'tipo' => 'titulo_sobre', ]) @if($conteudo ->conteudos() ->where('tipo','titulo_sobre') ->first()) @include('temas.componentes.texto.edit',[ 'conteudo' => $conteudo ->conteudos() -> where('tipo','titulo_sobre') ->first(), 'label' => 'Texto', 'id' => 'titulo_sobre_modal_edit', 'tipo' => 'titulo_sobre', ]) @endif {{-- imagem sobre --}} @if($conteudo ->conteudos() ->where('tipo','imagem_sobre') ->first()) @include('temas.componentes.imagem.edit',[ 'conteudo' => $conteudo ->conteudos() -> where('tipo','imagem_sobre') ->first(), 'label' => 'Imagem sobre', 'id' => 'imagem_sobre_modal_edit', 'tipo' => 'imagem_sobre', 'width' => '550', 'height' => '400' ]) @else @include('temas.componentes.imagem.create',[ 'conteudo' => $conteudo, 'label' => 'Imagem sobre', 'id' => 'imagem_sobre_modal_edit', 'tipo' => 'imagem_sobre', 'width' => '550', 'height' => '400' ]) @endif {{-- imagem de fundo profissionais --}} @include('temas.componentes.imagem.create',[ 'conteudo' => $conteudo, 'label' => 'Imagem de fundo (Profissionais) resolução sugerida 1920 x 607', 'id' => 'banner_profissionais_modal_create', 'tipo' => 'banner_profissionais', 'width' => '1920', 'height' => '607' ]) @if($conteudo ->conteudos() ->where('tipo','banner_profissionais') ->first()) @include('temas.componentes.imagem.edit',[ 'conteudo' => $conteudo ->conteudos() -> where('tipo','banner_profissionais') ->first(), 'label' => 'Imagem de fundo (Profissionais) resolução sugerida 1920 x 607', 'id' => 'banner_profissionais_modal_edit', 'tipo' => 'banner_profissionais', 'width' => '1920', 'height' => '607' ]) @endif {{-- Profissionais --}} @include('temas.componentes.profissional.create',[ 'conteudo' => $conteudo, 'label' => 'Um breve texto sobre o profissional', 'id' => 'profissional_modal_create', 'tipo' => 'profissional', ]) @if($conteudo->conteudos()->where('tipo','profissional')->first()) @foreach($conteudo -> conteudos() ->where('tipo','profissional') ->get() as $profissional) @include('temas.componentes.profissional.edit',[ 'conteudo' => $profissional, 'label' => 'Um breve texto sobre o profissional', 'id' => 'profissional_modal_edit_'.$profissional ->id, 'tipo' => 'profissional', ]) @endforeach() @endif {{-- area_atuacao fa icons 5 --}} @include('temas.componentes.area-atuacao-icon-fa-5.create',[ 'conteudo' => $conteudo, 'label' => 'Título', 'id' => 'area_atuacao_fa_5_modal_create', 'tipo' => 'area_atuacao_fa_5', ]) @foreach($conteudo->conteudos()->where('tipo','area_atuacao_fa_5')->get() as $key => $area) @include('temas.componentes.area-atuacao-icon-fa-5.edit',[ 'conteudo' => $area, 'id' => 'area_atuacao_fa_5_modal_edit'.$area->id, 'tipo' => 'area_atuacao_fa_5', ]) @endforeach {{-- localizacao --}} @include('temas.componentes.maps-localizacao.create',[ 'conteudo' => $conteudo, 'id' => 'maps_localizacao_modal_create', 'label'=> 'código', 'tipo' => 'maps_localizacao' ]) @if($conteudo ->conteudos() ->where('tipo','maps_localizacao') -> first()) @include('temas.componentes.maps-localizacao.edit',[ 'conteudo' => $conteudo ->conteudos() ->where('tipo','maps_localizacao') -> first(), 'id' => 'maps_localizacao_modal_edit', 'tipo' => 'maps_localizacao', ]) @endif {{-- Titulo dos profissionais --}} @include('temas.componentes.texto.create',[ 'conteudo' => $conteudo, 'label' => 'Título', 'id' => 'titulo_profissionais_modal_create', 'tipo' => 'titulo_profissionais', ]) @if($conteudo->conteudos()->where('tipo','titulo_profissionais')->first()) @include('temas.componentes.texto.edit',[ 'conteudo' => $conteudo->conteudos()->where('tipo','titulo_profissionais')->first(), 'label' => 'Título dos profissionais', 'id' => 'titulo_profissional_modal_edit', 'tipo' => 'titulo_profissionais', ]) @endif @endsection