visa-service-update

et#12
Mahesh Sharma 2 years ago
parent 19ee0065fb
commit 334a55e10b
  1. 2
      app/Http/Controllers/Admin/VisaServiceController.php
  2. 83
      app/Http/Controllers/Admin/VisaServiceSectionController.php
  3. 6
      app/Http/Controllers/VisaController.php
  4. 13
      database/migrations/2022_12_13_035945_create_visa_service_sections_table.php
  5. 8
      public/images/visa_service/2023/01/27/bc804c9c9e533c4b8a25f341ab7fcf2b.svg
  6. BIN
      public/images/visa_service/2023/02/01/18fcf4077cefa53bc1ec28c8fed463cc.png
  7. BIN
      public/images/visa_service/2023/02/01/532f0d3ebffd9da0dc5139849e941b27.png
  8. 48
      resources/views/admin/service_section/edit.blade.php
  9. 7
      resources/views/admin/visa_service/create.blade.php
  10. 4
      resources/views/admin/visa_service/edit.blade.php
  11. 6
      resources/views/admin/visa_service/index.blade.php
  12. 67
      resources/views/admin/visa_service_section/create.blade.php
  13. 78
      resources/views/admin/visa_service_section/edit.blade.php
  14. 2
      resources/views/admin/visa_service_section/index.blade.php
  15. 6
      resources/views/layout/app.blade.php
  16. 43
      resources/views/visa.blade.php
  17. 3
      routes/web.php

@ -62,6 +62,7 @@ class VisaServiceController extends Controller
'seo_title' => 'required',
'short_description' => 'required',
'keywords'=>'required',
'image'=>'required|mimes:jpeg,png,jpg,svg',
'icon' => 'file|mimes:jpeg,png,jpg,svg,'
]);
$service = new VisaService();
@ -168,6 +169,7 @@ class VisaServiceController extends Controller
'short_description' => 'required',
'seo_title' => 'required',
'keywords'=>'required',
'image'=>'required|mimes:jpeg,png,jpg,svg',
]);
$service = new VisaService();

