First Commit
This commit is contained in:
+28
@@ -0,0 +1,28 @@
|
||||
@extends('layouts.legal')
|
||||
|
||||
@section('header', $document->title)
|
||||
|
||||
@section('breadcrumbs')
|
||||
@php
|
||||
$breadcrumbs = [
|
||||
'Início' => route('welcome'),
|
||||
($document->type === 'terms-of-service' ? 'Termos de Uso' : 'Política de Privacidade') => route('legal.document.show', $document->type),
|
||||
];
|
||||
@endphp
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="card shadow">
|
||||
<div class="card-header py-3">
|
||||
<div>
|
||||
<h5 class="m-0 fw-bold text-primary">{{ $document->title }}</h5>
|
||||
<small class="text-muted">Versão {{ $document->version }} - {{ $document->published_at ? $document->published_at->format('d/m/Y') : 'Não publicado' }}</small>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="legal-content">
|
||||
{!! nl2br(e($document->content)) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user