@extends('frontend.layout.master')
@section('title', $pageTitle)
@section('content')

<style>
		
		@media only screen and (max-width: 770px) {

		}
	</style>

	<section>
		<div class="blog_div_1">
			<div class="nk_about_div_2" style="background-image: url({{ url('/') }}/frontend/img/about-banner.png);">
	            <div class="nk_about_div_3">
	                <div class="nk_about_div_4">
	                    <p class="nk_about_p_1">Blog</p>
	                </div>
	            </div>
	        </div>
	        <div class="blog_div_2">
	        	<div class="row">

				@foreach($allblog as $blogss)
					<div class="col-lg-4 col-md-4 col-sm-6 col-12">
						<div class="blog_home_div_3">
							<div class="blog_home_div_5">
								<div class="hover06 column">
									<div>
										<figure>
											<img src="{{ url('/') }}/{{$blogss->image}}" class="blog_home_img_1">
										</figure>
									</div>
								</div>
							</div>
							<div class="blog_home_div_4">
								<div class="row">
									<div class="col-6" style="padding: 0px;">
										<p class="blog_home_p_1">{{ $blogss->created_at->format('jS F Y') }}</p>
									</div>
									<!-- <div class="col-6" style="padding: 0px;">
										<p class="blog_home_p_1 text-right">Name loren ipsam</p>
									</div> -->
								</div>
								<p class="blog_home_p_2">
									<a href="{{ route('blog_page_details', ['slug' => $blogss->blog_slug]) }}">
									{{$blogss->title}}
									</a>
								</p>
							</div>
						</div>
					</div>
				@endforeach	
					<!-- <div class="col-lg-4 col-md-4 col-sm-6 col-12">
						<div class="blog_home_div_3">
							<div class="blog_home_div_5">
								<div class="hover06 column">
									<div>
										<figure>
											<img src="{{ url('/') }}/frontend/img/blog-2.jpg" class="blog_home_img_1">
										</figure>
									</div>
								</div>
							</div>
							<div class="blog_home_div_4">
								<div class="row">
									<div class="col-6" style="padding: 0px;">
										<p class="blog_home_p_1">22nd November 2022</p>
									</div>
									<div class="col-6" style="padding: 0px;">
										<p class="blog_home_p_1 text-right">Name loren ipsam</p>
									</div>
								</div>
								<p class="blog_home_p_2">
									<a href="#">
										How Corporates can gift good health to their employees
									</a>
								</p>
							</div>
						</div>
					</div>
					<div class="col-lg-4 col-md-4 col-sm-6 col-12">
						<div class="blog_home_div_3">
							<div class="blog_home_div_5">
								<div class="hover06 column">
									<div>
										<figure>
											<img src="{{ url('/') }}/frontend/img/blog-3.jpg" class="blog_home_img_1">
										</figure>
									</div>
								</div>
							</div>
							<div class="blog_home_div_4">
								<div class="row">
									<div class="col-6" style="padding: 0px;">
										<p class="blog_home_p_1">22nd November 2022</p>
									</div>
									<div class="col-6" style="padding: 0px;">
										<p class="blog_home_p_1 text-right">Name loren ipsam</p>
									</div>
								</div>
								<p class="blog_home_p_2">
									<a href="#">
										10 Super Effective Abs Workout With Resistance Bands
									</a>
								</p>
							</div>
						</div>
					</div> -->
				</div>
	        </div>
		</div>
	</section>

@endsection