@extends('layouts.admin') @section('page-title') {{ __('Landing Page') }} @endsection @section('breadcrumb') @endsection @php $settings = \Modules\LandingPage\Entities\LandingPageSetting::settings(); $logo = \App\Models\Utility::get_file('uploads/landing_page_image'); @endphp @push('script-page') @endpush @section('links') @endsection @section('content')
@include('landingpage::layouts.tab')
{{-- Start for all settings tab --}} {{ Form::open(['route' => 'testimonials.store', 'method' => 'post', 'enctype' => 'multipart/form-data', 'class' => 'needs-validation', 'novalidate']) }} @csrf
{{ __('Testimonials') }}
{{ Form::label('Heading', __('Heading'), ['class' => 'form-label']) }} {{ Form::text('testimonials_heading', $settings['testimonials_heading'], ['class' => 'form-control ', 'placeholder' => __('Enter Heading')]) }} @error('mail_host') {{ $message }} @enderror
{{ Form::label('Description', __('Description'), ['class' => 'form-label']) }} {{ Form::text('testimonials_description', $settings['testimonials_description'], ['class' => 'form-control', 'placeholder' => __('Enter Description')]) }} @error('testimonials_description') {{ $message }} @enderror
{{ Form::label('Long Description', __('Long Description'), ['class' => 'form-label']) }} {{ Form::textarea('testimonials_long_description', $settings['testimonials_long_description'], ['class' => 'form-control', 'placeholder' => __('Enter Long Description')]) }} @error('testimonials_long_description') {{ $message }} @enderror
{{ Form::close() }}
{{--
{{ __('Menu Bar') }}
--}}
{{ __('Testimonials List') }}
{{-- --}}
@if (is_array($testimonials) || is_object($testimonials)) @php $no = 1; @endphp @foreach ($testimonials as $key => $value) @endforeach @endif
{{ __('No') }} {{ __('Name') }} {{ __('Action') }}
{{ $no++ }} {{ $value['testimonials_title'] }}
{!! Form::open(['method' => 'GET', 'route' => ['testimonials_delete', $key], 'id' => 'delete-form-' . $key]) !!} {!! Form::close() !!}
{{-- End for all settings tab --}}
@endsection