This commit is contained in:
Doar Mihai
2026-04-04 02:14:57 +03:00
parent 31e666ef33
commit 3a687b0a7f
11 changed files with 686 additions and 8 deletions
+18
View File
@@ -2,6 +2,24 @@
@section('title', $job->title . ' at ' . $job->company . ' - JobifyGarden')
@section('description', Str::limit(strip_tags($job->description), 155))
@section('canonical', route('jobs.show', $job->id))
@push('structured_data')
<script type="application/ld+json">
{!! json_encode(app(\App\Services\SeoService::class)->generateJobStructuredData($job), JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT) !!}
</script>
<script type="application/ld+json">
{!! json_encode(app(\App\Services\SeoService::class)->generateBreadcrumbStructuredData([
['name' => 'Home', 'url' => route('home')],
['name' => 'Jobs', 'url' => route('jobs.index')],
@if($job->category)
['name' => $job->category->name, 'url' => route('jobs.category', $job->category->slug)],
@endif
['name' => $job->title, 'url' => route('jobs.show', $job->id)]
]), JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT) !!}
</script>
@endpush
@section('content')
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">