<?php

namespace Database\Seeders\Tenant;

use App\Facades\Settings;
use Illuminate\Database\Seeder;

class SeoSitemapOffersListingPathSeeder extends Seeder
{
    public function run(): void
    {
        Settings::make([
            'tab' => 'Site',
            'section' => 'SEO',
            'group' => 'Sitemap',
            'name' => 'Offers listing base path',
            'config_key' => 'seo-sitemap-offers-listing-path',
            'type' => 'string',
            'value' => '/offers',
            'order' => 9,
            'description' => 'Base path for offer listing pages in the sitemap '
                . '(e.g. /offers, /ford/offers, /offers/motability). Decoupled '
                . 'from the individual offer URL path, since detail pages may '
                . 'live under a different segment (e.g. /offer/{{SLUG}}).',
        ]);
    }
}
