Hakkımızda içeriği...
', + 'template' => 'generic', + 'status' => 'published', + 'is_homepage' => false, + 'show_in_menu' => true, + 'sort_order' => 1, + 'published_at' => now(), + ] + ); + + // 2.2 Vizyon & Misyon (Child of Kurumsal) + Page::updateOrCreate( + ['slug' => 'vizyon-misyon'], + [ + 'author_id' => $author->id, + 'parent_id' => $corporate->id, + 'title' => 'Vizyon & Misyon', + 'excerpt' => 'Gelecek hedeflerimiz', + 'content' => 'Vizyon ve Misyon içeriği...
', + 'template' => 'generic', + 'status' => 'published', + 'is_homepage' => false, + 'show_in_menu' => true, + 'sort_order' => 2, + 'published_at' => now(), + ] + ); + + // 3. Ürünlerimiz (Mega Menu Target) + Page::updateOrCreate( + ['slug' => 'urunlerimiz'], + [ + 'author_id' => $author->id, + 'title' => 'Ürünlerimiz', + 'excerpt' => 'Ürün ve hizmetlerimiz', 'content' => null, 'template' => 'generic', 'status' => 'published', @@ -165,152 +109,43 @@ class PageSeeder extends Seeder 'show_in_menu' => true, 'sort_order' => 3, 'published_at' => now(), - 'meta_title' => 'Hizmetlerimiz - Truncgil Citrus', - 'meta_description' => 'Web tasarım, mobil uygulama geliştirme, e-ticaret çözümleri ve dijital pazarlama hizmetlerimizi keşfedin.', - 'sections' => [ - [ - 'type' => 'hero', - 'data' => [ - 'badge' => 'HİZMETLER', - 'title' => 'Dijital Dönüşüm Çözümleri', - 'subtitle' => 'İşinizi bir üst seviyeye taşıyacak teknoloji hizmetlerimiz', - ], - ], - [ - 'type' => 'features', - 'data' => [ - 'bg_class' => '!bg-[#f0f0f8]', - 'section_title' => 'Sunduğumuz Hizmetler', - 'column_class' => 'md:w-6/12 lg:w-4/12', - 'features' => [ - ['icon' => 'assets/img/demos/fi1.png', 'title' => 'Web Tasarım & Geliştirme', 'description' => 'Modern, responsive ve SEO uyumlu web siteleri'], - ['icon' => 'assets/img/demos/fi2.png', 'title' => 'Mobil Uygulama', 'description' => 'iOS ve Android için native ve cross-platform uygulamalar'], - ['icon' => 'assets/img/demos/fi3.png', 'title' => 'E-Ticaret Çözümleri', 'description' => 'Entegre ödeme sistemleri ile online satış platformları'], - ['icon' => 'assets/img/demos/fi4.png', 'title' => 'Dijital Pazarlama', 'description' => 'SEO, SEM ve sosyal medya yönetimi'], - ['icon' => 'assets/img/demos/fi1.png', 'title' => 'Kurumsal Yazılım', 'description' => 'İşletmenize özel CRM, ERP ve özel yazılım çözümleri'], - ['icon' => 'assets/img/demos/fi2.png', 'title' => 'Bulut Hizmetleri', 'description' => 'Güvenli ve ölçeklenebilir bulut altyapısı'], - ], - ], - ], - ], - ], + ] + ); - // Contact Page + // 4. Blog + Page::updateOrCreate( + ['slug' => 'blog'], [ 'author_id' => $author->id, - 'title' => 'İletişim', - 'slug' => 'contact', - 'excerpt' => 'Projeleriniz hakkında bizimle iletişime geçin', + 'title' => 'Blog', + 'excerpt' => 'Güncel haberler ve makaleler', 'content' => null, - 'template' => 'generic', + 'template' => 'blog', 'status' => 'published', 'is_homepage' => false, 'show_in_menu' => true, 'sort_order' => 4, 'published_at' => now(), - 'meta_title' => 'İletişim - Truncgil Citrus', - 'meta_description' => 'Projeleriniz hakkında konuşmak için bizimle iletişime geçin. Uzman ekibimiz size yardımcı olmaktan mutluluk duyar.', - 'sections' => [ - [ - 'type' => 'hero', - 'data' => [ - 'badge' => 'İLETİŞİM', - 'title' => 'Projelerinizi Konuşalım', - 'subtitle' => 'Size özel çözümler geliştirmek için bizimle iletişime geçin', - ], - ], - [ - 'type' => 'contact', - 'data' => [ - 'bg_class' => '!bg-[#f0f0f8]', - 'title' => 'Bizimle İletişime Geçin', - 'subtitle' => 'Projeleriniz hakkında konuşmak için bize ulaşın', - 'info' => [ - 'address' => 'Merkez Mah. Teknoloji Cad. No:123 İstanbul', - 'phone' => '+90 (212) 555 1234', - 'email' => 'info@truncgil.com', - ], - 'form_action' => '/contact/submit', - 'button_text' => 'Gönder', - ], - ], - ], - ], + ] + ); - // Pricing Page (örnek) + // 5. İletişim + Page::updateOrCreate( + ['slug' => 'iletisim'], [ 'author_id' => $author->id, - 'title' => 'Fiyatlandırma', - 'slug' => 'pricing', - 'excerpt' => 'Size uygun paketi seçin', + 'title' => 'İletişim', + 'excerpt' => 'Bize ulaşın', 'content' => null, - 'template' => 'generic', + 'template' => 'contact', 'status' => 'published', 'is_homepage' => false, - 'show_in_menu' => false, + 'show_in_menu' => true, 'sort_order' => 5, 'published_at' => now(), - 'meta_title' => 'Fiyatlandırma - Truncgil Citrus', - 'meta_description' => 'İhtiyaçlarınıza uygun web tasarım ve yazılım geliştirme paketlerimizi inceleyin.', - 'sections' => [ - [ - 'type' => 'hero', - 'data' => [ - 'badge' => 'FİYATLANDIRMA', - 'title' => 'Size Uygun Paketi Seçin', - 'subtitle' => 'Tüm paketler 30 gün para iade garantisi ile geliyor', - ], - ], - [ - 'type' => 'pricing', - 'data' => [ - 'bg_class' => '!bg-[#f0f0f8]', - 'section_title' => 'Web Tasarım Paketleri', - 'column_class' => 'md:w-6/12 lg:w-4/12', - 'featured_label' => 'Önerilen', - 'plans' => [ - [ - 'name' => 'Başlangıç', - 'currency' => '₺', - 'price' => '999', - 'period' => 'ay', - 'features' => ['5 Sayfa', 'Mobil Uyumlu', 'SEO Optimizasyonu', '7/24 Destek'], - 'button_text' => 'Başla', - 'button_url' => '/contact', - ], - [ - 'name' => 'Profesyonel', - 'currency' => '₺', - 'price' => '2499', - 'period' => 'ay', - 'featured' => true, - 'features' => ['15 Sayfa', 'Mobil Uyumlu', 'SEO Optimizasyonu', 'Yönetim Paneli', '7/24 Öncelikli Destek'], - 'button_text' => 'Başla', - 'button_url' => '/contact', - ], - [ - 'name' => 'Kurumsal', - 'currency' => '₺', - 'price' => '4999', - 'period' => 'ay', - 'features' => ['Sınırsız Sayfa', 'Mobil Uyumlu', 'SEO Optimizasyonu', 'Gelişmiş Yönetim Paneli', 'Özel Entegrasyonlar', '7/24 Öncelikli Destek'], - 'button_text' => 'Başla', - 'button_url' => '/contact', - ], - ], - ], - ], - ], - ], - ]; + ] + ); - foreach ($pages as $pageData) { - Page::updateOrCreate( - ['slug' => $pageData['slug']], - $pageData - ); - } - - $this->command->info('✅ ' . count($pages) . ' sayfa başarıyla oluşturuldu!'); + $this->command->info('✅ Menu yapısı ve sayfalar başarıyla oluşturuldu!'); } } diff --git a/resources/views/components/custom/menu.blade.php b/resources/views/components/custom/menu.blade.php index 7adbfae..bce39d5 100644 --- a/resources/views/components/custom/menu.blade.php +++ b/resources/views/components/custom/menu.blade.php @@ -24,54 +24,103 @@ $menuItems = \App\Models\Page::with(['children' => function ($query) { @foreach($menuItems as $item) @php $hasChildren = $item->children->isNotEmpty(); + $isMegaMenu = $item->slug === 'urunlerimiz'; @endphp -Müşterilerimizin web sitesi trafiğini, sıralamasını ve görünürlüğünü artırmalarına yardımcı oluyoruz.
+ + +
+  }})
Web sitenizin görünürlüğünü artırmak için profesyonel SEO hizmetleri sunuyoruz.
+ Daha Fazla +Modern ve kullanıcı dostu web tasarımları ile markanızı öne çıkarın.
+ Daha Fazla + }})
Özgün ve yaratıcı çözümler.
+Geleceği şekillendiren fikirler.
+Zamanında teslimat ve hızlı destek.
+7/24 müşteri memnuniyeti odaklı destek.
+ }})
Yaratıcı ve yenilikçi çözümlerimizle işletmenizi dijital dünyada öne çıkarıyoruz. Sektördeki deneyimimiz ve uzman ekibimizle, hedeflerinize ulaşmanız için yanınızdayız.
+30 günlük ücretsiz deneme ile tam hizmeti deneyimleyin. Kredi kartı gerekmez!
+ Tüm Fiyatları Gör + }})
Projelerinizi hayata geçirmek, dijital dönüşümünüze katkıda bulunmak ve işinizi büyütmek için buradayız. Hemen bizimle iletişime geçin.
+ Bize Katılın + }})