@extends('backend.layout') {{-- this style will be applied when the direction of language is right-to-left --}} @includeIf('backend.partials.rtl-style') @section('content')
{{ __('Update Fun Facts Section') }}
@includeIf('backend.partials.languages')
@csrf @if ($themeInfo->theme_version == 1 || $themeInfo->theme_version == 2)

@if (!empty($data->background_image)) background image @else ... @endif
{{ __('Choose Image') }}
@error('background_image')

{{ $message }}

@enderror
@endif
{{ __('Counter Informations') }}
@includeIf('backend.partials.languages')
{{ __('Add') }}
@if (count($countInfos) == 0)

{{ __('NO INFORMATION FOUND') . '!' }}

@else
@if ($themeInfo->theme_version == 3) @endif @foreach ($countInfos as $countInfo) @if ($themeInfo->theme_version == 3) @endif @endforeach
{{ __('Icon') }}{{ __('Title') }} {{ __('Amount') }} {{ __('Serial Number') }} {{ __('Actions') }}
@if (is_null($countInfo->icon)) - @else @endif {{ strlen($countInfo->title) > 30 ? mb_substr($countInfo->title, 0, 30, 'UTF-8') . '...' : $countInfo->title }} {{ $countInfo->amount }} {{ $countInfo->serial_number }} {{ __('Edit') }}
@csrf
@endif
{{-- create modal --}} @include('backend.home-page.fun-fact-section.create') {{-- edit modal --}} @include('backend.home-page.fun-fact-section.edit') @endsection