@ -71,15 +71,10 @@ class VisaServiceSectionController extends Controller
]);
$service_section = new VisaServiceSection();
$service_section->right_title = \request('right_title');
$service_section->right_sub_title = \request('right_sub_title');
$service_section->left_title = \request('left_title');
$service_section->left_sub_title = \request('left_sub_title');
$service_section->top_description = strip_tags(\request('top_description'));
$service_section->left_description = strip_tags(\request('left_description'));
$service_section->point_title = strip_tags(\request('point_title'));
$service_section->visa_length = strip_tags(\request('visa_length'));
$service_section->title = \request('title');
$service_section->sub_title = \request('sub_title');
$service_section->description = (\request('description'));
$service_section->sub_description = (\request('sub_description'));
$service_section->visa_service_id = $id;
$service_section->status = \request('status');
$service_section->order_by = \request('order_by');
@ -99,22 +94,22 @@ class VisaServiceSectionController extends Controller
if($service_section->save()){
$points = $request->points;
// $points = $request->points;
// $point_descriptions = $request->point_descriptions ?? [];
// $icons = $request->icons ?? [];
if($points[0] != null){
// if($points[0] != null){
foreach($points as $key => $point){
// foreach($points as $key => $point){
$service_section_point = new VisaServiceSectionPoint();
// $service_section_point = new VisaServiceSectionPoint();
$service_section_point->visa_service_section_id = $service_section->id;
// $service_section_point->visa_service_section_id = $service_section->id;
$service_section_point->point = $point;
$service_section_point->save();
}
}
// $service_section_point->point = $point;
// $service_section_point->save();
// }
// }
Session::flash('success','Visa Service Section has been created!');
return redirect('admin/visa_services/'.$id.'/sections');
@ -177,15 +172,10 @@ class VisaServiceSectionController extends Controller
'order_by' => 'required'
]);
$service_section = VisaServiceSection::findOrFail($secId);
$service_section->right_title = \request('right_title');
$service_section->right_sub_title = \request('right_sub_title');
$service_section->left_title = \request('left_title');
$service_section->left_sub_title = \request('left_sub_title');
$service_section->top_description = strip_tags(\request('top_description'));
$service_section->left_description = strip_tags(\request('left_description'));
$service_section->point_title = strip_tags(\request('point_title'));
$service_section->visa_length = strip_tags(\request('visa_length'));
$service_section->title = \request('title');
$service_section->sub_title = \request('sub_title');
$service_section->description = (\request('description'));
$service_section->sub_description = (\request('sub_description'));
$service_section->visa_service_id = $id;
$service_section->status = \request('status');
$service_section->order_by = \request('order_by');
@ -202,32 +192,32 @@ class VisaServiceSectionController extends Controller
// $service_section->image = $image_path;
// }
if($service_section->update()){
$points = $request->points;
if($points[0] != null){
// $points = $request->points;
// if($points[0] != null){
if($request['point_ids'] !== null){
// if($request['point_ids'] !== null){
foreach($request['point_ids'] as $key => $pid){
$service_section_point = new VisaServiceSectionPoint();
$service_section_point = $service_section_point->find($pid);
// $service_section_point = ServiceSectionPoint::find($id);
// foreach($request['point_ids'] as $key => $pid){
// $service_section_point = new VisaServiceSectionPoint();
// $service_section_point = $service_section_point->find($pid);
// // $service_section_point = ServiceSectionPoint::find($id);
$service_section_point->point = $points[$key];
$service_section_point->update();
}
}else{
foreach($points as $key => $point){
// $service_section_point->point = $points[$key];
// $service_section_point->update();
// }
// }else{
// foreach($points as $key => $point){
$service_section_point = new VisaServiceSectionPoint();
// $service_section_point = new VisaServiceSectionPoint();
$service_section_point->visa_service_section_id = $service_section->id;
// $service_section_point->visa_service_section_id = $service_section->id;
$service_section_point->point = $point;
$service_section_point->save();
}
}
// $service_section_point->point = $point;
// $service_section_point->save();
// }
// }
}
// }
// $service_point = $service_section->service_section_point();
// $service_point->delete();
// foreach($points as $key => $point){
@ -271,6 +261,7 @@ class VisaServiceSectionController extends Controller
}
public function service_point($service_point_id){
if(Auth::user()){
$setting = ServiceSectionPoint::findorfail($service_point_id);
$setting->delete();

@ -13,4 +13,10 @@ class VisaController extends Controller
$visas = VisaService::where('status',1)->get();
return view('visa',compact('visas','page'));
}
public function details($slug){
$page = Page::where(['title' => 'Visa','status' => 1])->first();
$visas = VisaService::where('status',1)->get();
$service = VisaService::where(['slug' => $slug,'status' => 1])->orderby('order_by','asc')->first();
return view('visa',compact('service','page','visas'));
}
}

@ -17,16 +17,11 @@ return new class extends Migration
$table->id();
$table->bigInteger('visa_service_id')->unsigned();
$table->foreign('visa_service_id')->references('id')->on('visa_services')->onDelete('cascade');
$table->longText('top_description')->nullable();
$table->string('image')->nullable();
$table->string('left_title');
$table->string('left_sub_title');
$table->longText('left_description');
$table->string('right_title')->nullable();
$table->string('right_sub_title')->nullable();
// $table->longText('sub_description')->nullable();
$table->longText('point_title')->nullable();
$table->string('visa_length')->nullable();
$table->string('title');
$table->string('sub_title')->nullable();
$table->longText('description');
$table->longText('sub_description')->nullable();
$table->enum('status',[1,2]);
$table->string('order_by');
$table->timestamps();

@ -1,8 +0,0 @@
<svg width="94" height="27" viewBox="0 0 94 27" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1 11.0001L12 2.00006" stroke="#E22899" stroke-width="2"/>
<path d="M81 26L92 17" stroke="#E22899" stroke-width="2"/>
<path d="M3 25L33 1" stroke="#E22899" stroke-width="2"/>
<path d="M43 25L73 1" stroke="#E22899" stroke-width="2"/>
<path d="M23 25L53 1" stroke="#E22899" stroke-width="2"/>
<path d="M63 25L93 1" stroke="#E22899" stroke-width="2"/>
</svg>

Before

Width:  |  Height:  |  Size: 461 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 717 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 500 KiB

