@php
$author_box_on = config('ThemeOptions.author_box_on',true);
@endphp
@if($author_box_on)
	<div class="author-box blog-user style-1 mb-60 bg-white px-30 py-30 dark:bg-card">
		<div class="author-profile-info sm:flex block gap-20 sm:text-left text-center">
			<div class="author-profile-pic mb-15">
				<img class="md:size-150 size-100 rounded-full mx-auto" src="{{ HelpDesk::user_img(optional($blog->user)->profile); }}" alt="{{ __("user's profile") }}" />
			</div>
			<div class="author-profile-content flex-1">
				<h6 class="mb-5">{{ __('By') }} <a href="{{ DzHelper::author(optional($blog->user)->id) }}">{{ optional($blog->user)->name }}</a> </h6>
                <p class="sm:text-xl">{{ CustomFieldHelper::get_custom_field_value('users','user_biography',optional($blog->user)->id); }} </p>
				<div class="dz-social-icon style-2 mt-15">
					<ul class="inline-flex gap-8">
						{!! get_social_icons('','size-45 border dark:border-white/10 dark:text-white border-black/10 text-center !leading-41 text-lg rounded-full hover:bg-primary') !!}
					</ul>
				</div>
			</div>
		</div>
	</div>
@endif
