<?php

namespace Database\Seeders;

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

class SettingsSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        Setting::create([
            'site_name'           => config('app.name', 'Laravel Application'),
            'site_title'          => config('app.name', 'Laravel Application') . ' - Official Website',
            'site_description'    => 'Welcome to our website. Discover our amazing services and products designed to meet your needs.',
            'site_keywords'       => 'laravel, web application, php, vue, inertia',
            'admin_email'         => config('mail.from.address', 'admin@example.com'),
            'phone'               => '',
            'fax'                 => '',
            'gtm_code'            => '',
            'additional_settings' => [
                'maintenance_mode'   => false,
                'allow_registration' => true,
                'default_theme'      => 'light',
            ],
        ]);
    }
}
