Update PageSeeder
This commit is contained in:
@@ -95,6 +95,24 @@ class PageSeeder extends Seeder
|
|||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// 2.3 Kitaplarımız (Child of Kurumsal)
|
||||||
|
Page::updateOrCreate(
|
||||||
|
['slug' => 'kitaplarimiz'],
|
||||||
|
[
|
||||||
|
'author_id' => $author->id,
|
||||||
|
'parent_id' => $corporate->id,
|
||||||
|
'title' => 'Kitaplarımız',
|
||||||
|
'excerpt' => 'Yayınladığımız kitaplar',
|
||||||
|
'content' => null,
|
||||||
|
'template' => 'books.books',
|
||||||
|
'status' => 'published',
|
||||||
|
'is_homepage' => false,
|
||||||
|
'show_in_menu' => true,
|
||||||
|
'sort_order' => 3,
|
||||||
|
'published_at' => now(),
|
||||||
|
]
|
||||||
|
);
|
||||||
|
|
||||||
// 3. Ürünlerimiz (Mega Menu Target)
|
// 3. Ürünlerimiz (Mega Menu Target)
|
||||||
Page::updateOrCreate(
|
Page::updateOrCreate(
|
||||||
['slug' => 'urunlerimiz'],
|
['slug' => 'urunlerimiz'],
|
||||||
|
|||||||
Reference in New Issue
Block a user