@extends('layouts.admin') @section('page-title') {{ __('Landing Page') }} @endsection @section('breadcrumb') @endsection @push('css-page') @endpush @php $settings = \Modules\LandingPage\Entities\LandingPageSetting::settings(); $logo = \App\Models\Utility::get_file('uploads/landing_page_image'); @endphp @push('custom-scripts') @endpush @section('breadcrumb') @endsection @section('content')
@include('landingpage::layouts.tab')
{{-- Start for all settings tab --}}
{{ Form::open(['route' => 'features.store', 'method' => 'post', 'enctype' => 'multipart/form-data']) }} @csrf
{{ __('Feature') }}
{{ Form::label('Title', __('Title'), ['class' => 'form-label']) }} {{ Form::text('feature_title', $settings['feature_title'], ['class' => 'form-control ', 'placeholder' => __('Enter Title')]) }} @error('mail_host') {{ $message }} @enderror
{{ Form::label('Heading', __('Heading'), ['class' => 'form-label']) }} {{ Form::text('feature_heading', $settings['feature_heading'], ['class' => 'form-control ', 'placeholder' => __('Enter Heading')]) }} @error('mail_host') {{ $message }} @enderror
{{ Form::label('Description', __('Description'), ['class' => 'form-label']) }} {{ Form::text('feature_description', $settings['feature_description'], ['class' => 'form-control', 'placeholder' => __('Enter Description')]) }} @error('mail_port') {{ $message }} @enderror
{{ Form::label('Buy Now Link', __('Buy Now Link'), ['class' => 'form-label']) }} {{ Form::text('feature_buy_now_link', $settings['feature_buy_now_link'], ['class' => 'form-control', 'placeholder' => __('Enter Link')]) }} @error('mail_port') {{ $message }} @enderror
{{ Form::close() }}
{{ __('Features List') }}
{{-- --}}
@if (is_array($feature_of_features) || is_object($feature_of_features)) @php $ff_no = 1; @endphp @foreach ($feature_of_features as $key => $value) @endforeach @endif
{{ __('No') }} {{ __('Name') }} {{ __('Action') }}
{{ $ff_no++ }} {{ $value['feature_heading'] }}
{!! Form::open([ 'method' => 'GET', 'route' => ['feature_delete', $key], 'id' => 'delete-form-' . $key, ]) !!} {!! Form::close() !!}
{{ __('Feature') }}
{{ Form::open(['route' => 'feature_highlight_create', 'method' => 'post', 'enctype' => 'multipart/form-data']) }} @csrf
{{ Form::label('highlight_feature_heading', __('Heading'), ['class' => 'form-label']) }} {{ Form::text('highlight_feature_heading', $settings['highlight_feature_heading'], ['class' => 'form-control', 'placeholder' => __('Enter Link')]) }} @error('highlight_feature_heading') {{ $message }} @enderror
{{ Form::label('highlight_feature_heading', __('Description'), ['class' => 'form-label']) }} {{ Form::text('highlight_feature_description', $settings['highlight_feature_description'], ['class' => 'form-control', 'placeholder' => __('Enter Link')]) }} @error('highlight_feature_description') {{ $message }} @enderror
{{ Form::label('Logo', __('Logo'), ['class' => 'form-label']) }}
@error('highlight_feature_image')
@enderror
{{ Form::close() }}
{{ __('Features Block') }}
{{-- --}}
@if (is_array($feature_of_features) || is_object($feature_of_features)) @php $of_no = 1; @endphp @foreach ($other_features as $key => $value) @endforeach @endif
{{ __('No') }} {{ __('Name') }} {{ __('Action') }}
{{ $of_no++ }} {{ $value['other_features_heading'] }}
{!! Form::open([ 'method' => 'GET', 'route' => ['features_delete', $key], 'id' => 'delete-form-' . $key, ]) !!} {!! Form::close() !!}
{{-- End for all settings tab --}}
@endsection