@extends('layouts.app') @section('title', 'Page Contents') @section('content')
{{-- Header --}}

Page Contents

Manage website text & sections
+ Add Page Content
{{-- Table --}}
@forelse ($pages as $index => $page) {{-- LANGUAGE --}} {{-- CONTENT PREVIEW --}} {{-- STATUS --}} {{-- ACTION --}} @empty @endforelse
# Page Section Language Content Preview Status Action
{{ $index + 1 }} {{ $page->page }} {{ $page->section }} @if($page->locale == 'en') 🇺🇸 EN @elseif($page->locale == 'id') 🇮🇩 ID @else {{ strtoupper($page->locale) }} @endif {{ Str::limit(strip_tags($page->content), 80) }} @if ($page->is_active) Published @else Draft @endif Edit
No page content found.
@endsection