@extends('admin.layouts.app') @php use App\Support\AdminOptions; $editing = $article->exists; $json = fn (?array $value) => $value ? json_encode($value, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE) : ''; $formatButtons = [ ['label' => 'Paragraf', 'icon' => 'paragraph', 'wrap' => "

|

"], ['label' => 'Judul H2', 'icon' => 'type-h2', 'wrap' => "

|

"], ['label' => 'Judul H3', 'icon' => 'type-h3', 'wrap' => "

|

"], ['label' => 'Tebal', 'icon' => 'type-bold', 'wrap' => "|"], ['label' => 'Miring', 'icon' => 'type-italic', 'wrap' => "|"], ['label' => 'Daftar', 'icon' => 'list-ul', 'wrap' => ""], ['label' => 'Daftar bernomor', 'icon' => 'list-ol', 'wrap' => "
    \n
  1. |
  2. \n
"], ['label' => 'Kutipan / Callout', 'icon' => 'quote', 'wrap' => "
Catatan: |
"], ['label' => 'Link', 'icon' => 'link-45deg', 'wrap' => '|'], ]; @endphp @section('title', $editing ? 'Ubah Artikel' : 'Tulis Artikel') @section('breadcrumb') @endsection @section('actions') @if ($editing) @if ($article->is_published) Lihat @endif
@csrf @method('DELETE')
@endif @endsection @section('content')
@csrf @if ($editing) @method('PUT') @endif
{{-- 1. Konten Utama --}}
{{-- 2. Target Hero Profile Card (Opsional) --}}
{{-- 3. Quick Counter Cheat Sheet (JSON) --}}
{{-- 4. Do's & Don'ts Comparison --}}
{{-- 5. Rekomendasi 6 Item Build --}}
{{-- Publikasi & Metadata --}}
{{-- Statistik & Voting --}}
@endsection