service seeder updated
This commit is contained in:
parent
ae33539f72
commit
240bc7ccfb
@ -7,6 +7,7 @@
|
||||
use Database\Seeders\Website\AboutMeSeeder;
|
||||
use Database\Seeders\Website\ProjectCategorySeeder;
|
||||
use Database\Seeders\Website\ProjectSeeder;
|
||||
use Database\Seeders\website\ServiceSeeder;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class DatabaseSeeder extends Seeder
|
||||
|
||||
@ -1,47 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
||||
use Illuminate\Database\Seeder;
|
||||
use App\Models\Service;
|
||||
|
||||
class ServiceSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
$services = [
|
||||
[
|
||||
'title' => 'Custom Web Development',
|
||||
'description' => 'We create tailored web applications that meet your unique business requirements, utilizing the latest technologies for optimal performance.',
|
||||
'imageSrc' => '/images/ui-ux-vector.svg',
|
||||
'altText' => 'Custom Web Development Vector',
|
||||
],
|
||||
[
|
||||
'title' => 'Frontend Development',
|
||||
'description' => 'Our frontend development services focus on crafting engaging, responsive user interfaces that enhance user experience across all devices.',
|
||||
'imageSrc' => '/images/web-design-vector.svg',
|
||||
'altText' => 'Frontend Development Vector',
|
||||
],
|
||||
[
|
||||
'title' => 'Backend Development',
|
||||
'description' => 'We provide reliable backend development solutions, building robust server-side architectures and APIs to ensure smooth and secure application functionality.',
|
||||
'imageSrc' => '/images/app-design-vector.svg',
|
||||
'altText' => 'Backend Development Vector',
|
||||
],
|
||||
[
|
||||
'title' => 'Website Maintenance and Support',
|
||||
'description' => 'Our ongoing maintenance and support services keep your website updated, secure, and performing at its best, allowing you to focus on your core business.',
|
||||
'imageSrc' => '/images/graphic-design-vector.svg',
|
||||
'altText' => 'Website Maintenance and Support Vector',
|
||||
],
|
||||
];
|
||||
|
||||
foreach ($services as $service) {
|
||||
Service::create($service);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user