Rework admin panel and other

This commit is contained in:
F4ilji
2025-04-02 18:37:20 +05:00
parent 49072e50c7
commit 5cd6ff11b5
198 changed files with 9715 additions and 6664 deletions
@@ -0,0 +1,27 @@
<?php
namespace App\Filament\Components\Forms\ItemForm\Blocks;
use App\Filament\Components\Forms\ItemForm\Blocks\BlockSchema;
use Filament\Forms\Components\TextInput;
class HeadingBlock implements BlockSchema
{
public static function schema(): array
{
return [
TextInput::make('id')
->hidden()
->integer()
->default(rand(2335235, 324634264263426)),
TextInput::make('content')
->label('Текст заголовка')
->placeholder('Введите текст заголовка')
->helperText('Основной заголовок раздела')
->live(onBlur: true)
->required()
->maxLength(255),
];
}
}