@ -89,56 +89,10 @@
</br>
@if($service_section->service_section_point)
<div class="row" id="point_dom">
<div class="col-md-6 rel-close" id="point_row_1">
<div class="dom-box">
<div class="add-points card">
<div class="form-group" id="point_g_1" >
<label for="">Service Section Points <span style="color: red">*</span></label>
<br>
@foreach($service_section->service_section_point as $section_point)
<input type = "hidden" name = "point_ids[]" value = "{{$section_point->id}}"/>
<div id="point_old{{$section_point->id}}" class="point1" >
<input type="text" class="point" name="points[]" value="{{$section_point->point}}" placeholder="points"> <br>
<label>Description</label><br>
<textarea class="summernote_class" name="point_descriptions[]">{{$section_point->point_description}} </textarea><br>
<label>Icon</label><br>
@if($section_point->icon != null)
<img src = "{{url($section_point->icon)}}">
@endif
<input type="file" class="form-control" name="icons[]" placeholder="Point"> <br>
<button class="close-point" onclick="deletePointPermanently({{$section_point->id}})" type="button"><i class="fa fa-trash" aria-hidden="true"></i></button>
</div>
@endforeach
</div>
<button type="button" class="add-point-btn btn btn-green" onclick="getPoint(1)">Add Points</button>
</div>
</div>
</div>
</div>
@else
<!-- <div class="row" id="point_dom">
<div class="col-md-6 rel-close" id="point_row_1">
<div class="dom-box">
<div class="add-points card">
<div class="form-group" id="point_g_1" >
<div id="point1" class="point1" >
<label> Section Points</label><br>
<input type="text" class="point" name="points[]" placeholder="Point"> <br>
<button class="close-point" onclick="deletePoint(1)" type="button"><i class="fa fa-trash" aria-hidden="true"></i></button>
</div>
</div>
<button type="button" class="add-point-btn btn btn-green" onclick="getPoint(1)">Add Points</button>
</div>
</div>
</div>
</div> -->
@endif
<div class="form-group row create-button">
<div class="col-sm-10 col-md-12">

