@extends('layouts.app') @section('content')
@if (isset($list))
@if(isset($record)) @endif
Highlight Title Tagline Tagline Title Action
{{ $record->highlight_title }} {{ $record->tagline }} {{ $record->title }}
@csrf @method('DELETE')
@elseif(isset($show))
Fields : Values
Counters :
    @foreach($record->counter_title ?? [] as $ct_key => $title)
  1. {{ $title }} ({{ $record->counter[$ct_key]}}+)
  2. @endforeach
Highlight Title : {{ $record->highlight_title }}
Highlight Content 1 : {{ $record->highlight_content_1 }}
Highlight Image 1 : Highlight Image 1
Highlight Content 2 : {{ $record->highlight_content_2 }}
Highlight Image 2 : Highlight Image 2
Who We Are : {{ $record->who_we_are }}
Why Choose Us : {{ $record->why_choose_us }}
Tagline : {{ $record->tagline }}
Title : {{ $record->title }}
Description : {{ $record->description }}
Background Image : Background Image
@elseif(isset($edit) || isset($create))
@csrf @if (isset($edit)) @method('PUT') @endif
@php $counters = old('counter', isset($record) ? $record->counter ?? [''] : ['']); $counter_titles = old('counter_title', isset($record) ? $record->counter_title ?? [''] : ['']); $rows = max(count($counters), count($counter_titles)); @endphp @for ($i = 0; $i < max(1, $rows); $i++)
@if ($i == 0) @else @endif
@endfor @error('counter.*') {{ $message }} @enderror @error('counter_title.*') {{ $message }} @enderror
@if ($errors->has('home_description')) {{ $errors->first('home_description') }} @endif
@if ($errors->has('highlight_title')) {{ $errors->first('highlight_title') }} @endif
@if ($errors->has('highlight_content_1')) {{ $errors->first('highlight_content_1') }} @endif
@if ($errors->has('highlight_image_1')) {{ $errors->first('highlight_image_1') }} @else Width-Auto X Height-Auto @if (isset($edit)) / {{ $record->highlight_image_1 }} @endif @endif
@if ($errors->has('highlight_content_2')) {{ $errors->first('highlight_content_2') }} @endif
@if ($errors->has('highlight_image_2')) {{ $errors->first('highlight_image_2') }} @else Width-Auto X Height-Auto @if (isset($edit)) / {{ $record->highlight_image_2 }} @endif @endif
@if ($errors->has('who_we_are')) {{ $errors->first('who_we_are') }} @endif
@if ($errors->has('why_choose_us')) {{ $errors->first('why_choose_us') }} @endif
@if ($errors->has('tagline')) {{ $errors->first('tagline') }} @endif
@if ($errors->has('title')) {{ $errors->first('title') }} @endif
@if ($errors->has('description')) {{ $errors->first('description') }} @endif
@if ($errors->has('background_image')) {{ $errors->first('background_image') }} @else Width-Auto X Height-Auto @if (isset($edit)) / {{ $record->background_image }} @endif @endif
@endif
@endsection @push('scripts') @endpush