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.

98 lines
5.2 KiB

2 years ago
@extends('layout.app')
@section('title')
<title>Blogs</title>
2 years ago
<meta name="description" content="ET Education and Visa Services, presented by Extratech, is an adept provider of excellent education consultation, information, and visa guidance solution to students seeking schooling abroad.">
<meta name="robots" content="index, follow" />
<meta property="og:url" content="" />
<meta property="og:image" content="{{url('frontend/images/banner.png')}}"/>
<meta property="og:title" content="ET-Visas"/>
<meta property="og:description" content="ET Education and Visa Services, presented by Extratech, is an adept provider of excellent education consultation, information, and visa guidance solution to students seeking schooling abroad."/>
@endsection
@section('content')
<section class="abroad-banner-section" style="background: url('frontend/images/blogs-banner.png')">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">Blogs</li>
2 years ago
</ol>
</nav>
<div class="studyabroad-banner-header">
<h1>Blog</h1>
<h5>Know what’s trending overseas</h5>
</div>
</section>
<section class="blogs-section">
<h2 class="visa-para-title mb-5">
<img src="{{url('frontend/icons/side-bars.svg')}}" class="me-2" alt="">
Latest Articles
</h2>
2 years ago
@php
$blog = $blogs->where('blog_type',1)->first();
@endphp
2 years ago
<div class="row">
<div class="col-md-5">
<div class="featured-article">
2 years ago
<img src="{{url($blog->image )}}" class="w-100" alt="">
2 years ago
<h3>Study in Australia</h3>
2 years ago
@php $date = Carbon\Carbon::createFromFormat('Y-m-d', $blog->publish_date);@endphp
<h6>{{$date->format('j M, Y')}}</h6>
<h2>{{$blog->title}} </h2>
<p>{!!(\Illuminate\Support\Str::limit($blog->description, 200, $end='...'))!!}</p>
<a href="{{url('/blog/'.$blog->slug)}}">Read More <i class="fa-solid fa-arrow-right-long ms-2 fa-sm"></i></a>
2 years ago
</div>
2 years ago
</div>
2 years ago
<div class="col-md-7">
<div class="related-articles">
2 years ago
@foreach($blogs->where('blog_type','!=',1) as $blog)
2 years ago
<div class="article-card">
<div class="article-img">
2 years ago
<img src="{{url($blog->thumbnail ?? $blog->image)}}" class="w-100" alt="">
2 years ago
</div>
<div class="article-desc">
<h3>Study in Australia</h3>
2 years ago
<h6>{{$blog->publish_date}}</h6>
<h2>{{$blog->title}} </h2>
<p>{!!(\Illuminate\Support\Str::limit($blog->description, 200, $end='...'))!!}</p>
2 years ago
<a href="blog-detail">Read More <i class="fa-solid fa-arrow-right-long ms-2 fa-xs"></i></a>
2 years ago
</div>
</div>
2 years ago
@endforeach
<!-- <div class="article-card">
2 years ago
<div class="article-img">
<img src="{{url('frontend/images/blog-passport.png')}}" class="w-100" alt="">
</div>
<div class="article-desc">
<h3>Study in Australia</h3>
<h6>Dec 09, 2022, 2 mins read</h6>
<h2>Ten Reasons that make Australia the Best Destination </h2>
<p>If you want to study in a city surrounded by lush greenery and a pleasant atmosphere..</p>
2 years ago
<a href="blog-detail">Read More <i class="fa-solid fa-arrow-right-long ms-2 fa-xs"></i></a>
2 years ago
</div>
</div>
<div class="article-card">
<div class="article-img">
<img src="{{url('frontend/images/blog-passport.png')}}" class="w-100" alt="">
</div>
<div class="article-desc">
<h3>Study in Australia</h3>
<h6>Dec 09, 2022, 2 mins read</h6>
<h2>Ten Reasons that make Australia the Best Destination </h2>
<p>If you want to study in a city surrounded by lush greenery and a pleasant atmosphere..</p>
2 years ago
<a href="blog-detail">Read More <i class="fa-solid fa-arrow-right-long ms-2 fa-xs"></i></a>
2 years ago
</div>
2 years ago
</div> -->
2 years ago
</div>
</div>
</div>
</section>
<section class="blog-banner">
<div class="blog-banner-desc">
<div class="blog-banner-content">
<h2>Get started <span>today.</span></h2>
<a href="">FREE CONSULTATION</a>
</div>
<h5>Get Free Consultation with Experts</h5>
</div>
</section>
2 years ago
@endsection