@extends('layouts.app') @section('body_class', 'page-legal') @section('content') @php $policies = [ 'privacy-policy' => ['Privacy policy', 'privacy', 'lock'], 'terms' => ['Terms of use', 'terms', 'check'], 'refund-policy' => ['Refund policy', 'refund', 'download'], ]; @endphp {{-- HERO --}} Legal {{ $page->title }} Last updated {{ $page->updated_at->format('j F Y') }} @if ($toc){{ count($toc) }} sections@endif @foreach ($policies as $slug => [$label, $route, $icon]) $page->slug === $slug]) @if ($page->slug === $slug) aria-current="page" @endif>{{ $label }} @endforeach @if (count($toc) > 1) @endif {!! $body !!} Last updated {{ $page->updated_at->format('j F Y') }}. For any question, contact us. @endsection
Legal
Last updated {{ $page->updated_at->format('j F Y') }} @if ($toc){{ count($toc) }} sections@endif
Last updated {{ $page->updated_at->format('j F Y') }}. For any question, contact us.