feat: update seeder with real YouTube video URLs and update technical blueprint

This commit is contained in:
2026-01-23 18:07:40 +07:00
parent 29ff8992b9
commit 82fe5f8a79
47 changed files with 257 additions and 1811 deletions

View File

@@ -21,7 +21,7 @@ class CourseForm
->required(),
TextInput::make('slug')
->required(),
Textarea::make('description')
\Filament\Forms\Components\RichEditor::make('description')
->columnSpanFull(),
Select::make('level_id')
->relationship('level', 'name'),
@@ -29,9 +29,13 @@ class CourseForm
->required()
->numeric()
->default(0)
->prefix('$'),
TextInput::make('thumbnail_url')
->url(),
->prefix('IDR'),
\Filament\Forms\Components\FileUpload::make('thumbnail_url')
->disk('r2')
->directory('thumbnails')
->visibility('public')
->image()
->imageEditor(),
Toggle::make('is_published')
->required(),
Textarea::make('metadata')