@extends('admin.layout.layout') @section('page-level-css') @endsection @section('content') {{-- csrf token --}} {{-- csrf token --}}
@include('admin.partials.header')
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(Session::has('success'))
{{Session::get('success')}}
@endif
Create Home Page Information
@csrf

Title

Sub Title

Description

Banner Image

Image Name

Image Alt Tag

Banner Url

@if(!empty($data))
@csrf @else @csrf @endif

Home Page Information


@php $banner_images = App\HomeBanner::get(); @endphp @if( count($banner_images) != 0 ) @php $sr = 1; @endphp @foreach( $banner_images as $banner_image ) @php $sr++; @endphp @endforeach @else @endif
{{-- --}} @php $dealImages = json_decode($data->deal_image); @endphp @if(!empty($data->deal_image) && count($dealImages) != 0) @foreach( $dealImages as $key => $dealImage ) @php $imageName = $dealImage->image_name; $imageTitle = $dealImage->image_alt_tag; $images = ($dealImage->image_url); @endphp

Current Deal Image

Deal Image Name

@if($imageName)

Deal Image Alt Name

@endif @if($imageTitle)

Deal Image

@endif {{-- Remove --}}
@endforeach @else

Deal Image Name

Deal Image Alt Name

Deal Image

{{-- Remove --}}
@endif

Other Details


Title

page_title) ) value="{{ $data->page_title }}" @else value="{{ old('name') }}" @endif name="page_title" required="required">

Author

author) ) value="{{ $data->author }}" @else value="{{ old('name') }}" @endif name="author" required="required">

Canonical URLS

Description

Keywords

Status


@include('admin.partials.trashModal') @include('admin.partials.footer')
@endsection @section('page-level-js') @endsection