feat: kariyer formu, mobil offcanvas menu ve blog modulu iyilestirmeleri

This commit is contained in:
Muhammet Güler
2026-03-10 19:55:25 +03:00
parent 4924cb0dc8
commit 45440f2814
2 changed files with 32 additions and 2 deletions
+30
View File
@@ -405,4 +405,34 @@
</div> </div>
<!-- /.container --> <!-- /.container -->
</section> </section>
@push('scripts')
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BlogPosting",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "{{ route('blog.show', $post->slug) }}"
},
"headline": "{{ method_exists($post, 'translate') ? $post->translate('title') : $post->title }}",
"description": "{{ method_exists($post, 'translate') ? $post->translate('excerpt') : ($post->excerpt ?? '') }}",
"image": "{{ $post->featured_image_url ? $post->featured_image_url : asset('assets/img/logo.png') }}",
"author": {
"@type": "Person",
"name": "{{ $post->author->name ?? 'Trunçgil Teknoloji Editörü' }}"
},
"publisher": {
"@type": "Organization",
"name": "{{ setting('site_name', 'Trunçgil Teknoloji') }}",
"logo": {
"@type": "ImageObject",
"url": "{{ asset('storage/' . setting('site_logo')) }}"
}
},
"datePublished": "{{ $post->published_at ? $post->published_at->toIso8601String() : $post->created_at->toIso8601String() }}",
"dateModified": "{{ $post->updated_at->toIso8601String() }}"
}
</script>
@endpush
@endsection @endsection
+2 -2
View File
@@ -98,8 +98,8 @@ $isHomepage = $currentRoute === 'homepage' || $currentPath === '/' || request()-
</div> </div>
<!-- Menu in Center (Desktop) --> <!-- Menu in Center (Desktop) -->
<div class="navbar-collapse"> <div class="navbar-collapse w-full flex justify-center">
<div class="offcanvas-body flex justify-center"> <div class="flex justify-center w-full">
<ul class="navbar-nav flex-row items-center gap-1"> <ul class="navbar-nav flex-row items-center gap-1">
@foreach($menuItems as $item) @foreach($menuItems as $item)
<x-front.menu-item :item="$item" /> <x-front.menu-item :item="$item" />