Add Blog functionality: Created BlogController with index and show methods, added blog views, and integrated localization for meta tags. Updated routes to include blog paths.

This commit is contained in:
Ümit Tunç
2025-10-30 15:26:11 -03:00
parent 1cd55f4a1d
commit 08e07a9e63
21 changed files with 732 additions and 27 deletions
+7
View File
@@ -1,6 +1,13 @@
<?php
return [
// Navigation & list
'nav-blog' => 'Blog',
'meta-index-title' => 'Blog',
'meta-index-description' => 'Latest posts',
'empty' => 'No posts yet.',
// Module labels
'title' => 'Blog Posts',
'navigation_label' => 'Blog',
'model_label' => 'Blog Post',
+7 -9
View File
@@ -1,6 +1,13 @@
<?php
return [
// Navigation
'nav-home' => 'Home',
'nav-about' => 'About',
'nav-services' => 'Services',
'nav-contact' => 'Contact',
// Module labels
'title' => 'Pages',
'navigation_label' => 'Pages',
'model_label' => 'Page',
@@ -13,15 +20,6 @@ return [
'restore' => 'Restore Page',
'force_delete' => 'Force Delete',
// Form fields
'title_field' => 'Title',
'slug_field' => 'URL Slug',
'content_field' => 'Content',
'meta_title_field' => 'Meta Title',
'meta_description_field' => 'Meta Description',
'status_field' => 'Status',
'published_at_field' => 'Published At',
// Form sections
'form_section_content' => 'Content',
'form_section_page_settings' => 'Page Settings',
+7
View File
@@ -1,6 +1,13 @@
<?php
return [
// Navigation & list
'nav-blog' => 'Blog',
'meta-index-title' => 'Blog',
'meta-index-description' => 'Güncel paylaşımlarımız',
'empty' => 'Şu anda blog yazısı bulunmuyor.',
// Module labels
'title' => 'Blog Yazıları',
'navigation_label' => 'Blog',
'model_label' => 'Blog Yazısı',
+8 -10
View File
@@ -1,6 +1,13 @@
<?php
return [
// Navigation
'nav-home' => 'Anasayfa',
'nav-about' => 'Hakkımızda',
'nav-services' => 'Hizmetler',
'nav-contact' => 'İletişim',
// Module labels
'title' => 'Sayfalar',
'navigation_label' => 'Sayfalar',
'model_label' => 'Sayfa',
@@ -13,15 +20,6 @@ return [
'restore' => 'Sayfayı Geri Yükle',
'force_delete' => 'Kalıcı Olarak Sil',
// Form fields
'title_field' => 'Başlık',
'slug_field' => 'URL Yolu',
'content_field' => 'İçerik',
'meta_title_field' => 'Meta Başlık',
'meta_description_field' => 'Meta Açıklama',
'status_field' => 'Durum',
'published_at_field' => 'Yayın Tarihi',
// Form sections
'form_section_content' => 'İçerik',
'form_section_page_settings' => 'Sayfa Ayarları',
@@ -30,7 +28,7 @@ return [
// Form fields
'title_field' => 'Başlık',
'slug_field' => 'URL Slug',
'slug_field' => 'URL Yolu',
'content_field' => 'İçerik',
'excerpt_field' => 'Özet',
'featured_image_field' => 'Öne Çıkan Görsel',