@extends('layouts.admin-simple') @section('title', $page->title) @section('page-title', $page->title) @section('breadcrumb') @endsection @section('page-actions')
@if($page->is_enabled) open_in_new View Live @endif preview Preview edit Edit
@endsection @section('content')
Page Information
Title:
{{ $page->title }}
Slug:
{{ $page->slug }}
Route Name:
{{ $page->route_name }}
@if($page->meta_description)
Meta Description:
{{ $page->meta_description }}
@endif @if($page->meta_keywords)
Meta Keywords:
@foreach(explode(',', $page->meta_keywords) as $keyword) {{ trim($keyword) }} @endforeach
@endif @if($page->is_enabled) @endif
@if($page->content_sections && count($page->content_sections) > 0)
Content Sections
@foreach($page->content_sections as $key => $section)
{{ $section['title'] ?? 'Section ' . $loop->iteration }} @if(!($section['is_enabled'] ?? true)) Disabled @endif
Type: {{ ucfirst($section['type'] ?? 'text') }} Order: {{ $section['order'] ?? $loop->iteration }}
@if(!empty($section['content']))
@if(($section['type'] ?? 'text') === 'html')
HTML Content:
{{ $section['content'] }}
@else
{{ Str::limit($section['content'], 200) }} @if(strlen($section['content']) > 200) @endif
@endif
@endif
@endforeach
@endif @if($page->custom_css || $page->custom_js)
Custom Styling
@if($page->custom_css)
Custom CSS
{{ $page->custom_css }}
@endif @if($page->custom_js)
Custom JavaScript
{{ $page->custom_js }}
@endif
@endif
Page Status
Status:
Navigation: @if($page->show_in_nav) Visible in Nav @else Hidden from Nav @endif
Sort Order: {{ $page->sort_order }}
Template: {{ $page->template }}
Details
Created
{{ $page->created_at->format('M j, Y') }}
{{ $page->created_at->format('g:i A') }}
Updated
{{ $page->updated_at->format('M j, Y') }}
{{ $page->updated_at->format('g:i A') }}
@if($page->content_sections)
Content Sections
{{ count($page->content_sections) }} sections
@endif
Quick Actions
edit Edit Page @if($page->is_enabled) open_in_new View Live Page @endif
@if($page->meta_description || $page->meta_keywords)
SEO Information
@php $descLength = strlen($page->meta_description ?? ''); $percentage = min(($descLength / 160) * 100, 100); $color = $descLength < 120 ? 'warning' : ($descLength > 160 ? 'danger' : 'success'); @endphp
{{ $descLength }}/160 characters
@if($page->meta_keywords)
{{ count(explode(',', $page->meta_keywords)) }} keywords
@endif
@endif
@endsection @push('scripts') @endpush