<?php

namespace Database\Seeders;

use App\Models\Slider;
use Illuminate\Database\Seeder;

class SliderSeeder extends Seeder
{
    public function run(): void
    {
        $sliders = [
            [
                'title' => 'Professional Mediation Training',
                'image_source' => 'url',
                'image_path' => 'https://images.unsplash.com/photo-1521737711867-e3b97375f902?w=1920&h=900&fit=crop',
                'status' => 'published',
                'order' => 1,
            ],
            [
                'title' => 'Accredited by TVET Kenya',
                'image_source' => 'url',
                'image_path' => 'https://images.unsplash.com/photo-1552664730-d307ca884978?w=1920&h=900&fit=crop',
                'status' => 'published',
                'order' => 2,
            ],
            [
                'title' => 'Recognized by Mediation Accreditation Committee',
                'image_source' => 'url',
                'image_path' => 'https://images.unsplash.com/photo-1573497019940-1c28c88b4f3e?w=1920&h=900&fit=crop',
                'status' => 'published',
                'order' => 3,
            ],
            [
                'title' => 'Internationally Affiliated Institution',
                'image_source' => 'url',
                'image_path' => 'https://images.unsplash.com/photo-1524178232363-1fb2b075b655?w=1920&h=900&fit=crop',
                'status' => 'published',
                'order' => 4,
            ],
            [
                'title' => 'Build Your Mediation Career',
                'image_source' => 'url',
                'image_path' => 'https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=1920&h=900&fit=crop',
                'status' => 'published',
                'order' => 5,
            ],
        ];

        foreach ($sliders as $slider) {
            Slider::create($slider);
        }
    }
}
