Initial commit

This commit is contained in:
2025-10-11 17:02:49 +02:00
commit 92056f073f
243 changed files with 27536 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<?php
namespace App\Filament\Resources\Photos\Schemas;
use Filament\Forms\Components\FileUpload;
use Filament\Forms\Components\TextInput;
use Filament\Schemas\Schema;
class PhotoForm
{
public static function configure(Schema $schema): Schema
{
return $schema
->components([
TextInput::make('name')
->label('Nazwa')
->required()
->maxLength(2048),
TextInput::make('description')
->label('Opis')
->maxLength(2048)
->default(null),
FileUpload::make('photo')
->image()
->imageEditor()
->disk('public')
->directory('photos')
->label('Zdjęcie'),
]);
}
}