Current File : /home/tradevaly/new.tradevaly.com.bd/resources/views/backend/pages/Banner/advertiser.balde.php |
@extends('backend.ayaan.master')
@section('title') Update logo @endsection
@section('css')
<!-- select2 css -->
<link href="{{ asset('/assets/libs/select2/select2.min.css') }}" rel="stylesheet" type="text/css" />
@endsection
@section('content')
@component('components.breadcrumb')
@slot('li_1') Dashboards @endslot
@slot('title') Upload Logo @endslot
@endcomponent
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-body">
<h4 class="card-title">Update Logo</h4>
<p class="card-title-desc">Upload Logo</p>
<form action="{{route('admin.logo')}}" method="POST" enctype="multipart/form-data">@csrf
<div class="row">
<div class="col-sm-6">
<img style="height:60px; width:200px" src="{{asset('storage/images/admin/logo/'.$data->image)}}"/>
<div class="mb-3">
<label for="metadescription">{{translate('Name')}}</label>
<input id="metatitle" name="image" type="file" class="form-control" value="$data->image">
</div>
</div>
<div class="col-sm-6">
<div class="mb-3">
<label for="metadescription">{{translate('Number')}}</label>
<input id="metatitle" name="number" type="text" class="form-control" required value="{{ $data->number }}">
</div>
</div>
<div class="col-sm-6">
<div class="mb-3">
<label for="metadescription">{{translate('email')}}</label>
<input id="metatitle" name="email" type="email" class="form-control" required value="{{ $data->email }}">
</div>
</div>
<div class="col-sm-6">
<div class="mb-3">
<label for="metadescription">{{translate('Address')}}</label>
<input id="metatitle" name="address" type="text" class="form-control" required value="{{ $data->address }}">
</div>
</div>
<div class="col-sm-12">
<h4 class="card-title">Social Media</h4>
</div>
<div class="col-sm-6">
<div class="mb-3">
<label for="metadescription">{{translate('Whats App')}}</label>
<input id="metatitle" name="whatsapp_number" type="text" class="form-control" value="{{ $data->whatsapp_number }}">
</div>
</div>
<div class="col-sm-6">
<div class="mb-3">
<label for="metadescription">{{translate('Facebook')}}</label>
<input id="metatitle" name="facbook" type="text" class="form-control" value="{{ $data->facbook }}">
</div>
</div>
<div class="col-sm-6">
<div class="mb-3">
<label for="metadescription">{{translate('Twitter')}}</label>
<input id="metatitle" name="twitter" type="text" class="form-control" value="{{ $data->twitter }}">
</div>
</div>
<div class="col-sm-6">
<div class="mb-3">
<label for="metadescription">{{translate('Instagram')}}</label>
<input id="metatitle" name="instagram" type="text" class="form-control" value="{{ $data->instagram }}">
</div>
</div>
<div class="col-sm-6">
<div class="mb-3">
<label for="metadescription">{{translate('linkdin')}}</label>
<input id="metatitle" name="linkdin" type="text" class="form-control" value="{{ $data->linkdin }}">
</div>
</div>
<div class="col-sm-6">
<div class="mb-3">
<label for="metadescription">{{translate('Youtube')}}</label>
<input id="metatitle" name="youtube" type="text" class="form-control" value="{{ $data->youtube }}">
</div>
</div>
<div class="col-sm-12">
<h4 class="card-title">Meta Information</h4>
</div>
<div class="col-sm-6">
<div class="mb-3">
<label for="metadescription">{{translate('meta_author')}}</label>
<input id="metatitle" name="meta_author" type="text" class="form-control" required value="{{ $data->meta_author }}">
</div>
</div>
<div class="col-sm-6">
<div class="mb-3">
<label for="metadescription">{{translate('meta_title')}}</label>
<input id="metatitle" name="meta_title" type="text" class="form-control" required value="{{ $data->meta_title }}">
</div>
</div>
<div class="col-sm-6">
<div class="mb-3">
<label for="metadescription">{{translate('meta_description')}}</label>
<input id="metatitle" name="meta_description" type="text" class="form-control" required value="{{ $data->meta_description }}">
</div>
</div>
<div class="col-sm-6">
<div class="mb-3">
<label for="metadescription">{{translate('meta_tages')}}</label>
<input id="metatitle" name="meta_tages" type="text" multiple class="form-control" required value="{{ $data->meta_tages }}">
</div>
</div>
<div class="col-sm-12">
<h4 class="card-title">Footer Copy Right</h4>
</div>
<div class="col-sm-6">
<div class="mb-3">
<label for="metadescription">{{translate('copyright')}}</label>
<textarea id="metatitle" name="copyright" type="text" class="form-control" required > {{ $data->copyright }}</textarea>
</div>
</div>
</div>
<div class="d-flex flex-wrap gap-2">
<button type="submit" class="btn btn-primary">Save and Change</button>
</div>
</form>
</div>
</div>
</div>
</div>
@stop
@section('script')
<script src="{{ asset('/assets/libs/select2/select2.min.js') }}"></script>
<!-- dropzone plugin -->
<script src="{{ asset('/assets/libs/dropzone/dropzone.min.js') }}"></script>
<!-- init js -->
<script src="{{ asset('/assets/js/pages/ecommerce-select2.init.js') }}"></script>
<script>
$(function() {
$('#example').select2({
multiple: true,
maximumSelectionSize: 1
});
});
</script>
@endsection