feat: kariyer formu, mobil offcanvas menu ve blog modulu iyilestirmeleri
This commit is contained in:
@@ -405,4 +405,34 @@
|
||||
</div>
|
||||
<!-- /.container -->
|
||||
</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
|
||||
|
||||
@@ -98,8 +98,8 @@ $isHomepage = $currentRoute === 'homepage' || $currentPath === '/' || request()-
|
||||
</div>
|
||||
|
||||
<!-- Menu in Center (Desktop) -->
|
||||
<div class="navbar-collapse">
|
||||
<div class="offcanvas-body flex justify-center">
|
||||
<div class="navbar-collapse w-full flex justify-center">
|
||||
<div class="flex justify-center w-full">
|
||||
<ul class="navbar-nav flex-row items-center gap-1">
|
||||
@foreach($menuItems as $item)
|
||||
<x-front.menu-item :item="$item" />
|
||||
|
||||
Reference in New Issue
Block a user