parsaaghayi-backend/database/seeders/Website/ServiceSeeder.php

59 lines
2.5 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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',
'translations' => [
'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',
'translations' => [
'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',
'translations' => [
'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);
}
}
}