mirror of
https://github.com/nihonbuzz/nihonbuzz-academy.git
synced 2026-01-26 13:32:07 +07:00
feat: update seeder with real YouTube video URLs and update technical blueprint
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user