Enhance ManageSolutions and ManageSuccess forms: replace icon_class text input with a searchable select component in ManageSolutions, add file upload for success images in ManageSuccess, and update SuccessSettings to include success_image property. Adjust related database migrations and views for dynamic content display.
This commit is contained in:
@@ -10,12 +10,12 @@ return new class extends SettingsMigration
|
||||
$this->migrator->add('cms_solutions.solutions_header', 'Provide Quality Services');
|
||||
$this->migrator->add('cms_solutions.solutions_button_text', 'more Services');
|
||||
$this->migrator->add('cms_solutions.solutions_image', 'http://192.168.1.180:8000/web/assets/img/page/services.jpg');
|
||||
$this->migrator->add('cms_solutions.solutions_button_url', 'services.html');
|
||||
$this->migrator->add('cms_solutions.solutions_button_url', 'http://gujurly.com');
|
||||
$this->migrator->add('cms_solutions.solution_items', [
|
||||
['icon_class' => 'flaticon-it-department', 'title' => 'Flooring Installation', 'link' => '#'],
|
||||
['icon_class' => 'flaticon-project', 'title' => 'Building Architecture', 'link' => '#'],
|
||||
['icon_class' => 'flaticon-design-thinking', 'title' => 'Interior Design', 'link' => '#'],
|
||||
['icon_class' => 'flaticon-data', 'title' => 'House Renovation', 'link' => '#'],
|
||||
['icon_class' => 'flaticon-it-department', 'title' => 'Flooring Installation', 'link' => 'http://gujurly.com'],
|
||||
['icon_class' => 'flaticon-project', 'title' => 'Building Architecture', 'link' => 'http://gujurly.com'],
|
||||
['icon_class' => 'flaticon-design-thinking', 'title' => 'Interior Design', 'link' => 'http://gujurly.com'],
|
||||
['icon_class' => 'flaticon-data', 'title' => 'House Renovation', 'link' => 'http://gujurly.com'],
|
||||
]);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -15,5 +15,6 @@ return new class extends SettingsMigration
|
||||
['name' => 'Building Construction', 'percentage' => 89],
|
||||
['name' => 'Interiors Design', 'percentage' => 70],
|
||||
]);
|
||||
$this->migrator->add('cms_success.success_image', 'cms/skill.jpg');
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user