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. 18
      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 Illuminate\Http\Request;
use App\Models\NewsAndUpdate; use App\Models\NewsAndUpdate;
use App\Models\Page;
class BlogController extends Controller class BlogController extends Controller
{ {
public function index(){ public function index(){
$page = Page::where(['title' => 'Blog','status' => 1])->first();
$blogs = NewsAndUpdate::where('status',1)->get(); $blogs = NewsAndUpdate::where('status',1)->get();
return view('blogs',compact('blogs')); return view('blogs',compact('blogs','page'));
} }
public function blog_detail($slug){ public function blog_detail($slug){

@ -4,9 +4,15 @@ namespace App\Http\Controllers;
use Illuminate\Http\Request; use Illuminate\Http\Request;
use App\Models\Contact; use App\Models\Contact;
use App\Models\Page;
class ContactController extends Controller 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){ public function post_contact(Request $request){
$contact = new Contact(); $contact = new Contact();

@ -4,11 +4,13 @@ namespace App\Http\Controllers;
use Illuminate\Http\Request; use Illuminate\Http\Request;
use App\Models\VisaService; use App\Models\VisaService;
use App\Models\Page;
class VisaController extends Controller class VisaController extends Controller
{ {
public function index(){ public function index(){
$page = Page::where(['title' => 'Visa','status' => 1])->first();
$visas = VisaService::where('status',1)->get(); $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="col-md-6">
<div class="form-group"> <div class="form-group">
<label for="description">Description</label> <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> </div>
<div class="col-md-6"> <div class="col-md-6">
@ -155,13 +155,15 @@
@endsection @endsection
@section('script') @section('script')
<script> <script>
$(document).ready(function() {
ClassicEditor $('.summernote_class').summernote()
.create( document.querySelector( '#body' ), })
{ // ClassicEditor
ckfinder: { // .create( document.querySelector( '#body' ),
uploadUrl: '{{route('image.upload').'?_token='.csrf_token()}}', } // {
}) // ckfinder: {
// uploadUrl: '{{route('image.upload').'?_token='.csrf_token()}}', }
// })
ClassicEditor ClassicEditor
.create( document.querySelector( '#body1' ), .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."/> <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 @endsection
@section('content') @section('content')
<section class="abroad-banner-section" style="background: url('frontend/images/blogs-banner.png')"> <section class="abroad-banner-section" style="background: url({{url($page->banner_image)}})">
<nav aria-label="breadcrumb"> <!-- <nav aria-label="breadcrumb">
<ol class="breadcrumb"> <ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/">Home</a></li> <li class="breadcrumb-item"><a href="/">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">Blogs</li> <li class="breadcrumb-item active" aria-current="page">Blogs</li>
</ol> </ol>
</nav> </nav> -->
<div class="studyabroad-banner-header"> <div class="studyabroad-banner-header">
<h1>Blog</h1> <h1>{{$page->title}}</h1>
<h5>Know what’s trending overseas</h5> <h5>{{$page->sub_title}}</h5>
</div> </div>
</section> </section>
<section class="blogs-section"> <section class="blogs-section">
@ -90,7 +90,7 @@
<div class="blog-banner-desc"> <div class="blog-banner-desc">
<div class="blog-banner-content"> <div class="blog-banner-content">
<h2>Get started <span>today.</span></h2> <h2>Get started <span>today.</span></h2>
<a href="">FREE CONSULTATION</a> <a href="{{url('contact')}}">FREE CONSULTATION</a>
</div> </div>
<h5>Get Free Consultation with Experts</h5> <h5>Get Free Consultation with Experts</h5>
</div> </div>

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

@ -63,9 +63,15 @@
<a href="/login" target="_blank">login</a> | <a href="/signup" target="_blank">Signup</a> <a href="/login" target="_blank">login</a> | <a href="/signup" target="_blank">Signup</a>
</div> </div>
<!-- <a href="#" class="twitter"><i class="bi bi-twitter"></i></a> --> <!-- <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> @if($facebook != '')
<a href="" target="_blank" class="instagram"><i class="fa-brands fa-instagram"></i></a> <a href="{{$facebook}}" target="_blank" class="facebook"><i class="fa-brands fa-facebook"></i></a>
<a href="" target="_blank" class="linkdin"><i class="fa-brands fa-linkedin"></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> --> <!-- <a href="#" class="linkedin"><i class="bi bi-linkedin"></i></i></a> -->
</div> </div>
</section> </section>
@ -199,12 +205,12 @@
</a> </a>
@endif @endif
@if($instagram != '') @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> <i class="fa-brands fa-instagram fa-xl"></i>
</a> </a>
@endif @endif
@if($linkedin != '') @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> <i class="fa-brands fa-linkedin fa-xl"></i>
</a> </a>
@endif @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."/> <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 @endsection
@section('content') @section('content')
<section class="abroad-banner-section" style="background: url('frontend/images/student-visa-banner.png')"> <section class="abroad-banner-section" style="background: url({{url($page->banner_image)}})">
<nav aria-label="breadcrumb"> <!-- <nav aria-label="breadcrumb">
<ol class="breadcrumb"> <ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/">Home</a></li> <li class="breadcrumb-item"><a href="/">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">Visa</li> <li class="breadcrumb-item active" aria-current="page">Visa</li>
</ol> </ol>
</nav> </nav> -->
<div class="studyabroad-banner-header"> <div class="studyabroad-banner-header">
<h1>Student Visa</h1> <h1>{{$page->title}}</h1>
<h5>Visit Australia to participate in the course of study</h5> <h5>{{$page->sub_title}}</h5>
</div> </div>
</section> </section>
<section class="student-visa-section"> <section class="student-visa-section">

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

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

Loading…
Cancel
Save