<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;

class TeamSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        $socials = [
            [
                'name' => __('Facebook'),
                'link' => 'facebook.com',
                'icon' => 'ph ph-facebook-logo',
            ],
            [
                'name' => __('X.com'),
                'link' => 'x.com',
                'icon' => 'ph ph-x-logo',
            ],
            [
                'name' => __('Instagram'),
                'link' => 'instagram.com',
                'icon' => 'ph ph-instagram-logo',
            ],
            [
                'name' => __('Youtube'),
                'link' => 'youtube.com',
                'icon' => 'ph ph-youtube-logo',
            ],
        ];

        $teams = [
            [
                'name' => 'Jhon Dio',
                'designation' => 'CEO',
                'image' => '/assets/client/media/images/team1.png',
                'socials' => $socials,
            ],
            [
                'name' => 'Henry, Arthur',
                'designation' => 'Captain Skipper',
                'image' => '/assets/client/media/images/team2.png',
                'socials' => $socials,
            ],
            [
                'name' => 'Black, Marvin',
                'designation' => 'Captain',
                'image' => '/assets/client/media/images/team3.png',
                'socials' => $socials,
            ],
            [
                'name' => ' Miles, Esther',
                'designation' => 'Captain',
                'image' => '/assets/client/media/images/team4.png',
                'socials' => $socials,
            ],
            [
                'name' => 'Jhon Dio',
                'designation' => 'CEO',
                'image' => '/assets/client/media/images/team1.png',
                'socials' => $socials,
            ],
            [
                'name' => 'Henry, Arthur',
                'designation' => 'Captain Skipper',
                'image' => '/assets/client/media/images/team2.png',
                'socials' => $socials,
            ],
            [
                'name' => 'Black, Marvin',
                'designation' => 'Captain',
                'image' => '/assets/client/media/images/team3.png',
                'socials' => $socials,
            ],
            [
                'name' => ' Miles, Esther',
                'designation' => 'Captain',
                'image' => '/assets/client/media/images/team4.png',
                'socials' => $socials,
            ],
        ];

        foreach ($teams as $team) {
            \App\Models\Team::create($team);
        }
    }
}
