<?php

namespace Database\Seeders;

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

class LegalPageSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        LegalPage::updateOrCreate(['slug' => 'privacy-policy'], [
            'title' => 'Privacy Policy',
            'content' => '<h1>Privacy Policy</h1><p>Our commitment to your privacy...</p>',
            'meta_title' => 'Privacy Policy | Bikash Barta',
            'meta_description' => 'Learn how we protect your data at Bikash Barta.',
        ]);

        LegalPage::updateOrCreate(['slug' => 'terms-and-conditions'], [
            'title' => 'Terms & Conditions',
            'content' => '<h1>Terms & Conditions</h1><p>By using our services, you agree to these terms...</p>',
            'meta_title' => 'Terms & Conditions | Bikash Barta',
            'meta_description' => 'Review the terms governing your use of our platform.',
        ]);
    }
}
