Edit Service

Update service details and assign works

← Back to Services

Service Information

{{-- VIDEO URL --}} @if ($mediaType === 'video')
@php $videoPreview = null; if (!empty($hero_video)) { if (\Illuminate\Support\Str::startsWith($hero_video, ['http://', 'https://'])) { // full external URL $videoPreview = $hero_video; } else { // agar relative path ho (uploads/... ya koi local path) $videoPreview = url('/' . ltrim($hero_video, '/')); } } @endphp @if ($videoPreview)
@endif
@endif {{-- IMAGE UPLOAD --}} @if ($mediaType === 'image_upload')
@php $preview = null; // 1️⃣ naya select kiya hua image (temporary) if ($hero_image) { $preview = $hero_image->temporaryUrl(); } // 2️⃣ edit mode: component ke paas jo saved path hai usse preview banao elseif ($mediaType === 'image_upload' && !empty($this->service->hero_video)) { $saved = $this->service->hero_video; // sirf local uploaded file ka preview if (!\Illuminate\Support\Str::startsWith($saved, ['http://', 'https://'])) { $preview = url('/' . ltrim($saved, '/')); } } @endphp @if ($preview)

Image selected. Click to change

@else

Click to upload image

PNG, JPG up to 4MB

@endif
@error('hero_image')

{{ $message }}

@enderror
@endif {{-- IMAGE URL --}} @if ($mediaType === 'image_url')
@php $urlPreview = null; if (!empty($hero_image_url)) { if (\Illuminate\Support\Str::startsWith($hero_image_url, ['http://', 'https://'])) { // full external URL $urlPreview = $hero_image_url; } else { // agar relative path diya ho (uploads/services/...) $urlPreview = url('/' . ltrim($hero_image_url, '/')); } } @endphp @if ($urlPreview)
Preview
@endif
@endif
Service Status

Assign Works

@foreach ($works as $work) @endforeach

SEO Optimization

Press Enter or , to add keywords

Google Preview

{{ $meta_title ?: $title ?: 'Page Title Preview' }}

{{ $canonical_url ?: 'https://www.example.com/sample-page' }}

{{ $meta_description ?: \Illuminate\Support\Str::limit($description, 160) ?: 'Meta description will appear here...' }}

URL Redirection

Robots & Index Control

Search Engine Rules

Noindex this page

Prevent search engines from indexing this page

Nofollow links

Tell bots not to follow page links

Structured Data (Schema)

JSON-LD Validator Style
schema.json
{{ json_encode(
    [
        '@context' => 'https://schema.org',
        '@type' => $schema_type,
        'name' => $title,
        'url' => $canonical_url,
    ],
    JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES,
) }}
Additional Schemas