cms/resources/views/admin/pages/index.blade.php
Funky Waddle 37ed997989 feat(cms): initialize Laravel project structure and core CMS files
- Added standard Laravel directory structure and configuration.

- Included Svelte and Tailwind configuration for the admin interface.

- Added core PHPUnit and testing scripts.
2026-04-13 12:48:06 -05:00

22 lines
714 B
PHP

@extends('layouts.admin')
@section('content')
<div id="app"
data-component="PageIndex"
data-admin-path="{{ env('ADMIN_PATH', 'loom') }}"
data-pages="{{ json_encode($pages->map(function($p) {
return [
'id' => $p->id,
'title' => $p->title,
'slug' => $p->slug,
'author' => $p->author?->name,
'is_published' => $p->is_published,
'updated_at' => $p->updated_at->diffForHumans()
];
})->toArray()) }}">
<div class="ui active inverted dimmer">
<div class="ui text loader">Loading Pages...</div>
</div>
</div>
@endsection