Add About Section to HomePageSettings and update HomePageController to include brand data. Modify HomeSettings to store new about section fields and update the homepage view to display these settings.
This commit is contained in:
1 parent
d0985a71d5
commit
b405cad6fe
8 files changed
+158
-26
No files matched your search
@@ -14,6 +14,7 @@ class DatabaseSeeder extends Seeder
|
||||
public function run(): void
|
||||
{
|
||||
$this->call([
|
||||
UsersTableSeeder::class,
|
||||
BrandTableSeeder::class,
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use App\Models\User;
|
||||
|
||||
class UsersTableSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
User::create([
|
||||
'name' => 'nurmuhammet',
|
||||
'email' => 'nurmuhammet@mail.com',
|
||||
'password' => bcrypt('payload10'),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user