You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
8.4 KiB

2 years ago
@extends('layout.app')
@section('title')
<title>{{$blog->title}}</title>
<meta name="description" content="{{(\Illuminate\Support\Str::limit(strip_tags($blog->description), 100, $end='...'))}}">
2 years ago
<meta name="robots" content="index, follow" />
<meta property="og:url" content="" />
<meta property="og:image" content="{{url($blog->image)}}"/>
<meta property="og:title" content="{{$blog->title}}"/>
<meta property="og:description" content="{{(\Illuminate\Support\Str::limit(strip_tags($blog->description), 100, $end='...'))}}"/>
2 years ago
@endsection
@section('content')
<section class="blog-detail-section">
<div class="row">
<div class="col-md-8">
<div class="blog-detail-desc">
2 years ago
<h2>{{$blog->title}} </h2>
2 years ago
<div class="blog-detail-img">
<img src="{{url($blog->image)}}" class="w-100" alt="">
2 years ago
</div>
2 years ago
@php $date = Carbon\Carbon::createFromFormat('Y-m-d', $blog->publish_date);@endphp
2 years ago
<div class="blog-socials">
2 years ago
<div class="blog-info">
<h6>{{$date->format('j M, Y')}}</h6>
<span></span>
<h6>5 min read</h6>
</div>
2 years ago
<div class="social-share">
<?php
$baseUrl="https://eteducation.com.au/blog/";
2 years ago
// $slug="$setting->slug";
?>
<a target="_blank" class="socials-icon" href="https://www.facebook.com/sharer.php?u={{$baseUrl.$blog->slug}}">
2 years ago
<i class="fa-brands fa-facebook-f"></i>
2 years ago
</a>
<a target="_blank" class="socials-icon" href="https://twitter.com/share?text=Visit the link &url={{$baseUrl.$blog->slug}}">
2 years ago
<i class="fa-brands fa-twitter"></i>
2 years ago
</a>
<a target="_blank" class="socials-icon" href="https://www.linkedin.com/shareArticle?mini=true&url={{$baseUrl.$blog->slug}}">
2 years ago
<i class="fa-brands fa-linkedin-in"></i>
2 years ago
</a>
</div>
</div>
2 years ago
{!!$blog->description!!}
<!-- <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularized in the 1960s with the release of Letterset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularized in the 1960s with the release of Letterset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Lorem Ipsum is simply dummy text of the printing and typesetting industry.
2 years ago
<br><br>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularized in the 1960s with the release of Letterset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularized in the 1960s with the release of Letterset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularized in the 1960s with the release of Letterset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularized in the 1960s with the release of Letterset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Lorem Ipsum is simply dummy text of the printing and typesetting industry.
<br><br>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularized in the 1960s with the release of Letterset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularized in the 1960s with the release of Letterset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Lorem Ipsum is simply dummy text of the printing and typesetting industry.
2 years ago
</p> -->
2 years ago
</div>
</div>
<div class="col-md-4">
<div class="recent-card">
2 years ago
<h1>Most Popular Blogs</h1>
2 years ago
@foreach(App\Models\NewsAndUpdate::where('id','!=',$blog->first()->id)->where('status','1')->get() as $recent)
<a href="{{url('blog/'.$recent->slug)}}" class="recent-card-content">
<div class="col-md-4 recent-card-img">
2 years ago
<img src="{{url($recent->thumbnail ?? $recent->image)}}" class="w-100" alt="">
2 years ago
</div>
<div class="col-md-8 recent-post-desc">
2 years ago
@php $date = Carbon\Carbon::createFromFormat('Y-m-d', $recent->publish_date);@endphp
<h5>{{$date->format('j M, Y')}}</h5>
2 years ago
<h5>2 min read</h5>
2 years ago
<h2>{{$recent->title}}</h2>
2 years ago
</div>
</a>
2 years ago
@endforeach
2 years ago
</div>
</div>
</div>
</section>
@endsection