53 lines
2.2 KiB
PHP
53 lines
2.2 KiB
PHP
<?php
|
|
|
|
namespace Database\Seeders\Website;
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use App\Models\Website\Service;
|
|
|
|
class ServiceSeeder extends Seeder
|
|
{
|
|
public function run()
|
|
{
|
|
$services = [
|
|
[
|
|
'imageSrc' => '/images/ui-ux-vector.svg',
|
|
'title' => [
|
|
'en' => 'Senior Frontend Engineering',
|
|
'fa' => 'توسعه فرانتاند ارشد',
|
|
],
|
|
'description' => [
|
|
'en' => 'Building ultra-fast SSR/Static apps, complex state management, and modern UI architectures focusing on core web vitals.',
|
|
'fa' => 'خلق SPAها و SSRهای بسیار سریع با Next.js، مدیریت استیتهای پیچیده و بهینهسازی Core Web Vitals',
|
|
],
|
|
],
|
|
[
|
|
'imageSrc' => '/images/web-design-vector.svg',
|
|
'title' => [
|
|
'en' => 'Backend & API Design',
|
|
'fa' => 'معماری و توسعه بکاند',
|
|
],
|
|
'description' => [
|
|
'en' => 'Designing secure, modular, and optimized RESTful APIs using Laravel and database optimization for scalable systems.',
|
|
'fa' => 'طراحی APIهای ماژولار، امن و بهینه با Laravel و مدیریت دیتابیسهای مقیاسپذیر',
|
|
],
|
|
],
|
|
[
|
|
'imageSrc' => '/images/app-design-vector.svg',
|
|
'title' => [
|
|
'en' => 'Code Refactoring & Modernization',
|
|
'fa' => 'بازطراحی و مدرنسازی کد',
|
|
],
|
|
'description' => [
|
|
'en' => 'Migrating legacy systems into clean, component-driven, and fully testable architectures to ensure long-term maintainability.',
|
|
'fa' => 'تبدیل کدهای قدیمی و مگالیتی به معماریهای کامپوننتمحور، تمیز و تستپذیر',
|
|
],
|
|
],
|
|
];
|
|
|
|
foreach ($services as $serviceData) {
|
|
Service::create($serviceData);
|
|
}
|
|
}
|
|
}
|