@ -77,8 +77,8 @@
</div>
<div class="col-md-4">
<div class="form-group">
<label for="image">Image <span style="color: red">*</span></label>
<input type="file" class="form-control" id="image" name="image">
<label for="image">Banner Image<span style="color: red">*</span></label>
<input type="file" class="form-control" id="image" name="image" required>
</div>
</div>
<div class="col-md-4">
@ -137,6 +137,9 @@
@endsection
@section('script')
<script>
$(document).ready(function() {
$('.summernote_class').summernote()
})
ClassicEditor
.create( document.querySelector( '#body' ),
{

@ -81,8 +81,8 @@
<div class="col-md-4">
<div class="form-group">
<label for="image"> Image <span style="color: red">*</span></label>
<input type="file" class="form-control" id="image" name="image">
<label for="image">Banner Image <span style="color: red">*</span></label>
<input type="file" class="form-control" id="image" name="image" required>
@if($service->image != null)
<span>
<a href="{{url($service->image)}}" target="_blank">

@ -53,7 +53,7 @@
<th style = "width: 10px">S.N.</th>
<th class="text-center">Service Name</th>
<th class="text-center">Slug</th>
<th class="text-center">Icon</th>
<th class="text-center">Image</th>
<th class="text-center">Seo Title</th>
<th class="text-center">Order By</th>
<th class="text-center">Status</th>
@ -67,8 +67,8 @@
<td class="text-center">{{$service->name}}</td>
<td class="text-center">{{$service->slug}}</td>
<td class="text-center">
<a href="{{url($service->icon ?? '')}}" target="_blank">
<img src="{{url($service->icon ?? '')}}" alt="" style="width: 100px;">
<a href="{{url($service->image ?? '')}}" target="_blank">
<img src="{{url($service->image ?? '')}}" alt="" style="width: 100px;">
</a>
</td>
<td class="text-center">{{$service->seo_title}}</td>

@ -28,56 +28,38 @@
@include('errors.error')
{!! Form::open(['url' => '/admin/visa_service/'.$id.'/section', 'class' => 'form-horizontal', 'method'=> 'POST','files' => true]) !!}
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="top_description">Top Description</label>
<textarea class="summernote_class" id="top_description" name="top_description"></textarea>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label for="left_title">Left Title<span style="color: red">*</span></label>
<input type="text" class="form-control" id="left_title" name="left_title">
<label for="image">Image</label>
<input type="file" class="form-control" id="image" name="image">
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label for="left_sub_title">Left Sub Title</label>
<input type="text" class="form-control" id="left_sub_title" name="left_sub_title">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="left_description">Left Description</label>
<textarea class="summernote_class" id="left_description" name="left_description"></textarea>
<label for="title">Title<span style="color: red">*</span></label>
<input type="text" class="form-control" id="title" name="title" required>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label for="right_title">Right Title<span style="color: red">*</span></label>
<input type="text" class="form-control" id="right_title" name="right_title">
<label for="sub_title">Sub Title</label>
<input type="text" class="form-control" id="sub_title" name="sub_title">
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label for="right_sub_title">Right Sub Title</label>
<input type="text" class="form-control" id="right_sub_title" name="right_sub_title">
</div>
</div>
<div class="col-md-6">
<div class="col-md-12">
<div class="form-group">
<label for="point_title">Point Title</label>
<textarea class="summernote_class" name="point_title"></textarea>
<label for="description">Description</label>
<textarea id="body" class="summernote_class" name="description"></textarea>
</div>
</div>
<div class="col-md-6">
<!-- <div class="col-md-6">
<div class="form-group">
<label for="visa_length">Visa Length</label>
<input type="text" id = "visa_length" name="visa_length"/>
</div>
<label for="sub_description">Sub Description</label>
<textarea id="body1" class="summernote_class" name="sub_description"></textarea>
</div>
</div> -->
<div class="col-md-6">
<div class="form-group">
@ -101,28 +83,7 @@
</br>
<div class="row" id="point_dom">
<div class="col-md-6 rel-close" id="point_row_1">
<div class="dom-box">
<div class="add-points card">
<div class="form-group" id="point_g_1" >
<div id="point1" class="point1" >
<label> Section Points</label><br>
<input type="text" class="point" name="points[]" placeholder="Point"> <br>
<!-- <button class="close-point" onclick="deletePoint(1)" type="button"><i class="fa fa-trash" aria-hidden="true"></i></button> -->
<!-- <label>Description</label><br>
<textarea class="summernote_class" name="point_descriptions[]"> </textarea><br>
<label>Icon</label><br>
<input type="file" class="form-control" name="icons[]" placeholder="Point"> <br> -->
<button class="close-point" onclick="deletePoint(1)" type="button"><i class="fa fa-trash" aria-hidden="true"></i></button>
</div>
</div>
<button type="button" class="add-point-btn btn btn-green" onclick="getPoint(1)">Add Points</button>
</div>
</div>
</div>
</div>
<div class="form-group row create-button">
<div class="col-sm-10 col-md-12">

@ -28,56 +28,44 @@
@include('errors.error')
{!! Form::open(['url' => '/admin/visa_services/'.$service->id.'/section/'.$service_section->id, 'class' => 'form-horizontal', 'method'=> 'POST','files' => true]) !!}
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="top_description">Top Description</label>
<textarea class="summernote_class" id="top_description" name="top_description">{{$service_section->top_description}}</textarea>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label for="left_title">Left Title<span style="color: red">*</span></label>
<input type="text" class="form-control" id="left_title" name="left_title" value = "{{$service_section->left_title}}">
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label for="left_sub_title">Left Sub Title</label>
<input type="text" class="form-control" id="left_sub_title" value = "{{$service_section->left_sub_title}}" name="left_sub_title">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="left_description">Left Description</label>
<textarea class="summernote_class" id="left_description" name="left_description">{{$service_section->left_description}}</textarea>
<label for="image">Image</label>
<input type="file" class="form-control" id="image" name="image">
@if($service_section->image != null)
<span>
<a href="{{url($service_section->image)}}" target="_blank">
<img src="{{url($service_section->image)}}" alt="" style="width: 100px;">
</a>
</span>
@endif
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label for="right_title">Right Title<span style="color: red">*</span></label>
<input type="text" class="form-control" id="right_title" name="right_title" value = "{{$service_section->right_title}}">
<label for="title">Title <span style="color: red">*</span></label>
<input type="text" class="form-control" id="title" name="title" value="{{$service_section->title}}" required>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label for="right_sub_title">Right Sub Title</label>
<input type="text" class="form-control" id="right_sub_title" name="right_sub_title" value="{{$service_section->right_sub_title}}">
<label for="sub_title">Sub Title <span style="color: red">*</span></label>
<input type="text" class="form-control" id="sub_title" name="sub_title" value="{{$service_section->sub_title}}">
</div>
</div>
<div class="col-md-6">
<div class="col-md-12">
<div class="form-group">
<label for="point_title">Point Title</label>
<textarea class="summernote_class" name="point_title">{{$service_section->point_title}}</textarea>
<label for="description">Description</label>
<textarea id="body" class = "summernote_class" name="description">{{$service_section->description}}</textarea>
</div>
</div>
<div class="col-md-6">
<!-- <div class="col-md-6">
<div class="form-group">
<label for="visa_length">Visa Length</label>
<input type="text" class="form-control" id = "visa_length" value = "{{$service_section->visa_length}}" name="visa_length"/>
</div>
<label for="sub_description">Sub Description</label>
<textarea id="body1" name="sub_description">{{$service_section->sub_description}}</textarea>
</div>
</div> -->
<div class="col-md-6">
<div class="form-group">
@ -85,7 +73,7 @@
<select name="status" class="form-control" id="type" required>
<option value="" selected disabled>Please select Status</option>
@foreach(config('custom.status') as $in => $val)
<option value="{{$in}}" @if($service_section->status == $in) selected @endif>{{$val}}</option>
<option value="{{$in}}" @if($service->status == $in) selected @endif>{{$val}}</option>
@endforeach
</select>
@ -94,34 +82,14 @@
<div class="col-md-6">
<div class="form-group">
<label>Order BY <span style="color: red">*</span></label>
<input type="number" class="form-control" id="order_by" name="order_by" value = "{{$service_section->order_by}}" required>
<input type="number" class="form-control" id="order_by" name="order_by" required value="{{$service_section->order_by}}">
</div>
</div>
</div>
</br>
<div class="row" id="point_dom">
<div class="col-md-6 rel-close" id="point_row_1">
<div class="dom-box">
<div class="add-points card">
<div class="form-group" id="point_g_1" >
<label for="">Service Section Points <span style="color: red">*</span></label>
<br>
@foreach($service_section->visa_service_section_point as $section_point)
<input type = "hidden" name = "point_ids[]" value = "{{$section_point->id}}"/>
<div id="point_old{{$section_point->id}}" class="point1" >
<input type="text" class="point" name="points[]" value="{{$section_point->point}}" placeholder="points"> <br>
<button class="close-point" onclick="deletePointPermanently({{$section_point->id}})" type="button"><i class="fa fa-trash" aria-hidden="true"></i></button>
</div>
@endforeach
</div>
<button type="button" class="add-point-btn btn btn-green" onclick="getPoint(1)">Add Points</button>
</div>
</div>
</div>
</div>
<div class="form-group row create-button">
<div class="col-sm-10 col-md-12">

@ -74,7 +74,7 @@
Image not available
@endif
</td>
<td class="text-center">{{$section->top_description}}</td>
<td class="text-center">{!!$section->description!!}</td>
<td class="text-center">{{$section->order_by}}</td>
<td class="text-center">{{config('custom.status')[$section->status]}}</td>

@ -106,7 +106,7 @@
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li>
@foreach($visas as $visa)
<a class="dropdown-item" href="{{url('visas')}}">{{$visa->name}}</a>
<a class="dropdown-item" href="{{url('visa/'.$visa->slug)}}">{{$visa->name}}</a>
@endforeach
</li>
</ul>
@ -118,7 +118,7 @@
<a class="nav-link" href="{{url('contact')}}">CONTACT</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{url('/faq')}}">FAQs</a>
<a class="nav-link" href="{{url('/faqs')}}">FAQs</a>
</li>
</ul>
<div class="mobile-navbar-btn">
@ -196,7 +196,7 @@
<ul class="list-unstyled">
<li>
@foreach(App\Models\VisaService::where('status',1)->get() as $visa_service)
<a href="{{url('/visas')}}" target="_blank" rel='noreferrer' class=' footer-link'>
<a href="{{url('/visa/'.$visa_service->slug)}}" target="_blank" rel='noreferrer' class=' footer-link'>
{{$visa_service->name}}
</a>
@endforeach

@ -9,7 +9,7 @@
<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({{url($page->banner_image)}})">
<section class="abroad-banner-section" style="background: url({{url($service->image ?? $page->banner_image)}})">
<!-- <nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/">Home</a></li>
@ -26,50 +26,45 @@
<div class="col-md-3">
<div class="visa-table">
@foreach($visas as $visa)
<a href='' class="tab-link {{$loop->iteration == 1 ? 'active' : ''}} d-flex justify-content-between align-items-center">
<a href="{{url('visa/'.$visa->slug)}}" class="tab-link {{$visa->id == $service->id ? 'active' : ''}} d-flex justify-content-between align-items-center">
{{$visa->name}} <i class="fa-solid fa-angle-right"></i>
</a>
@endforeach
</div>
</div>
@php
$sections = $service->visa_service_sections()->where('status','1')->orderby('order_by','asc')->get();;
@endphp
@if($sections->count() > 0)
@php $first_section = $sections[0]; @endphp
<div class="col-md-9">
@if($first_section->count() > 0)
<div class="visa-content">
<h2><img src="{{url('frontend/icons/side-bars.svg')}}" class="me-2" alt=""> Subclass 5000</h2>
<h3>Lorem Ipsum is simply dummy text</h3>
<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.
<br><br>
It was popularised in the 1960s with the release of Letraset 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.
<br><br>
It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum..
</p>
<h2><img src="{{url('frontend/icons/side-bars.svg')}}" class="me-2" alt="">{{$first_section->title}}</h2>
<h3>{{$first_section->sub_title}}</h3>
{!!$first_section->description!!}
</div>
@endif
@php $second_section = $sections[1]; @endphp
@if($second_section->count() > 0)
<section class="visa-display-section">
<div class="row">
<div class="col-md-6">
<div class="visa-desc">
<h2>Lorem Ipsum has been the industry's standard</h2>
<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.
</p>
<ul>
<li>Lorem ipsum dolor sit amet consectetur adipisicing elit.</li>
<li>Lorem ipsum dolor sit amet consectetur adipisicing elit. Quos excepturi deserunt iste, recusandae dolor voluptates.</li>
<li>Lorem ipsum dolor sit amet consectetur adipisicing elit.</li>
<li>Lorem ipsum dolor sit amet consectetur adipisicing elit. Quos excepturi deserunt iste, recusandae dolor voluptates.</li>
<li>Lorem ipsum dolor sit amet consectetur adipisicing elit.</li>
<li>Lorem ipsum dolor sit amet consectetur adipisicing elit.</li>
</ul>
<h2>{{$second_section->title}}</h2>
{!!$second_section->description!!}
</div>
</div>
<div class="col-md-6">
<div class="visa-img">
<img src="{{url('frontend/images/sydney-opera-house.png')}}" class="w-100" alt="">
<img src="{{url($second_section->image)}}" class="w-100" alt="">
</div>
</div>
</div>
</section>
@endif
</div>
@endif
</div>
</section>
@endsection

@ -59,10 +59,11 @@ Route::post('login', [HomeAdminController::class,'postLogin']);
Route::get('study-abroad', [StudyAbroadController::class,'study_abroad']);
Route::get('/education/{slug}', [StudyAbroadController::class,'details']);
Route::get('/visa/{slug}', [VisaController::class,'details']);
// Route::get('/study-abroad-detail', function () {
// return view('study-abroad-detail');
// });
Route::get('visas', [VisaController::class,'index']);
// Route::get('visas', [VisaController::class,'index']);
Route::get('contact', [ContactController::class,'index']);
Route::post('contact', [ContactController::class,'post_contact']);
Route::get('about', [FrontendAboutUsController::class,'index']);

Loading…
Cancel
Save