Update HomePageSettings to use file upload for background video: replace text input with FileUpload component, enforce file type and size restrictions, and adjust video source path in the homepage view for proper video display.
This commit is contained in:
1 parent
2d1c7ea4f9
commit
d316f392bc
3 files changed
+8
-6
No files matched your search
@@ -35,7 +35,7 @@ public function form(Form $form): Form
|
||||
->required()
|
||||
->maxLength(255),
|
||||
FileUpload::make('solutions_image')
|
||||
->label('Image')
|
||||
->label('Image 1060x453')
|
||||
->image()
|
||||
->directory('solutions')
|
||||
->required(),
|
||||
|
||||
Reference in new issue
Block a user