@extends('layouts.admin-sidebar') @section('title', 'Pages Management') @section('page-title', 'Pages Management') @section('page-description', 'Manage static pages and content') @section('content')

Pages Management

Manage static pages, legal documents, and content

Total Pages

{{ $pages->total() }}

Published

{{ $pages->where('status', 'published')->count() }}

Drafts

{{ $pages->where('status', 'draft')->count() }}

Recently Updated

{{ $pages->where('updated_at', '>=', now()->subDays(7))->count() }}

All Pages

@foreach($pages as $page) @endforeach
Page Slug Status Last Updated Actions
{{ $page->title }}
{{ Str::limit(strip_tags($page->content), 60) }}
/{{ $page->slug }} {{ ucfirst($page->status) }} {{ $page->updated_at->format('M j, Y g:i A') }}
@if($page->status === 'published') @else @endif

Quick Page Templates

@endsection