<?php

namespace Database\Factories;

use App\Models\AboutPageContent;
use App\Models\SiteFounders;
use App\Models\SiteValue;
use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\AboutPageContent>
 */
class AboutPageContentFactory extends Factory
{
    /**
     * Configure the model factory.
     *
     * @return $this
     */
    public function configure()
    {
        return $this->afterCreating(function (AboutPageContent $content) {
            $content->founders()->saveMany([
                SiteFounders::create([
                    'name_ar'=>'معتز مصطفى',
                    'name_en'=>'Moataz Mostafa',
                    'position_en'=>'Engineer',
                    'position_ar'=>'مهندس',
                    'description_en'=>'Has extensive experience in site engineering and project management, having serving in various engineer roles for over 16 years. He began his career at [COMPANY NAME] and has held positions at [OTHER COMPANY NAMES].  He received a degree from [UNIVERSITY] and holds [CERTIFICATIONS]. He oversees business development at Muhandisin.',
                    'description_ar'=>'لديه خبرة كبيرة في مهندسة الموقع وإدارة المشاريع ، حيث يعمل في مجالات مختلفة لأكثر من 16 عامًا. بدأت مسيرته في [اسم الشركة] وقد عمل في [اسماء شركات أخرى]. حصل على درجة في [الجامعة] ويحمل [الشهادات]. يراقب التنمية الأعمال في Muhandisin.',
                    'photo_url' => 'https://muhandisin.s3.eu-central-1.amazonaws.com/assets/motaz.jpeg',
                ]),
                SiteFounders::create([
                    'name_ar'=>'دانش سينغ',
                    'name_en'=>'Danish Singh',
                    'position_en'=>'Engineer',
                    'position_ar'=>'مهندس',
                    'description_en'=>'has extensive experience in site engineering and project management, having serving in various engineer roles for over 16 years. He began his career at [COMPANY NAME] and has held positions at [OTHER COMPANY NAMES].  He received a degree from [UNIVERSITY] and holds [CERTIFICATIONS]. He oversees business development at Muhandisin.',
                    'description_ar'=>'لديه خبرة كبيرة في مهندسة الموقع وإدارة المشاريع ، حيث يعمل في مجالات مختلفة لأكثر من 16 عامًا. بدأت مسيرته في [اسم الشركة] وقد عمل في [اسماء شركات أخرى]. حصل على درجة في [الجامعة] ويحمل [الشهادات]. يراقب التنمية الأعمال في Muhandisin.',
                    'photo_url' => 'https://muhandisin.s3.eu-central-1.amazonaws.com/assets/danish.jpeg',
                ]),
            ]);

            $content->values()->saveMany(
                [
                SiteValue::create([
                    'name_ar'=>'الامتياز',
                    'name_en'=>'Excellence',
                    'description_en'=>'in everything we do',
                    'description_ar'=>'في كل ما نفعله',
                    'photo_url' => 'https://muhandisin.s3.eu-central-1.amazonaws.com/assets/values-1.svg',
                ]),
                SiteValue::create([
                    'name_ar'=>'الإبتكار',
                    'name_en'=>'Innovation',
                    'description_en'=>'and creativity',
                    'description_ar'=>'والإبداع',
                    'photo_url' => 'https://muhandisin.s3.eu-central-1.amazonaws.com/assets/values-2.svg',
                ]),
                SiteValue::create([
                    'name_ar'=>'التزام',
                    'name_en'=>'Commitment',
                    'description_en'=>'to our community',
                    'description_ar'=>'لمجتمعنا',
                    'photo_url' => 'https://muhandisin.s3.eu-central-1.amazonaws.com/assets/values-3.svg',
                ]),
                SiteValue::create([
                    'name_ar'=>'التعاون',
                    'name_en'=>'Teamwork',
                    'description_en'=>'to achieve exceptional results together',
                    'description_ar'=>'لتحقيق النتائج الاستثنائية معا',
                    'photo_url' => 'https://muhandisin.s3.eu-central-1.amazonaws.com/assets/values-4.svg',
                ]),
                SiteValue::create([
                    'name_ar'=>'نحب',
                    'name_en'=>'Quality',
                    'description_en'=>'first mentality',
                    'description_ar'=>'الجودة أولا',
                    'photo_url' => 'https://muhandisin.s3.eu-central-1.amazonaws.com/assets/values-5.svg',
                ]),
                SiteValue::create([
                    'name_ar'=>'نصنع',
                    'name_en'=>'Value',
                    'description_en'=>'creation for those in our network',
                    'description_ar'=>'القيمة للذين في شبكتنا',
                    'photo_url' => 'https://muhandisin.s3.eu-central-1.amazonaws.com/assets/values-6.svg',
                ]),
                SiteValue::create([
                    'name_ar'=>'الفعالية',
                    'name_en'=>'Efficiency',
                    'description_en'=>'and time optimization',
                    'description_ar'=>'والتحسين الزمني',
                    'photo_url' => 'https://muhandisin.s3.eu-central-1.amazonaws.com/assets/values-7.svg',
                ])
            ]
        );
        });
    }
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition()
    {
        return [
                'slogan_en' => 'Reshaping engineering services into a faster, hassle-free experience',
                'slogan_ar' => 'إعادة تشكيل الخدمات الهندسية في تجربة أسرع وخالية من المتاعب',
                'main_text_en' => 'Muhandisin was founded in 2020 by two trained engineers with a mission.',
                'main_text_ar' => 'تأسست شركة المهندسين في عام 2020 من قبل اثنين من المهندسين المدربين في مهمة.',
                'url' => 'https://muhandisin.s3.eu-central-1.amazonaws.com/assets/about-main.svg',
                'mission_text_en' => 'Our mission is to be the premier partner of skilled engineering solutions for customers around the world.',
                'mission_text_ar' => 'مهمتنا هي أن نكون الشريك الأول للحلول الهندسية الماهرة للعملاء في جميع أنحاء العالم.',
                'mission_icon' => 'https://muhandisin.s3.eu-central-1.amazonaws.com/assets/our-mission-icon.svg',
                'vision_text_en' => 'Our vision is  to elevate the engineering community, to facilitate economic opportunity for engineers and engineering firms, and to inspire and enhance industry-wide innovation and creativity,  while becoming the most widely recognized industry partner globally.',
                'vision_text_ar' => 'رؤيتنا هي تعزيز مجتمع الهندسة وتسهيل فرص الاقتصادية للمهندسين والشركات الهندسية وتشجيع وتعزيز الابتكار والإبداع في جميع أنحاء الصناعة ، بينما نصبح أكثر شريكاً معروفاً في الصناعة على مستوى العالم.',
                'vision_icon' => 'https://muhandisin.s3.eu-central-1.amazonaws.com/assets/our-vision-icon.svg',
        ];
    }
}
