<?php

namespace Database\Seeders;

use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;

class SettingSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        $settings = [
            'contact_email' => 'contact@drpadhi.org',
            'contact_phone' => '+91-XXXXXXXXXX',
            'social_youtube' => 'https://youtube.com/@drpadhifoundation',
            'social_facebook' => 'https://facebook.com/drpadhifoundation',
            'social_instagram' => 'https://instagram.com/drpadhifoundation',
            'google_analytics_id' => 'UA-XXXXXXX-X',
            'site_name' => 'Dr. Padhi Foundation',
            'site_description' => 'A foundation dedicated to community growth.',
        ];

        foreach ($settings as $key => $value) {
            \App\Models\Setting::create([
                'setting_key' => $key,
                'setting_value' => $value,
            ]);
        }
    }
}
