changes-after-live

et#8
Mahesh Sharma 2 years ago
parent 5e9dc074f8
commit d77b41f001
  1. 4
      app/Http/Controllers/BlogController.php
  2. 6
      app/Http/Controllers/ContactController.php
  3. 4
      app/Http/Controllers/VisaController.php
  4. BIN
      public/23c14121365d73326cac867b383ff5ca.png
  5. BIN
      public/617de07568e91a7e61ab6cbe607aa8cf.png
  6. BIN
      public/a3b1cd88df18c6961bedd6566eeb3b2e.png
  7. 16
      resources/views/admin/service_section/edit.blade.php
  8. 12
      resources/views/blogs.blade.php
  9. 10
      resources/views/contact.blade.php
  10. 16
      resources/views/layout/app.blade.php
  11. 10
      resources/views/visa.blade.php
  12. 3
      resources/views/welcome.blade.php
  13. 14
      routes/web.php

@ -4,12 +4,14 @@ namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\NewsAndUpdate;
use App\Models\Page;
class BlogController extends Controller
{
public function index(){
$page = Page::where(['title' => 'Blog','status' => 1])->first();
$blogs = NewsAndUpdate::where('status',1)->get();
return view('blogs',compact('blogs'));
return view('blogs',compact('blogs','page'));
}
public function blog_detail($slug){

@ -4,9 +4,15 @@ namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Contact;
use App\Models\Page;
class ContactController extends Controller
{
public function index(){
$page = Page::where(['title' => 'Contact Us','status' => 1])->first();
return view('contact',compact('page'));
}
public function post_contact(Request $request){
$contact = new Contact();

@ -4,11 +4,13 @@ namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\VisaService;
use App\Models\Page;
class VisaController extends Controller
{
public function index(){
$page = Page::where(['title' => 'Visa','status' => 1])->first();
$visas = VisaService::where('status',1)->get();
return view('visa',compact('visas'));
return view('visa',compact('visas','page'));
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

@ -57,7 +57,7 @@
<div class="col-md-6">
<div class="form-group">
<label for="description">Description</label>
<textarea id="body" name="description">{{$service_section->description}}</textarea>
<textarea id="body" class = "summernote_class" name="description">{{$service_section->description}}</textarea>
</div>
</div>
<div class="col-md-6">
@ -155,13 +155,15 @@
@endsection
@section('script')
<script>
ClassicEditor
.create( document.querySelector( '#body' ),
{
ckfinder: {
uploadUrl: '{{route('image.upload').'?_token='.csrf_token()}}', }
$(document).ready(function() {
$('.summernote_class').summernote()
})
// ClassicEditor
// .create( document.querySelector( '#body' ),
// {
// ckfinder: {
// uploadUrl: '{{route('image.upload').'?_token='.csrf_token()}}', }
// })
ClassicEditor
.create( document.querySelector( '#body1' ),
{

@ -9,16 +9,16 @@
<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">
<section class="abroad-banner-section" style="background: url({{url($page->banner_image)}})">
<!-- <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>
</ol>
</nav>
</nav> -->
<div class="studyabroad-banner-header">
<h1>Blog</h1>
<h5>Know what’s trending overseas</h5>
<h1>{{$page->title}}</h1>
<h5>{{$page->sub_title}}</h5>
</div>
</section>
<section class="blogs-section">
@ -90,7 +90,7 @@
<div class="blog-banner-desc">
<div class="blog-banner-content">
<h2>Get started <span>today.</span></h2>
<a href="">FREE CONSULTATION</a>
<a href="{{url('contact')}}">FREE CONSULTATION</a>
</div>
<h5>Get Free Consultation with Experts</h5>
</div>

@ -12,16 +12,16 @@
@php
$msg = Session::get('msg') ?? null;
@endphp
<section class="abroad-banner-section" style="background: url('frontend/images/contact-banner.png')">
<nav aria-label="breadcrumb">
<section class="abroad-banner-section" style="background: url({{$page->banner_image}})">
<!-- <nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">Contact</li>
</ol>
</nav>
</nav> -->
<div class="studyabroad-banner-header">
<h1>Contact Us</h1>
<h5>Take a Right Step Towards Better Future</h5>
<h1>{{$page->title}}</h1>
<h5>{{$page->sub_title}}</h5>
</div>
</section>
<section class="contact-form-section">

@ -63,9 +63,15 @@
<a href="/login" target="_blank">login</a> | <a href="/signup" target="_blank">Signup</a>
</div>
<!-- <a href="#" class="twitter"><i class="bi bi-twitter"></i></a> -->
<a href="" target="_blank" class="facebook"><i class="fa-brands fa-facebook"></i></a>
<a href="" target="_blank" class="instagram"><i class="fa-brands fa-instagram"></i></a>
<a href="" target="_blank" class="linkdin"><i class="fa-brands fa-linkedin"></i></a>
@if($facebook != '')
<a href="{{$facebook}}" target="_blank" class="facebook"><i class="fa-brands fa-facebook"></i></a>
@endif
@if($instagram != '')
<a href="{{$instagram}}" target="_blank" class="instagram"><i class="fa-brands fa-instagram"></i></a>
@endif
@if($linkedin != '')
<a href="{{$linkedin}}" target="_blank" class="linkdin"><i class="fa-brands fa-linkedin"></i></a>
@endif
<!-- <a href="#" class="linkedin"><i class="bi bi-linkedin"></i></i></a> -->
</div>
</section>
@ -199,12 +205,12 @@
</a>
@endif
@if($instagram != '')
<a href="" target="_blank" class="text-white" rel="noreferrer">
<a href="{{$instagram}}" target="_blank" class="text-white" rel="noreferrer">
<i class="fa-brands fa-instagram fa-xl"></i>
</a>
@endif
@if($linkedin != '')
<a href="" target="_blank" class="text-white" rel="noreferrer">
<a href="{{$linkedin}}" target="_blank" class="text-white" rel="noreferrer">
<i class="fa-brands fa-linkedin fa-xl"></i>
</a>
@endif

@ -9,16 +9,16 @@
<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/student-visa-banner.png')">
<nav aria-label="breadcrumb">
<section class="abroad-banner-section" style="background: url({{url($page->banner_image)}})">
<!-- <nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">Visa</li>
</ol>
</nav>
</nav> -->
<div class="studyabroad-banner-header">
<h1>Student Visa</h1>
<h5>Visit Australia to participate in the course of study</h5>
<h1>{{$page->title}}</h1>
<h5>{{$page->sub_title}}</h5>
</div>
</section>
<section class="student-visa-section">

@ -40,7 +40,6 @@
<img src="{{url('frontend/icons/institution-icon.svg')}}" class="img-fluid" alt="">
<h3>500+ Partner <br> Institutions</h3>
</div>
</div>
</section>
<section class="services-section">
<div class="row">
@ -158,7 +157,7 @@
</div>
</div>
<div class="mt-4">
<a href="">Learn More</a>
<a href="{{url('about')}}">Learn More</a>
</div>
</div>
</div>

@ -61,9 +61,7 @@ Route::get('/education/{slug}', [StudyAbroadController::class,'details']);
// return view('study-abroad-detail');
// });
Route::get('visas', [VisaController::class,'index']);
Route::get('/contact', function () {
return view('contact');
});
Route::get('contact', [ContactController::class,'index']);
Route::post('contact', [ContactController::class,'post_contact']);
Route::get('about', [FrontendAboutUsController::class,'index']);
@ -293,13 +291,11 @@ Route::group(['middleware'=>['auth']],function (){
// Route::get('/study-abroad', function () {
// return view('study-abroad');
// });
Route::get('/study-abroad-detail', function () {
return view('study-abroad-detail');
});
// Route::get('/study-abroad-detail', function () {
// return view('study-abroad-detail');
// });
// Route::get('/visa', function () {
// return view('visa');
// });
Route::get('/contact', function () {
return view('contact');
});

Loading…
Cancel
Save