<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Str;

class TemplateSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        $homePageElements = ["jumbotron-title", "jumbotron-description", "jumbotron-btnlink", "jumbotron-btntitle", "jumbotron-picture",
        "aboutus-title", "aboutus-description", "aboutus-btnlink", "aboutus-picture", "address", "phone", "email"];
        foreach ($homePageElements as $item) {
            DB::table("template_items")->insert([
                "item_key"   => $item,
                "item_value" => "لورم ایپسوم متن ساختگی",
            ]);
        }
    }
}
