{{-- Extends layout --}} @extends(getThemeBasePath()) @section('page_title') {{ $page_title ?? '' }} @endsection @section('content') @include('backend.hr.support_center.header')
@php $pageIcon = 'icons/duotune/' . ($page['page_icon'] ?? 'abstract/abs027.svg'); $pageColor = $page['page_color'] ?? 'primary'; @endphp {!! theme()->getSvgIcon($pageIcon, 'svg-icon-' . $pageColor . ' svg-icon-3x me-4') !!}

{{ $page['page_name'] ?? '' }}

Product: {{ env('APP_NAME', 'We Care Cloud') }} · By: We Care Cloud · Created: {{ \Carbon\Carbon::parse($page['created_at'])->diffForHumans() }} {{ '(' . \Carbon\Carbon::parse($page['created_at'])->format('d.m.Y \a\t g:i A') . ')' }}
@if($page['type'] == 'internal')
{!! $page['main_description'] ?? '' !!}
@if(!empty($page['files'])) @foreach($page['files'] as $index => $file) @continue(!auth()->user()->hasRole($file['role_slug'])) @php $fileUrl = $file['url']; $fileId = 'pdf-full-' . $index; @endphp
{{--
{{ basename($file['name']) }}
Open
--}}
@push('custom-scripts') @endpush @endforeach @endif @elseif($page['type'] == 'scribe')
{!! $page['embed_code'] ?? '' !!}
@endif
@endsection @section('scripts') @endsection