@extends('layouts.app') @section('content')
@if (isset($list))
@foreach ($records as $record) @endforeach
SN Image Name Title Status Action
{{ $record->sorting_no }} {{ $record->name }} {{ excerpt($record->title, 60) }} {{ $record->status }}
@csrf @method('DELETE')
@csrf @method('PUT')
{{ $records->links() }}
@elseif(isset($show))
Fields : Values
Image :
name : {{ $record->name }}
Slug : {{ $record->slug }}
URL : @php $route = route('service-details', $record->slug); @endphp {{ $route }}
Title : {{ $record->title }}
Sub Title : {{ $record->sub_title }}
Section Two
Short Description : {!! $record->short_description !!}
Section Three
Title : {{ $record->section_three_title }}
Description : {!! $record->section_three_description !!}
Image : @if ($record->section_three_image) @endif
Section Four
Description : {!! $record->section_four_description !!}
Section Five
Title : {{ $record->section_five_title }}
Description : {!! $record->section_five_description !!}
Image : @if ($record->section_five_image) @endif
Section Six
Description : {!! $record->section_six_description !!}
Service Highlights :
Services Include:
    @foreach($record->service_highlights ?? [] as $service_highlight)
  1. {{ $service_highlight }}
  2. @endforeach
Show In Home : {{ $record->is_home }}
Show In Footer : {{ $record->is_footer }}
Sorting No : {{ $record->sorting_no }}
Status : {{ $record->status }}
SEO
Page Title : {{ optional($record->metaData)->page_title }}
Meta Title : {{ optional($record->metaData)->meta_title }}
Meta Keywords : {{ optional($record->metaData)->meta_keywords }}
Meta Description : {{ optional($record->metaData)->meta_description }}
Schema Code : {!! optional($record->metaData)->schema_code !!}
@elseif(isset($edit) || isset($create))
@csrf @if (isset($edit)) @method('PUT') @endif
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
{{ route('service') }}/
@if ($errors->has('slug')) {{ $errors->first('slug') }} @endif
@if ($errors->has('title')) {{ $errors->first('title') }} @endif
@if ($errors->has('image')) {{ $errors->first('image') }} @else Width-Auto X Height-Auto @if (isset($edit)) / {{ $record->image }} @endif @endif
Section Two

@if ($errors->has('short_description')) {{ $errors->first('short_description') }} @endif
Section Three

@if ($errors->has('section_three_title')) {{ $errors->first('section_three_title') }} @endif
@if ($errors->has('section_three_description')) {{ $errors->first('section_three_description') }} @endif
@if ($errors->has('section_three_image')) {{ $errors->first('section_three_image') }} @else Width-Auto X Height-Auto @if (isset($edit)) / {{ $record->section_three_image }} @endif @endif
Section Four

@if ($errors->has('section_four_description')) {{ $errors->first('section_four_description') }} @endif
Section Five

@if ($errors->has('section_five_title')) {{ $errors->first('section_five_title') }} @endif
@if ($errors->has('section_five_description')) {{ $errors->first('section_five_description') }} @endif
@if ($errors->has('section_five_image')) {{ $errors->first('section_five_image') }} @else Width-Auto X Height-Auto @if (isset($edit)) / {{ $record->section_five_image }} @endif @endif
Section Six

@if ($errors->has('section_six_description')) {{ $errors->first('section_six_description') }} @endif
@if ($errors->has('service_highlights')) {{ $errors->first('service_highlights') }} @endif
@if ($errors->has('is_home')) {{ $errors->first('is_home') }} @endif
@if ($errors->has('is_footer')) {{ $errors->first('is_footer') }} @endif
@if ($errors->has('sorting_no')) {{ $errors->first('sorting_no') }} @endif
@if ($errors->has('status')) {{ $errors->first('status') }} @endif

SEO Setup


@if ($errors->has('page_title')) {{ $errors->first('page_title') }} @endif
@if ($errors->has('meta_title')) {{ $errors->first('meta_title') }} @endif
@if ($errors->has('meta_keywords')) {{ $errors->first('meta_keywords') }} @endif
@if ($errors->has('meta_description')) {{ $errors->first('meta_description') }} @endif
@if ($errors->has('schema_code')) {{ $errors->first('schema_code') }} @else @endif
@php($imagePath = isset($record) && $record->image != null ? asset('storage/service/' . $record->image) : asset('images/default_image.png'))
Image Preview.
@endif
@endsection @push('scripts') @endpush