Adds a Filament admin (Profile settings page plus CRUD resources for Education, Experience, Projects, and Posts) backing a public-facing personal site: hero/about/timeline home page, project showcase, and blog, styled with a dark editorial theme (Fraunces + Instrument Sans). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
20 lines
401 B
PHP
20 lines
401 B
PHP
<?php
|
|
|
|
namespace App\Filament\Resources\Posts\Pages;
|
|
|
|
use App\Filament\Resources\Posts\PostResource;
|
|
use Filament\Actions\DeleteAction;
|
|
use Filament\Resources\Pages\EditRecord;
|
|
|
|
class EditPost extends EditRecord
|
|
{
|
|
protected static string $resource = PostResource::class;
|
|
|
|
protected function getHeaderActions(): array
|
|
{
|
|
return [
|
|
DeleteAction::make(),
|
|
];
|
|
}
|
|
}
|