@extends('admin.layouts.app') @section('title', 'Pages') @section('page-title', 'Pages') @section('content')
Every static page of the website — create, edit, duplicate, publish or move to trash from one place.
| Page | Status | Updated | Actions | |
|---|---|---|---|---|
|
{{ $page->page_icon }}
@if($status !== 'trash')
{{ $page->title }}
@else
{{ $page->title }}
@endif
|
@if($page->trashed()) In Trash @elseif($page->is_active) Published @else Draft @endif | {{ optional($page->updated_at)->format('d M Y') }} | ||
|
{{ $status === 'trash' ? '🗑️' : '📄' }}
{{ $status === 'trash' ? 'Trash is empty' : ($search !== '' ? 'No pages match your search' : 'No pages yet') }}{{ $status === 'trash' ? 'Nothing has been deleted. Trashed pages appear here and can be restored.' : ($search !== '' ? 'Try a different title or slug.' : 'Create your first page to get started.') }} @if($status !== 'trash' && $search === '') + Add Page @endif |
||||