@php $about = getContent(config('settings')->active_template, 'about.content', true); $aElement = getContent(config('settings')->active_template, 'about.element'); @endphp
@extends($activeTemplate.'layouts.dash')

@section('content')
	<div class="top" style="background: none;">
		<div data-href="{{ route('user.profile') }}" class="linkBTN" style="float:left; line-height:46px;width:50%; height:46px;cursor:pointer;" id="btnClose">
			<img src="/assets/images/arrow-back-up.png" style="margin-left:12px;width:32px;border: 1px solid #fff;background: #f0f8fe;border-radius: 25px;padding: 4px;" />
		</div>
	</div>

	<div style="width: 100%; margin: 0 auto; text-align: center;  position: relative; height: auto; overflow: hidden;  ">
		<img src="{{ getImage('assets/images/frontend/about/' .@$about->data_values->image, '900x456') }}" style=" width:100%;">
	</div>
	
	<div style="width: 100%; margin: 0 auto; background: #fff; height: auto; overflow: hidden; margin-top: 10px; margin-bottom:15px; ">
		<p style="padding:15px; color:#000; font-weight:700; padding-top:0px; font-size:18px; text-align:center;margin-top:10px">{{ __(@$about->data_values->heading) }}<br/>{{ __(@$about->data_values->sub_heading) }}</p>
		<div style="padding:15px; color:#000; padding-top:0px; font-size:16px; text-align:justify;" id="kfinfo">
			<p><br></p>
			{!! @$about->data_values->content !!}
			<p><br></p>
		</div>
	</div>

	@foreach($aElement as $info)
	<div style="width: 100%; margin: 0 auto; background: #fff; height: auto; overflow: hidden; margin-top: 10px; margin-bottom:15px; ">
		<div style="padding:15px; color:#000; font-size:16px; text-align:justify; " id="kfinfo">
			<h3 class="font-body uppercase text-gray-600 mb-2 w-full">{!! @$info->data_values->title !!}</h3>
			<p class="font-body text-gray-500 whitespace-pre-wrap">{!! @$info->data_values->text !!}</p>
		</div>
	</div>
	@endforeach

	<div style="width: 100%; margin: 0 auto; background: #fff; height: 55px; margin-top: 10px; line-height: 55px;  height:55px;"></div>

@endsection

@push('script')
@endpush
