@extends('admin.layouts.app') @section('title', $item ? 'Edit Talent' : 'New Talent') @section('page_title', $item ? 'Edit Talent' : 'New Talent') @section('content') @php $isNew = ! $item; $tabs = [ 'builder' => ['label' => 'Page builder', 'hint' => 'Design the full page'], 'content' => ['label' => 'Details', 'hint' => 'Listing & default content'], 'seo' => ['label' => 'SEO', 'hint' => 'Search & social'], 'audit' => ['label' => 'SEO Audit', 'hint' => 'Score & SERP'], ]; $nav = [ ['id' => 'basics', 'label' => 'Basics'], ['id' => 'copy', 'label' => 'Copy'], ['id' => 'faq', 'label' => 'FAQ'], ['id' => 'publish', 'label' => 'Publish'], ]; $score = $item?->seoAudit?->score; @endphp

Content · Talent

{{ $isNew ? 'Create a talent role' : $item->title }}

{{ $isNew ? 'Add role details first, then polish SEO and run a deep audit.' : 'Edit talent content, SEO metadata, and review your SEO score — same workflow as Services.' }}

@if (! $isNew && ! is_null($score))
SEO {{ $score }}/100
@endif
← All talent @if (! $isNew && $item->is_active) Preview live @endif @if (! $isNew && $tab !== 'audit') Open SEO Audit @endif
@foreach ($tabs as $key => $meta) @if ($isNew && $key !== 'content') {{ $meta['label'] }} Save first @else {{ $meta['label'] }} {{ $meta['hint'] }} @endif @endforeach
@if ($tab === 'content' && ! $isNew && app(\App\Modules\Pages\Builder\PageBuilderService::class)->isActive($item))
The public page uses a custom page-builder layout. These details still power listings, cards and search. Open page builder
@endif @if ($tab === 'content')
@csrf @unless($isNew) @method('PUT') @endunless
@include('admin.hire-roles.partials.content-form', ['item' => $item, 'services' => $services])
@elseif ($tab === 'seo' && ! $isNew) @include('admin.hire-roles.partials.seo-form', [ 'item' => $item, 'seo' => $item->seoMeta, 'globalOg' => $globalOg ?? null, ]) @elseif ($tab === 'audit' && ! $isNew) @include('admin.hire-roles.partials.audit-panel', ['item' => $item, 'audit' => $audit]) @endif
@endsection