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
+14
View File
@@ -0,0 +1,14 @@
<footer class="site-footer">
<div class="container">
<p>{{ ($settings->site_name ?? config('app.name')) }} © {{ now()->year }}</p>
<div class="social">
@php $links = $settings->social_links ?? []; @endphp
@if(!empty($links['facebook'])) <a href="{{ $links['facebook'] }}" rel="nofollow">Facebook</a> @endif
@if(!empty($links['instagram'])) <a href="{{ $links['instagram'] }}" rel="nofollow">Instagram</a> @endif
@if(!empty($links['linkedin'])) <a href="{{ $links['linkedin'] }}" rel="nofollow">LinkedIn</a> @endif
@if(!empty($links['twitter'])) <a href="{{ $links['twitter'] }}" rel="nofollow">X</a> @endif
</div>
</div>
</footer>