@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 --}}
{{ __('Custom Page') }}
{{ Form::open(array('route' => 'custom_store', 'method'=>'post', 'enctype' => "multipart/form-data")) }}
{{ Form::label('Site Logo', __('Site Logo'), ['class' => 'form-label']) }}
@error('site_logo')
@enderror
{{ Form::label('Site Description', __('Site Description'), ['class' => 'form-label']) }} {{ Form::text('site_description', $settings['site_description'], ['class' => 'form-control', 'placeholder' => __('Enter Description')]) }} @error('mail_port') {{ $message }} @enderror
{{ Form::close() }}
{{ __('Custom Page List') }}
{{-- --}}
@if (is_array($pages) || is_object($pages)) @php $no = 1 @endphp @foreach ($pages as $key => $value) @endforeach @endif
{{__('No')}} {{__('Name')}} {{__('Action')}}
{{ $no++ }} {{ $value['menubar_page_name'] }} @if($value['page_slug'] != 'terms_and_conditions' && $value['page_slug'] != 'about_us' && $value['page_slug'] != 'privacy_policy')
{!! Form::open(['method' => 'DELETE', 'route' => ['custom_page.destroy', $key],'id'=>'delete-form-'.$key]) !!} {!! Form::close() !!}
@endif
{{-- End for all settings tab --}}
@endsection