Compare commits

..

5 Commits

  1. 6
      app/Http/Controllers/Admin/AboutUsController.php
  2. 32
      app/Http/Controllers/Admin/NewsAndUpdateController.php
  3. 50
      app/Http/Controllers/Admin/ServiceController.php
  4. 19
      app/Http/Controllers/Admin/ServiceSectionController.php
  5. 24
      app/Http/Controllers/Admin/SettingController.php
  6. 265
      app/Http/Controllers/Admin/VisaServiceController.php
  7. 281
      app/Http/Controllers/Admin/VisaServiceSectionController.php
  8. 28
      app/Http/Controllers/HomeController.php
  9. 14
      app/Http/Controllers/NewsController.php
  10. 71
      app/Http/Controllers/RecruitmentController.php
  11. 33
      app/Http/Controllers/ServiceController.php
  12. 47
      app/Http/Requests/ContactRequest.php
  13. 51
      app/Http/Requests/Recruitment/ApplyRequest.php
  14. 45
      app/Http/Requests/Recruitment/VacancyRequest.php
  15. 2
      app/Models/NewsAndUpdate.php
  16. 20
      app/Models/User.php
  17. 15
      app/Models/VisaService.php
  18. 18
      app/Models/VisaServiceSection.php
  19. 16
      app/Models/VisaServiceSectionPoint.php
  20. 1
      composer.json
  21. 152
      composer.lock
  22. 6
      config/custom.php
  23. 33
      database/migrations/2022_07_29_073833_add_des_icon_to_service_section_points_table.php
  24. 33
      database/migrations/2022_11_22_050244_add_point_title_to_abouts_us.php
  25. 41
      database/migrations/2022_12_12_093112_create_visa_services_table.php
  26. 45
      database/migrations/2022_12_13_035944_create_visa_service_sections_table.php
  27. 34
      database/migrations/2022_12_13_043238_create_visa_service_section_points_table.php
  28. 38
      database/migrations/2022_12_13_071803_create_applicants_table.php
  29. 32
      database/migrations/2022_12_14_063910_add_image_to_services_table.php
  30. 32
      database/migrations/2022_12_14_071738_add_image_to_visa_services_table.php
  31. 32
      database/migrations/2022_12_14_093317_add_thumbnai_to_news_and_updates_table.php
  32. 32
      database/migrations/2022_12_15_060949_add_banner_image_to_services_table.php
  33. BIN
      public/cd20e81c0285e201b4badb6adb9db934.jpeg
  34. BIN
      public/frontend/.DS_Store
  35. 596
      public/frontend/css/style.css
  36. BIN
      public/frontend/icons/business-icon.png
  37. 9
      public/frontend/icons/captcha-icon.svg
  38. 12
      public/frontend/icons/contact-call-icon.svg
  39. 18
      public/frontend/icons/contact-location-icon.svg
  40. 14
      public/frontend/icons/contact-mail-icon.svg
  41. 9
      public/frontend/icons/efficiency.svg
  42. 3
      public/frontend/icons/enq-phone-icon.svg
  43. BIN
      public/frontend/icons/location-address.png
  44. 9
      public/frontend/icons/online-learning.svg
  45. 9
      public/frontend/icons/recruitment-icon.svg
  46. 9
      public/frontend/icons/write-blue.svg
  47. BIN
      public/frontend/images/am-chef-banner.png
  48. BIN
      public/frontend/images/chefs.png
  49. BIN
      public/frontend/images/education-banner.png
  50. BIN
      public/frontend/images/education-image.png
  51. BIN
      public/frontend/images/footer-logo.png
  52. BIN
      public/frontend/images/immigration-lawyers.png
  53. BIN
      public/frontend/images/insurance-desc-img.png
  54. BIN
      public/frontend/images/insurance.png
  55. BIN
      public/frontend/images/labor-agreement.png
  56. BIN
      public/frontend/images/need-chef-banner.png
  57. BIN
      public/frontend/images/pathway-banner.png
  58. BIN
      public/frontend/images/recruitment.png
  59. BIN
      public/frontend/images/skill-assessment-banner.png
  60. BIN
      public/frontend/images/women-chef.png
  61. BIN
      public/frontend/video/aplus-video.mp4
  62. BIN
      public/images/applicant/2022/12/13/11329155dab0bbeae2986370de90e173.docx
  63. BIN
      public/images/applicant/2022/12/13/400757bd557d4d66a88b26b2fe9f82e5.docx
  64. BIN
      public/images/applicant/2022/12/13/53b452ae2614c9df1dcbb6f41dbc9522.docx
  65. BIN
      public/images/applicant/2022/12/13/6744591b0b11be79fe29823574c95393.docx
  66. BIN
      public/images/applicant/2022/12/13/6ae488148f2c5e3f9c7a728e8c73cace.jpeg
  67. BIN
      public/images/applicant/2022/12/13/a4cfe3e4cf5f4b4289f41997fd5961dc.docx
  68. BIN
      public/images/applicant/2022/12/13/ca810503e71682d9dabdddaf00ec5a8c.jpeg
  69. BIN
      public/images/applicant/2022/12/14/2091d808c1a83bd7456fd3210c9581e3.docx
  70. BIN
      public/images/news_and_update/2022/12/13/293c1cb434aeb7c03eee29a50e90998f.png
  71. BIN
      public/images/news_and_update/2022/12/14/305b95b50e3530e978e779f5ca431a5b.jpeg
  72. BIN
      public/images/news_and_update/2022/12/14/3e151b4e1e3a3d5eb4db8d72666a65d6.jpeg
  73. BIN
      public/images/news_and_update/2022/12/14/4e0ce4da583b4939acaddfe7f9a3779a.jpeg
  74. BIN
      public/images/news_and_update/2022/12/14/765d36be8f87786e1e09049684d040f3.jpeg
  75. BIN
      public/images/news_and_update/2022/12/14/7fe9a55ac4800260b39524359cd1ecdd.jpeg
  76. BIN
      public/images/news_and_update/2022/12/14/8cbf7018583a039c2e50f83858b791a5.jpeg
  77. BIN
      public/images/news_and_update/2022/12/14/afb58cdba5b645f0826ee8a9e43ac702.jpeg
  78. BIN
      public/images/news_and_update/2022/12/14/ce5572c130720f6ae2332dec9a2ab6ae.jpeg
  79. BIN
      public/images/news_and_update/2022/12/14/ce706dfb910f0a8dab7ef0246792e3c1.jpeg
  80. BIN
      public/images/news_and_update/2022/12/14/ecbec01b556e0614572ccb4459493715.jpeg
  81. BIN
      public/images/news_and_update/2022/12/14/fc0d4e2779a8ebfc6559a637aedddc67.jpeg
  82. BIN
      public/images/news_and_update/2022/12/15/1c623d329a88526a0e6c9a1c65c4201a.png
  83. BIN
      public/images/news_and_update/2022/12/15/1e5eb434d1a0d772e0c1e04c6f3d0848.png
  84. BIN
      public/images/news_and_update/2022/12/15/4cd43853a326fc48bdc8c9fafe4851b6.jpg
  85. BIN
      public/images/news_and_update/2022/12/15/6db3c9959ce9472803ed24a3a616802b.png
  86. BIN
      public/images/news_and_update/2022/12/15/6e202219a93f6179e59e8d976435f717.png
  87. BIN
      public/images/news_and_update/2022/12/15/9caf5be0962aaef8151d401fb0839184.jpg
  88. BIN
      public/images/news_and_update/2022/12/15/abdb738701400157cf77054d493a9cac.png
  89. BIN
      public/images/news_and_update/2022/12/15/bdfccdb83d9e915311acd92adb682842.jpg
  90. BIN
      public/images/news_and_update/2022/12/15/d129e1089ee4f087db233b13eb11afc8.png
  91. BIN
      public/images/news_and_update/2022/12/15/e9bfc0178a5e6e1571180ed05e67a1ca.png
  92. BIN
      public/images/news_and_update/2022/12/15/f335d87b9f462ff7464a74a73cfa5ff1.jpg
  93. BIN
      public/images/service/2022/12/12/2e7cf0a19e110c225e5e59036bfda111.png
  94. BIN
      public/images/service/2022/12/12/988fd7d130966b1682f7a08e478aec74.jpeg
  95. 8
      public/images/service/2022/12/13/264cdf613ec36f72f3807a0914b57eb8.svg
  96. 7
      public/images/service/2022/12/13/461acd25b85ca60c6311b67e3bb23d59.svg
  97. 7
      public/images/service/2022/12/13/592c19c00462901b03490114d438e65f.svg
  98. BIN
      public/images/service/2022/12/13/974ac61a147848e742970a7dd49b6975.jpeg
  99. BIN
      public/images/service/2022/12/13/a148f0374336eab36d3cff11dea16204.png
  100. BIN
      public/images/service/2022/12/13/a3333a23dc37b8cf32b892e5f88fe8b2.png
  101. Some files were not shown because too many files have changed in this diff Show More

@ -58,7 +58,6 @@ class AboutUsController extends Controller
'description' => 'required',
'sub_description' => 'required',
'image' => 'required|file|mimes:jpeg,png,jpg',
'keyword' => 'required'
]);
@ -68,10 +67,7 @@ class AboutUsController extends Controller
$setting->description = strip_tags(\request('description'));
$setting->sub_description = strip_tags(\request('sub_description'));
$setting->status = \request('status');
$setting->title = \request('title');
$setting->bottom_title = \request('bottom_title');
$setting->keyword = \request('keyword');
$setting->point_title = strip_tags(\request('point_title'));
$setting->seo_title = \request('seo_title');
$setting->meta_keyword = strip_tags(\request('meta_keyword'));
$setting->seo_description = strip_tags(\request('seo_description'));
@ -159,8 +155,6 @@ class AboutUsController extends Controller
$setting->description = strip_tags(\request('description'));
$setting->sub_description = strip_tags(\request('sub_description'));
$setting->status = \request('status');
$setting->title = \request('title');
$setting->bottom_title = \request('bottom_title');
$setting->keyword = \request('keyword');
$setting->seo_title = \request('seo_title');
$setting->meta_keyword = strip_tags(\request('meta_keyword'));

@ -53,8 +53,7 @@ class NewsAndUpdateController extends Controller
'keyword' => 'required',
'meta-keyword' => 'nullable',
'status' => 'required',
'image' => 'required|file|mimes:jpeg,png,jpg,pdf',
'thumbnail' => 'required',
'image' => 'required|file|mimes:jpeg,png,jpg,pdf'
]);
if($request->hasFile('image')){
$extension = \request()->file('image')->getClientOriginalExtension();
@ -63,23 +62,14 @@ class NewsAndUpdateController extends Controller
$out_put_path = User::save_image(\request('image'),$extension,$count,$image_folder_type);
$image_path1 = $out_put_path[0];
}
if($request->hasFile('thumbnail')){
$extension = \request()->file('thumbnail')->getClientOriginalExtension();
$image_folder_type = array_search('news_and_update',config('custom.image_folders')); //for image saved in folder
$count = rand(100,999);
$out_put_path = User::save_image(\request('thumbnail'),$extension,$count,$image_folder_type);
$thumbnail_path1 = $out_put_path[0];
}
$requestData = $request->all();
if(isset($image_path1)){
$requestData['image'] = $image_path1;
}
if(isset($thumbnail_path1)){
$requestData['thumbnail'] = $thumbnail_path1;
}
$requestData['slug'] = Setting::create_slug($requestData['keyword']);
$requestData['blog_type'] =1;
$setting = NewsAndUpdate::create($requestData);
if(\request('point_title')){
foreach (\request('point') as $index => $value){
@ -106,6 +96,7 @@ class NewsAndUpdateController extends Controller
public function update(Request $request, $id){
// dd(\request()->all());
$setting =NewsAndUpdate::findorfail($id);
$this->validate(\request(), [
'description' => 'required',
@ -119,7 +110,7 @@ class NewsAndUpdateController extends Controller
if(\request('image')){
$this->validate(\request(),[
'image' => 'file|mimes:jpeg,png,jpg'
'image' => 'file|mimes:jpeg,png,jpg,pdf'
]);
if($request->hasFile('image')){
$extension = \request()->file('image')->getClientOriginalExtension();
@ -131,17 +122,6 @@ class NewsAndUpdateController extends Controller
unlink(public_path().'/'.$setting->image);
}
}
}
if($request->hasFile('thumbnail')){
$extension = \request()->file('thumbnail')->getClientOriginalExtension();
$image_folder_type = array_search('news_and_update',config('custom.image_folders')); //for image saved in folder
$count = rand(100,999);
$out_put_path = User::save_image(\request('thumbnail'),$extension,$count,$image_folder_type);
$thumbnail_path1 = $out_put_path[0];
if (is_file(public_path().'/'.$setting->thumbnail) && file_exists(public_path().'/'.$setting->thumbnail)){
unlink(public_path().'/'.$setting->thumbnail);
}
}
@ -150,9 +130,7 @@ class NewsAndUpdateController extends Controller
if(isset($image_path1)){
$requestData['image'] = $image_path1;
}
if(isset($thumbnail_path1)){
$requestData['thumbnail'] = $thumbnail_path1;
}
$requestData['blog_type'] =1;
$setting->fill($requestData);
$setting->save();
if(\request('point_title') ){

@ -94,24 +94,6 @@ class ServiceController extends Controller
$out_put_path = User::save_image(\request('icon'),$extension,$count,$image_folder_type);
is_array($out_put_path) ? $service->icon = $out_put_path[0] : $service->icon = $out_put_path;
}
if($request->hasFile('image')){
$extension = \request()->file('image')->getClientOriginalExtension();
$image_folder_type = array_search('service',config('custom.image_folders')); //for image saved in folder
$count = rand(100,999);
$out_put_path = User::save_image(\request('image'),$extension,$count,$image_folder_type);
is_array($out_put_path) ? $service->image = $out_put_path[0] : $service->image = $out_put_path;
}
if($request->hasFile('banner_image')){
$extension = \request()->file('banner_image')->getClientOriginalExtension();
$image_folder_type = array_search('service',config('custom.image_folders')); //for image saved in folder
$count = rand(100,999);
$out_put_path = User::save_image(\request('banner_image'),$extension,$count,$image_folder_type);
is_array($out_put_path) ? $service->banner_image = $out_put_path[0] : $service->banner_image = $out_put_path;
}
if($service->save()){
@ -208,38 +190,6 @@ class ServiceController extends Controller
is_array($out_put_path) ? $service->icon = $out_put_path[0] : $service->icon = $out_put_path;
}
if($request->hasFile('image')){
$extension = \request()->file('image')->getClientOriginalExtension();
$image_folder_type = array_search('service',config('custom.image_folders')); //for image saved in folder
$count = rand(100,999);
$out_put_path = User::save_image(\request('image'),$extension,$count,$image_folder_type);
if (is_file(public_path().'/'.$service->image) && file_exists(public_path().'/'.$service->image)){
unlink(public_path().'/'.$service->image);
}
is_array($out_put_path) ? $service->image = $out_put_path[0] : $service->image = $out_put_path;
}
if($request->hasFile('banner_image')){
$extension = \request()->file('banner_image')->getClientOriginalExtension();
$image_folder_type = array_search('service',config('custom.image_folders')); //for image saved in folder
$count = rand(100,999);
$out_put_path = User::save_image(\request('banner_image'),$extension,$count,$image_folder_type);
if (is_file(public_path().'/'.$service->banner_image) && file_exists(public_path().'/'.$service->banner_image)){
unlink(public_path().'/'.$service->banner_image);
}
is_array($out_put_path) ? $service->banner_image = $out_put_path[0] : $service->banner_image = $out_put_path;
}
if($service->update()){
Session::flash('success','Service has been successfully updated!');

@ -205,12 +205,11 @@ class ServiceSectionController extends Controller
}
if($service_section->update()){
$points = $request->points;
$point_ids = $request->point_ids;
$point_descriptions = $request->point_descriptions ?? [];
$icons = $request->icons ?? [];
if($points != null && $point_ids != null){
if($points[0] != null){
foreach($request['point_ids'] as $key => $pid){
$service_section_point = new ServiceSectionPoint();
$service_section_point = $service_section_point->findorfail($pid);
@ -232,16 +231,7 @@ class ServiceSectionController extends Controller
$service_section_point->point = $points[$key];
$service_section_point->update();
}
}
else{
// foreach($points as $key => $point){
// $service_section_point = new ServiceSectionPoint();
// $service_section_point->service_section_id = $service_section->id;
// $service_section_point->point = $point;
// $service_section_point->save();
// }
}
}
// $service_point = $service_section->service_section_point();
// $service_point->delete();
// foreach($points as $key => $point){
@ -264,6 +254,7 @@ class ServiceSectionController extends Controller
// $service_section_point->point = $point;
// $service_section_point->update();
// }
}
Session::flash('success','Service Section has been successfully updated!');
return redirect('admin/services/'.$id.'/sections');

@ -41,8 +41,6 @@ class SettingController extends Controller
public function store(Request $request)
{
$this->validate(\request(),[
'type' => 'required',
'key' => 'required',
@ -56,22 +54,22 @@ class SettingController extends Controller
$setting->type = \request('type');
$setting->status = \request('status');
$setting->slug = Setting::create_slug(\request('key'));
// if(request('type') == array_search('Image',config('custom.setting_types'))){
// $this->validate($request,[
// 'value'=>'required|file|mimes:jpeg,png,jpg,pdf'
// ]
// );
// }
if(request('type') == array_search('Image',config('custom.setting_types'))){
$this->validate($request,[
'value'=>'required|file|mimes:jpeg,png,jpg,pdf'
]
);
if($request->hasFile('value')){
$extension = \request()->file('value')->getClientOriginalExtension();
$image_folder_type = array_search('setting',config('custom.image_folders')); //for image saved in folder
$count = rand(100,999);
$out_put_path = User::save_image(\request('value'),$extension,$count,$image_folder_type);
is_array($out_put_path) ? $image_path = $out_put_path[0] : $image_path = $out_put_path;
$image_path = $out_put_path[0];
$setting->value = $image_path;
}
else{
}else{
$setting->value = \request('value');
}
$setting->save();
@ -126,7 +124,7 @@ class SettingController extends Controller
if(request('type') == array_search('Image',config('custom.setting_types'))){
if(\request('value')){
$this->validate($request,[
'value'=>'required|file|mimes:jpeg,png,jpg,pdf,mp4'
'value'=>'required|file|mimes:jpeg,png,jpg,pdf'
]
);
@ -135,7 +133,7 @@ class SettingController extends Controller
$image_folder_type = array_search('setting',config('custom.image_folders')); //for image saved in folder
$count = rand(100,999);
$out_put_path = User::save_image(\request('value'),$extension,$count,$image_folder_type);
is_array($out_put_path) ? $image_path = $out_put_path[0] : $image_path = $out_put_path;
$image_path = $out_put_path[0];
$setting->value = $image_path;
}
}

@ -1,265 +0,0 @@
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Models\VisaService;
use App\Models\ServicePoint;
use App\Models\Setting;
use Illuminate\Http\Request;
use App\Models\User;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Session;
class VisaServiceController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
protected $view = 'admin.visa_service.';
protected $redirect = 'admin/visa_services';
public function index()
{
$services = VisaService::orderBy('order_by','ASC');
if(\request('name')){
$key = \request('name');
$services = $services->where('name','like','%'.$key.'%');
}
if(\request('status')){
$key = \request('status');
$services = $services->where('status',$key);
}
$services = $services->paginate(config('custom.per_page'));
return view($this->view.'index',compact('services'));
}
/**
* Show the form for creating a new resource.
*
* @return \Illuminate\Http\Response
*/
public function create()
{
return view($this->view.'create');
}
/**
* Store a newly created resource in storage.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
public function store(Request $request)
{
$this->validate(\request(),[
'name' => 'required',
'seo_title' => 'required',
'short_description' => 'required',
'keywords'=>'required',
'icon' => 'file|mimes:jpeg,png,jpg,svg,'
]);
$service = new VisaService();
$service->name = \request('name');
// $service->image = \request('image');
// $service->image_title = \request('image_title');
// $service->top_description = \request('top_description');
// $service->image_description = \request('image_description');
// $service->bottom_description = \request('bottom_description');
$service->seo_description = strip_tags(\request('seo_description'));
$service->seo_title = \request('seo_title');
$service->keywords = \request('keywords');
// $service->icon = \request('icon');
$service->meta_keywords = strip_tags(\request('meta_keywords'));
$service->short_description = strip_tags(\request('short_description'));
// $service->point_title = \request('point_title');
// $service->description_title = \request('description_title');
$service->status = \request('status');
$service->order_by = \request('order_by');
// $service->image_alt = \request('image_alt');
$service->slug = Setting::create_slug(\request('seo_title'));
if($request->hasFile('icon')){
$extension = \request()->file('icon')->getClientOriginalExtension();
$image_folder_type = array_search('visa_service',config('custom.image_folders')); //for image saved in folder
$count = rand(100,999);
$out_put_path = User::save_image(\request('icon'),$extension,$count,$image_folder_type);
is_array($out_put_path) ? $service->icon = $out_put_path[0] : $service->icon = $out_put_path;
}
if($request->hasFile('image')){
$extension = \request()->file('image')->getClientOriginalExtension();
$image_folder_type = array_search('visa_service',config('custom.image_folders')); //for image saved in folder
$count = rand(100,999);
$out_put_path = User::save_image(\request('image'),$extension,$count,$image_folder_type);
is_array($out_put_path) ? $service->image = $out_put_path[0] : $service->image = $out_put_path;
}
if($service->save()){
// $points = $request->points;
// foreach($points as $point){
// $service_point = new ServicePoint();
// $service_point->service_id = $service->id;
// $service_point->point = $point;
// $service_point->save();
// }
Session::flash('success','Visa Service has been created!');
return redirect($this->redirect);
}
}
/**
* Display the specified resource.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function show($id)
{
$service = new VisaService();
$service = $service->findorfail($id);
return view($this->view . 'show', compact('service'));
}
/**
* Show the form for editing the specified resource.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function edit($id)
{
$service = new VisaService();
$service = $service->findorfail($id);
return view($this->view . 'edit', compact('service'));
}
/**
* Update the specified resource in storage.
*
* @param \Illuminate\Http\Request $request
* @param int $id
* @return \Illuminate\Http\Response
*/
public function update(Request $request, $id)
{
$this->validate(\request(),[
'name' => 'required',
'short_description' => 'required',
'seo_title' => 'required',
'keywords'=>'required',
]);
$service = new VisaService();
$service = $service->findorfail($id);
$service->name = \request('name');
$service->short_description = \request('short_description');
$service->seo_description = \request('seo_description');
$service->seo_title = \request('seo_title');
$service->keywords = \request('keywords');
$service->meta_keywords = \request('meta_keywords');
$service->status = \request('status');
$service->order_by = \request('order_by');
$service->slug = Setting::create_slug(\request('seo_title'));
if($request->hasFile('icon')){
$extension = \request()->file('icon')->getClientOriginalExtension();
$image_folder_type = array_search('visa_service',config('custom.image_folders')); //for image saved in folder
$count = rand(100,999);
$out_put_path = User::save_image(\request('icon'),$extension,$count,$image_folder_type);
if (is_file(public_path().'/'.$service->icon) && file_exists(public_path().'/'.$service->icon)){
unlink(public_path().'/'.$service->icon);
}
is_array($out_put_path) ? $service->icon = $out_put_path[0] : $service->icon = $out_put_path;
}
if($request->hasFile('image')){
$extension = \request()->file('image')->getClientOriginalExtension();
$image_folder_type = array_search('visa_service',config('custom.image_folders')); //for image saved in folder
$count = rand(100,999);
$out_put_path = User::save_image(\request('image'),$extension,$count,$image_folder_type);
if (is_file(public_path().'/'.$service->image) && file_exists(public_path().'/'.$service->image)){
unlink(public_path().'/'.$service->image);
}
is_array($out_put_path) ? $service->image = $out_put_path[0] : $service->image = $out_put_path;
}
if($service->update()){
Session::flash('success','Visa Service has been successfully updated!');
return redirect($this->redirect);
// $service_point = $service->service_point();
// $service_point->delete();
// $points = $request->points;
// foreach($points as $point){
// $service_point = new ServicePoint();
// $service_point->service_id = $service->id;
// $service_point->point = $point;
// $service_point->save();
}
}
/**
* Remove the specified resource from storage.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function delete($id)
{
$setting=VisaService::findorfail($id);
if (is_file(public_path().'/'.$setting->icon) && file_exists(public_path().'/'.$setting->icon)){
unlink(public_path().'/'.$setting->icon);
}
$setting->delete();
Session::flash('success','Service has been sucessfully deleted!');
return redirect($this->redirect);
//dd("here");
}
public function service_point($service_point_id){
if(Auth::user()){
$setting = VisaServicePoint::findorfail($service_point_id);
$setting->delete();
return response()->json(['service_point_id' => $service_point_id]);
}
}
}

@ -1,281 +0,0 @@
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Models\VisaService;
use App\Models\VisaServiceSection;
use App\Models\VisaServiceSectionPoint;
use App\Models\Setting;
use Illuminate\Http\Request;
use App\Models\User;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Session;
class VisaServiceSectionController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
protected $view = 'admin.visa_service_section.';
protected $redirect = 'admin/visa_services/{id}/sections';
public function index($id)
{
$service_name = VisaService::findorfail($id)->name;
$service_section = VisaServiceSection::where('visa_service_id',$id);
// if(\request('name')){
// $key = \request('name');
// $services = $services->where('name','like','%'.$key.'%');
// }
// if(\request('status')){
// $key = \request('status');
// $services = $services->where('status',$key);
// }
$service_sections = $service_section->paginate(config('custom.per_page'));
return view($this->view.'index',compact('service_sections','service_name','id'));
}
/**
* Show the form for creating a new resource.
*
* @return \Illuminate\Http\Response
*/
public function create($id)
{
$service_name = VisaService::findorfail($id)->name;
return view($this->view.'create',compact('service_name','id'));
}
/**
* Store a newly created resource in storage.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
public function store(Request $request,$id)
{
$this->validate(\request(),[
// 'title' => 'required',
'status' => 'required',
'order_by' => 'required'
]);
$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->visa_service_id = $id;
$service_section->status = \request('status');
$service_section->order_by = \request('order_by');
// $service->image_alt = \request('image_alt');
// $service->slug = Setting::create_slug(\request('seo_title'));
if($request->hasFile('image')){
$extension = \request()->file('image')->getClientOriginalExtension();
$image_folder_type = array_search('visa_service',config('custom.image_folders')); //for image saved in folder
// dd($image_folder_type);
$count = rand(100,999);
$out_put_path = User::save_image(\request('image'),$extension,$count,$image_folder_type);
$image_path = $out_put_path[0];
$service_section->image = $image_path;
}
if($service_section->save()){
$points = $request->points;
// $point_descriptions = $request->point_descriptions ?? [];
// $icons = $request->icons ?? [];
if($points[0] != null){
foreach($points as $key => $point){
$service_section_point = new VisaServiceSectionPoint();
$service_section_point->visa_service_section_id = $service_section->id;
$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');
}
}
/**
* Display the specified resource.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function show($id,$secId)
{
// $service = new Service();
// $service_section = new ServiceSection();
$service = VisaService::findorfail($id);
$service_section = VisaServiceSection::findorfail($secId);
return view($this->view . 'show', compact('service','service_section'));
}
/**
* Show the form for editing the specified resource.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function edit($id,$secId)
{
$service = new VisaService();
$service_section = new VisaServiceSection();
$service = $service->findorfail($id);
$service_section = $service_section->findorfail($secId);
return view($this->view . 'edit', compact('service','service_section'));
}
/**
* Update the specified resource in storage.
*
* @param \Illuminate\Http\Request $request
* @param int $id
* @return \Illuminate\Http\Response
*/
public function update(Request $request, $id, $secId)
{
$this->validate(\request(),[
'top_description' => 'required',
'status' => 'required',
'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->visa_service_id = $id;
$service_section->status = \request('status');
$service_section->order_by = \request('order_by');
// if($request->hasFile('image')){
// $extension = \request()->file('image')->getClientOriginalExtension();
// $image_folder_type = array_search('service',config('custom.image_folders')); //for image saved in folder
// $count = rand(100,999);
// $out_put_path = User::save_image(\request('image'),$extension,$count,$image_folder_type);
// $image_path = $out_put_path[0];
// if (is_file(public_path().'/'.$service_section->image) && file_exists(public_path().'/'.$service_section->image)){
// unlink(public_path().'/'.$service_section->image);
// }
// $service_section->image = $image_path;
// }
if($service_section->update()){
$points = $request->points;
if($points[0] != 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);
$service_section_point->point = $points[$key];
$service_section_point->update();
}
}else{
foreach($points as $key => $point){
$service_section_point = new VisaServiceSectionPoint();
$service_section_point->visa_service_section_id = $service_section->id;
$service_section_point->point = $point;
$service_section_point->save();
}
}
}
// $service_point = $service_section->service_section_point();
// $service_point->delete();
// foreach($points as $key => $point){
// $service_section_point = new ServiceSectionPoint();
// $service_section_point->service_section_id = $service_section->id;
// if(array_key_exists($key,$point_descriptions)){
// $service_section_point->point_description = $point_descriptions[$key];
// }
// if(array_key_exists($key,$icons)){
// $extension = $icons[$key]->getClientOriginalExtension();
// $image_folder_type = array_search('service',config('custom.image_folders')); //for image saved in folder
// $count = rand(100,999);
// $out_put_path = User::save_image($icons[$key],$extension,$count,$image_folder_type);
// is_array($out_put_path) ? $service_section_point->icon = $out_put_path[0] : $service_section_point->icon = $out_put_path;
// // $service_section_point->icon = $points_descriptions[$key];
// }
// $service_section_point->point = $point;
// $service_section_point->update();
// }
Session::flash('success','Visa Service Section has been successfully updated!');
return redirect('admin/visa_services/'.$id.'/sections');
}
}
/**
* Remove the specified resource from storage.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function destroy($id)
{
//
}
public function service_point($service_point_id){
if(Auth::user()){
$setting = ServiceSectionPoint::findorfail($service_point_id);
$setting->delete();
return response()->json(['service_point_id' => $service_point_id]);
}
}
}

@ -2,7 +2,6 @@
namespace App\Http\Controllers;
use App\Http\Requests\ContactRequest;
use App\Models\NewsAndUpdate;
use App\Models\Service;
use App\Models\AboutUs;
@ -22,7 +21,6 @@ use App\Models\User;
use App\Models\Partner;
use PDF;
use Illuminate\Support\Str;
use Illuminate\Support\Facades\Artisan;
class HomeController extends Controller
{
@ -42,14 +40,12 @@ class HomeController extends Controller
$partners = Partner::where('status',1)->get();
$phone = Setting::where(['key' => 'phone','status' => '1'])->first();
$video = Setting::where(['key' => 'video','status' => '1'])->first();
$email = Setting::where(['key' => 'email','status' => '1'])->first();
$address = Setting::where(['key' => 'address','status' => '1'])->first();
$visa_success = Setting::where(['slug' => 'visa-success','status' => '1'])->first();
$visa_approved = Setting::where(['slug' => 'visa-approved','status' => '1'])->first();
$partner_institution = Setting::where(['slug' => 'partner-institutions','status' => '1'])->first();
$employers = Setting::where(['key' => 'employers','status' => '1'])->first();
return view('welcome',compact('services','sliders','about_us','news_and_updates','testimonials','phone','email','address','partners','visa_success','visa_approved','partner_institution','video','employers'));
return view('welcome',compact('services','sliders','about_us','news_and_updates','testimonials','phone','email','address','partners','visa_success','visa_approved','partner_institution'));
}
public function service(){
@ -79,15 +75,19 @@ class HomeController extends Controller
return view('accommodation',compact('accomodation'));
}
public function send_contact_mail(ContactRequest $request){
public function send_contact_mail(Request $request){
$this->validate(\request(),[
'fullname' => 'required',
'phone' => 'required',
'email' => 'required',
'service_id' => 'required|numeric',
'entered_captcha_code' => 'required|same:displayed_captcha_code'
]);
$contact = new Contact();
$subject = htmlentities('Quick Enquiry');
$subject = 'Quick Enquiry';
$check = '';
if(isset($request['check'])){
$subject = htmlentities('Contact Enquiry');
$subject = 'Contact Enquiry';
$check = '1';
}
$name = ($request['firstname'] != null) ? ($request['firstname'].' '.$request['lastname']) : $request['fullname'] ;
@ -126,13 +126,11 @@ class HomeController extends Controller
$message->subject($subject);
// $message->to('info@agilityhomecare.com.au', 'AgilityHomeCare')->subject($subject);
$message->to('mahesh@extratechs.com.au', 'Extratech')->subject($subject);
$message->to('suman@extratechs.com.au', 'Extratech')->subject($subject);
});
});
// return redirect()->back()->with(['msg' => 'Successfully submitted.']);
return redirect()->back()->with(['msg' => 'Thank you for your interest. We will get back to you soon.']);
return redirect()->back()->with(['success' => 'Thank you for your interest. We will get back to you soon.']);
// return response()->json(['success' => 'Thank you for your interest. We will get back to you soon.','status' =>'Ok'],200);
}
@ -325,10 +323,8 @@ class HomeController extends Controller
}
public function news(){
$news_and_updates = NewsAndUpdate::where('status',1)->get();
return view('news',compact('news_and_updates'));
$news = NewsAndUpdate::where('status',1)->get();
return view('news.blade.php',compact('news'));
}
}

@ -1,14 +0,0 @@
<?php
namespace App\Http\Controllers;
use App\Models\NewsAndUpdate;
use Illuminate\Http\Request;
class NewsController extends Controller
{
public function news_detail($slug){
$news = NewsAndUpdate::where('slug',$slug)->get();
return view('news_detail',compact('news'));
}
}

@ -3,18 +3,20 @@
namespace App\Http\Controllers;
use App\Models\Recruitment;
use App\Models\Applicant;
use App\Models\User;
use Illuminate\Http\Request;
use App\Http\Requests\Recruitment\ApplyRequest;
use App\Http\Requests\Recruitment\VacancyRequest;
class RecruitmentController extends Controller
{
public function save_vacancy(VacancyRequest $request){
public function save_vacancy(Request $request){
$this->validate(\request(),[
'full_name' => 'required',
'company' => 'required',
'email' => 'required',
'no_of_position' => 'required',
'entered_captcha_code' => 'required|same:displayed_captcha_code'
]);
$recruitment = new Recruitment();
$subject = htmlentities('Recruitment Enquiry');
$subject = 'Recruitment Enquiry';
$recruitment->full_name = $request['full_name'];
$recruitment->company = $request['company'];
@ -39,7 +41,7 @@ class RecruitmentController extends Controller
'subject' =>$subject ,
), function($message) use ($subject){
), function($message) use ($subject){
// $subject=($service!= '') ? 'Enquiry for '.$service : 'Contact/Feedback';
$message->subject($subject);
// $message->to('info@agilityhomecare.com.au', 'AgilityHomeCare')->subject($subject);
@ -48,57 +50,6 @@ class RecruitmentController extends Controller
});
});
return redirect()->back()->with(['msg' => 'Thank you! Your recruitment details have been recieved.']);
}
public function apply(ApplyRequest $request){
$recruitment = new Applicant();
$subject = 'Applicant Enquiry';
$recruitment->full_name = $request['full_name'];
$recruitment->country = $request['country'];
$recruitment->phone = $request['phone'];
$recruitment->email = $request['email'];
$recruitment->has_visa_permit = $request['has_visa_permit'];
$recruitment->has_skill_assessed = $request['has_skill_assessed'];
if($request->hasFile('file')){
$extension = \request()->file('file')->getClientOriginalExtension();
$image_folder_type = array_search('applicant',config('custom.image_folders')); //for image saved in folder
$count = rand(100,999);
$out_put_path = User::save_image(\request('file'),$extension,$count,$image_folder_type);
is_array($out_put_path) ? $recruitment->resume = $out_put_path[0] : $recruitment->resume = $out_put_path;
}
$recruitment->save();
dispatch(function() use ($subject, $recruitment) {
\Mail::send('applicant_mail', array(
'full_name' => $recruitment->full_name,
'email' => $recruitment->email,
'phone' => $recruitment->phone,
'country' => $recruitment->country,
'work_permit' => $recruitment->has_visa_permit,
'subject' =>$subject ,
'tra_skill' =>$recruitment->has_skill_assessed ,
), function($message) use ($subject){
// $subject=($service!= '') ? 'Enquiry for '.$service : 'Contact/Feedback';
$message->subject($subject);
// $message->to('info@agilityhomecare.com.au', 'AgilityHomeCare')->subject($subject);
$message->to('mahesh@extratechs.com.au', 'Extratech')->subject($subject);
});
});
return redirect()->back()->with(['msg' => 'Thank you! Your details have been recieved.']);
return redirect()->back()->with(['success' => 'Thank you! Your recruitment details have been recieved.']);
}
}

@ -1,33 +0,0 @@
<?php
namespace App\Http\Controllers;
use App\Models\Service;
use App\Models\Accomodation;
use App\Models\VisaService;
use Illuminate\Http\Request;
class ServiceController extends Controller
{
public function single_service($slug){
$service = Service::where(['slug' => $slug,'status' => 1])->orderby('order_by','asc')->first();
$services = Service::where('status',1)->get();
// $accomodations = Accomodation::where('status',1)->get();
return view('service_view',compact('service','services'));
}
public function list(){
$services = Service::where('status',1)->get();
$visa_services = VisaService::where('status',1)->get();
return view('services',compact('services','visa_services'));
}
public function single_visa_service($slug){
$service = VisaService::where(['slug' => $slug,'status' => 1])->orderby('order_by','asc')->first();
$services = VisaService::where('status',1)->get();
// $accomodations = Accomodation::where('status',1)->get();
return view('service_detail',compact('service','services'));
}
}

@ -1,47 +0,0 @@
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class ContactRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array<string, mixed>
*/
public function rules()
{
return [
'fullname' => ['required'],
'phone' => ['required'],
'email' => ['required'],
'service_id' => ['required'],
'entered_captcha_code' => ['required','same:displayed_captcha_code']
];
}
public function messages(){
return[
'fullname.required' => 'Full name is required.',
'phone.required' => 'Phone number is required.',
'email.required' => 'Email is required.',
'service_id.required' => 'Please select a service.',
'entered_captcha_code.required' => 'Please enter captcha.',
'entered_captcha_code.same' => 'Captcha is incorrect.'
];
}
}

@ -1,51 +0,0 @@
<?php
namespace App\Http\Requests\Recruitment;
use Illuminate\Foundation\Http\FormRequest;
class ApplyRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array<string, mixed>
*/
public function rules()
{
return [
'full_name' => 'required',
'phone' => 'required',
'email' => 'required',
'file' => 'required',
'country' => 'required',
'has_visa_permit' => 'required',
'has_skill_assessed' => 'required',
'entered_captcha_code' => ['required','same:displayed_captcha_code']
];
}
public function messages()
{
return [
'full_name.required' => 'Full name is required.',
'phone.required' => 'Phone number is required.',
'email.required' => 'Email is required.',
'file.required' => 'Please upload your resume.',
'country.required' => 'Please select your country.',
'has_visa_permit.required' => 'Please specify your visa permit position.',
'has_skill_assesed.required' => 'Please specify your TRA skill assessment.',
'entered_captcha_code.required' => 'Please enter captcha.',
'entered_captcha_code.same' => 'Captcha is incorrect.'
];
}
}

@ -1,45 +0,0 @@
<?php
namespace App\Http\Requests\Recruitment;
use Illuminate\Foundation\Http\FormRequest;
class VacancyRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array<string, mixed>
*/
public function rules()
{
return [
'full_name' => 'required',
'company' => 'required',
'email' => 'required',
'no_of_position' => 'required',
'entered_captcha_code' => ['required','same:displayed_captcha_code']
];
}
public function messages()
{
return [
'full_name.required' => 'Full name is required.',
'company.required' => 'Your company is required.',
'email.required' => 'Email is required.',
'no_of_position.required' => 'Number of position is required',
'entered_captcha_code.required' => 'Please enter captcha.',
'entered_captcha_code.same' => 'Captcha is incorrect.'
];
}
}

@ -8,7 +8,7 @@ use Illuminate\Database\Eloquent\Model;
class NewsAndUpdate extends Model
{
use HasFactory;
protected $fillable=['slug','point_title','blog_type','image','image_alt','description','seo_title','seo_description','middle_description','bottom_description','keyword','meta_keyword','status','publish_date','title','image_credit','author','image_caption','thumbnail'];
protected $fillable=['slug','point_title','blog_type','image','image_alt','description','seo_title','seo_description','middle_description','bottom_description','keyword','meta_keyword','status','publish_date','title','image_credit','author','image_caption'];
public function news_and_update_points()
{

@ -156,12 +156,6 @@ class User extends Authenticatable
}
return $directory = 'images/partner/' . $year . '/' . $month . '/' . $day . '/';
}
if(config('custom.image_folders')[$image_folder_type] == 'visa_service') {
if (!is_dir(public_path() . '/images/visa_service/' . $year . '/' . $month . '/' . $day)) {
mkdir(public_path() . '/images/visa_service/' . $year . '/' . $month . '/' . $day, 0755, true);
}
return $directory = 'images/visa_service/' . $year . '/' . $month . '/' . $day . '/';
}
}
@ -233,20 +227,6 @@ class User extends Authenticatable
return($target_path.$target_file);
}
}
if(strtolower( $uploaded_ext ) == 'docx' || strtolower( $uploaded_ext ) == 'pdf'){
$target_path = $target_path;
$content = file_get_contents($requestData);
if(file_put_contents( $target_path.$target_file,$content)){
return($target_path.$target_file);
}
}
if(strtolower( $uploaded_ext ) == 'mp4' || strtolower( $uploaded_ext ) == 'pdf'){
$target_path = $target_path;
$content = file_get_contents($requestData);
if(file_put_contents( $target_path.$target_file,$content)){
return($target_path.$target_file);
}
}
}

@ -1,15 +0,0 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class VisaService extends Model
{
use HasFactory;
public function visa_service_sections(){
return $this->hasMany(VisaServiceSection::class);
}
}

@ -1,18 +0,0 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class VisaServiceSection extends Model
{
use HasFactory;
public function visa_service(){
return $this->belongsTo(VisaService::class);
}
public function visa_service_section_point(){
return $this->hasMany(VisaServiceSectionPoint::class);
}
}

@ -1,16 +0,0 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class VisaServiceSectionPoint extends Model
{
use HasFactory;
public function visa_service_section()
{
return $this->belongsTo(VisaServiceSection::class);
}
}

@ -13,7 +13,6 @@
"laravelcollective/html": "^6.3"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.7",
"fakerphp/faker": "^1.9.1",
"laravel/pint": "^1.0",
"laravel/sail": "^1.0.1",

152
composer.lock generated

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "2e3fd67addcebfe7c48fe46b95231470",
"content-hash": "f70c81adf2990f185a8632535bd08631",
"packages": [
{
"name": "brick/math",
@ -5450,90 +5450,6 @@
}
],
"packages-dev": [
{
"name": "barryvdh/laravel-debugbar",
"version": "v3.7.0",
"source": {
"type": "git",
"url": "https://github.com/barryvdh/laravel-debugbar.git",
"reference": "3372ed65e6d2039d663ed19aa699956f9d346271"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/3372ed65e6d2039d663ed19aa699956f9d346271",
"reference": "3372ed65e6d2039d663ed19aa699956f9d346271",
"shasum": ""
},
"require": {
"illuminate/routing": "^7|^8|^9",
"illuminate/session": "^7|^8|^9",
"illuminate/support": "^7|^8|^9",
"maximebf/debugbar": "^1.17.2",
"php": ">=7.2.5",
"symfony/finder": "^5|^6"
},
"require-dev": {
"mockery/mockery": "^1.3.3",
"orchestra/testbench-dusk": "^5|^6|^7",
"phpunit/phpunit": "^8.5|^9.0",
"squizlabs/php_codesniffer": "^3.5"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.6-dev"
},
"laravel": {
"providers": [
"Barryvdh\\Debugbar\\ServiceProvider"
],
"aliases": {
"Debugbar": "Barryvdh\\Debugbar\\Facades\\Debugbar"
}
}
},
"autoload": {
"files": [
"src/helpers.php"
],
"psr-4": {
"Barryvdh\\Debugbar\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Barry vd. Heuvel",
"email": "barryvdh@gmail.com"
}
],
"description": "PHP Debugbar integration for Laravel",
"keywords": [
"debug",
"debugbar",
"laravel",
"profiler",
"webprofiler"
],
"support": {
"issues": "https://github.com/barryvdh/laravel-debugbar/issues",
"source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.7.0"
},
"funding": [
{
"url": "https://fruitcake.nl",
"type": "custom"
},
{
"url": "https://github.com/barryvdh",
"type": "github"
}
],
"time": "2022-07-11T09:26:42+00:00"
},
{
"name": "doctrine/instantiator",
"version": "1.4.1",
@ -5919,72 +5835,6 @@
},
"time": "2022-11-21T16:19:18+00:00"
},
{
"name": "maximebf/debugbar",
"version": "v1.18.1",
"source": {
"type": "git",
"url": "https://github.com/maximebf/php-debugbar.git",
"reference": "ba0af68dd4316834701ecb30a00ce9604ced3ee9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/ba0af68dd4316834701ecb30a00ce9604ced3ee9",
"reference": "ba0af68dd4316834701ecb30a00ce9604ced3ee9",
"shasum": ""
},
"require": {
"php": "^7.1|^8",
"psr/log": "^1|^2|^3",
"symfony/var-dumper": "^2.6|^3|^4|^5|^6"
},
"require-dev": {
"phpunit/phpunit": "^7.5.20 || ^9.4.2",
"twig/twig": "^1.38|^2.7|^3.0"
},
"suggest": {
"kriswallsmith/assetic": "The best way to manage assets",
"monolog/monolog": "Log using Monolog",
"predis/predis": "Redis storage"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.18-dev"
}
},
"autoload": {
"psr-4": {
"DebugBar\\": "src/DebugBar/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Maxime Bouroumeau-Fuseau",
"email": "maxime.bouroumeau@gmail.com",
"homepage": "http://maximebf.com"
},
{
"name": "Barry vd. Heuvel",
"email": "barryvdh@gmail.com"
}
],
"description": "Debug bar in the browser for php application",
"homepage": "https://github.com/maximebf/php-debugbar",
"keywords": [
"debug",
"debugbar"
],
"support": {
"issues": "https://github.com/maximebf/php-debugbar/issues",
"source": "https://github.com/maximebf/php-debugbar/tree/v1.18.1"
},
"time": "2022-03-31T14:55:54+00:00"
},
{
"name": "mockery/mockery",
"version": "1.5.1",

@ -11,8 +11,8 @@ return [
],
'blog_types'=>[
'1'=>'Featured',
'2'=>'Not Featured',
'1'=>'News',
'2'=>'Notice',
],
'states' =>[
@ -48,7 +48,7 @@ return [
'7'=>'gallery',
'8'=>'ndis_plan',
'9' => 'testimonial',
'10' => 'visa_service',
'10' => 'accomodation',
'11'=>'applicant',
'12'=>'partner'

@ -1,33 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddDesIconToServiceSectionPointsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('service_section_points', function (Blueprint $table) {
$table->string('point_description')->nullable();
$table->string('icon')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('service_section_points', function (Blueprint $table) {
//
});
}
}

@ -1,33 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('about_us', function (Blueprint $table) {
$table->string('point_title')->nullable();
$table->string('bottom_title')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('about_us', function (Blueprint $table) {
//
});
}
};

@ -1,41 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('visa_services', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string('seo_title');
$table->longText('seo_description');
$table->string('keywords');
$table->longText('meta_keywords');
$table->enum('status',[1,2]);
$table->longText('short_description');
$table->string('icon')->nullable();
$table->string('order_by');
$table->string('slug');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('visa_services');
}
};

@ -1,45 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('visa_service_sections', function (Blueprint $table) {
$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->enum('status',[1,2]);
$table->string('order_by');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('visa_service_sections');
}
};

@ -1,34 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('visa_service_section_points', function (Blueprint $table) {
$table->id();
$table->bigInteger('visa_service_section_id')->unsigned();
$table->foreign('visa_service_section_id')->references('id')->on('visa_service_sections')->onDelete('cascade');
$table->text('point');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('visa_service_section_points');
}
};

@ -1,38 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('applicants', function (Blueprint $table) {
$table->id();
$table->string('full_name');
$table->string('phone');
$table->string('email');
$table->boolean('has_visa_permit');
$table->boolean('has_skill_assessed');
$table->string('resume');
$table->string('country');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('applicants');
}
};

@ -1,32 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('services', function (Blueprint $table) {
$table->string('image');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('services', function (Blueprint $table) {
//
});
}
};

@ -1,32 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('visa_services', function (Blueprint $table) {
$table->string('image')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('visa_services', function (Blueprint $table) {
//
});
}
};

@ -1,32 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('news_and_updates', function (Blueprint $table) {
$table->string('thumbnail');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('news_and_updates', function (Blueprint $table) {
//
});
}
};

@ -1,32 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('services', function (Blueprint $table) {
$table->string('banner_image')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('services', function (Blueprint $table) {
//
});
}
};

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

@ -28,7 +28,7 @@ h1{
h2{
font-weight: 700;
font-weight: 800;
font-size: 34px;
font-size: 28px;
line-height: 34px;
color: #202023;
}
@ -59,13 +59,12 @@ h4{
transition: padding 500ms, box-shadow 500ms;
transition-delay: 200ms;
}
.header-scroll {
.header-scroll{
padding: 0 6rem;
background: rgba(14, 43, 82, 0.9);
backdrop-filter: blur(12px);
background: #0E2B52;
position: sticky;
box-shadow: 0 2px 4px rgba(99, 99, 99, 0.25);
}
}
.header .logo{
height: 5rem;
}
@ -93,8 +92,7 @@ h4{
display: flex;
gap: 10px;
}
.nav-socials a,
.recruitment-card a{
.nav-socials a{
text-decoration: none;
}
@ -119,32 +117,13 @@ h4{
display: none;
}
.dropdown-menu a{
font-size: 14px;
}
.service-dropdown{
width: 350px;
transform: translate(-30%, 0%);
}
.service-drop-card{
display: flex;
justify-content: space-between;
}
.service-drop-card ul{
padding-left: 0;
}
.service-drop-card h5{
color: #000000;
font-size: 18px;
margin-bottom: 0;
padding: 0 1rem;
}
.service-drop-card ul li{
text-decoration: none;
list-style: none;
font-weight: 600;
font-size: 16px;
}
.dropdown-item:focus, .dropdown-item:hover {
color: #F54C5F !important;
background: none !important;
color: #fff !important;
background-color: #F54C5F !important;
transition: all 300ms ease-in-out;
}
@ -238,14 +217,6 @@ Responsive Codes
position: sticky;
background: #071C39;
}
.service-dropdown {
width: 300px;
transform: translate(-30%, 0%);
}
.service-drop-card {
display: flex;
flex-direction: column;
}
}
/* new nav */
@ -253,28 +224,14 @@ Responsive Codes
.banner-section{
position: relative;
}
.banner-section video {
display:block;
margin: 0 auto;
width: 100%;
}
.banner-section .banner-shadow {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
box-shadow: inset 0 1700px rgba(0, 0, 0, 0.02) !important;
}
.banner-section .banner-description{
position: absolute;
top: 36%;
left: 6%;
top: 40%;
left: 5%;
}
.banner-description span::before{
content: attr(data-text);
content: "Study Programme";
animation: 12s animate infinite;
animation-delay: 500ms;
padding-left: 10px;
color: #F54C5F;
}
@ -298,8 +255,8 @@ Responsive Codes
}
.banner-description h2, .banner-description-two h2, .banner-description-three h2{
font-weight: 800;
font-size: 54px;
line-height: 74px;
font-size: 46px;
line-height: 69px;
color: #FFFFFF;
}
@keyframes anim-lineUp {
@ -326,17 +283,16 @@ Responsive Codes
@keyframes animate {
0% {
content: attr(data-text);
content: "Study Programme";
}
50% {
content: attr(data-text2);
content: "Training Programme";
}
75% {
content: attr(data-text3);
content: "Skill Assessment";
}
100%{
content: attr(data-text4);
content: "Skilled Recruitment";
}
}
.banner-description h3, .banner-description-two h3, .banner-description-three h3{
@ -368,12 +324,6 @@ Responsive Codes
align-items: center;
gap: 15px;
}
.achivement-sec span{
font-weight: 500;
font-size: 14px;
line-height: 2rem;
color: #202023;
}
/* about us section css */
.about-us-section{
padding: 3rem 6rem;
@ -381,9 +331,7 @@ Responsive Codes
.about-us-section .row,
.service-primary .row,
.service-secondary .row,
.service-view-last .row,
.insurance-desc .row,
.service-detail-secondary .row{
.service-view-last .row{
display: flex;
align-items: center;
}
@ -455,25 +403,16 @@ Responsive Codes
box-shadow: 0px 4px 21px rgba(0, 0, 0, 0.07);
border-radius: 12px;
padding: 20px;
min-height: 22pc;
align-items: center;
}
.services-cards a{
text-decoration: none;
}
.services-icon{
padding: 20px;
width: 100px;
height: 100px;
margin: 0 auto;
display: flex;
align-items: center;
border-radius: 50%;
background: #1B3D69;
}
.services-icon img{
margin: 0 auto;
}
.services-card-content{
align-items: center;
margin: 20px auto;
@ -555,22 +494,14 @@ Responsive Codes
transition: color 2s;
}
.featured-news:hover p,
.featured-news:hover h2,
.more-news-box:hover p,
.more-news-box:hover h4{
.featured-news:hover h2{
color: #F54C5F;
}
.featured-news p,
.featured-news h2{
color: #FFFFFF;
-webkit-transition: color 1s;
transition: color 300ms;
}
.more-news-box p,
.more-news-box h4{
color: #221415;
-webkit-transition: color 1s;
transition: color 300ms;
transition: color 2s;
}
.news-title h2{
display: inline-block;
@ -583,13 +514,7 @@ Responsive Codes
width: 40%;
display: block;
}
.featured-news img,
.insurance-desc-img img,
.featured-news-image img,
.news-card-img img,
.who-we-img img,
.service-primary-img img,
.service-last-img img{
.featured-news img{
border-radius: 8px;
}
.more-news{
@ -725,7 +650,6 @@ Responsive Codes
font-size: 14px;
text-align: center;
color: #FFFFFF;
margin-bottom: 20px;
}
.enquiry-form .input-group{
padding: 0.5rem;
@ -788,10 +712,10 @@ Responsive Codes
}
.btn-submit{
background: #F54C5F;
border: none;
border: 2px solid #F54C5F;
border-radius: 4px;;
border-radius: 4px;
padding: 12px 40px;
padding: 10px 40px;
font-weight: 700;
font-size: 16px;
text-align: center;
@ -889,33 +813,25 @@ Responsive Codes
.obj-header hr,
.hiring-content hr,
.news-update-head hr,
.service-secondary-desc hr,
.insurance-content hr,
.labor-section-primary hr,
.labor-section-secondary hr,
.service-primary-desc hr{
.service-secondary-desc hr{
width: 38px;
height: 0px;
opacity: 1;
border: 1px solid #0E2B52;
border: 1px solid #F54C5F;
}
.who-we-desc h5,
.obj-header h5,
.hiring-content h5,
.news-update-head h5,
.service-primary-desc h5,
.service-secondary-desc h5,
.insurance-content h5,
.labor-section-primary h5,
.labor-section-secondary h5{
.service-secondary-desc h5{
font-weight: 500;
font-size: 16px;
line-height: 24px;
color: #0E2B52;
color: #F54C5F;
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 0;
}
.who-we-desc h3,
.obj-header h3,
@ -936,31 +852,18 @@ Responsive Codes
}
.about-banner-section .breadcrumb,
.contact-us-section .breadcrumb,
.need-chef-banner .breadcrumb,
.insurance-banner .breadcrumb,
.labor-agreement-banner .breadcrumb,
.service-detail-banner .breadcrumb,
.recruitment-banner .breadcrumb,
.news-banner-section .breadcrumb,
.services-banner-section .breadcrumb,
.pathway-banner-section .breadcrumb{
.need-chef-banner .breadcrumb{
float: right;
}
.about-banner-section .breadcrumb a,
.contact-us-section .breadcrumb a,
.need-chef-banner .breadcrumb a,
.insurance-banner .breadcrumb a,
.labor-agreement-banner .breadcrumb a,
.service-detail-banner .breadcrumb a,
.recruitment-banner .breadcrumb a,
.news-banner-section .breadcrumb a,
.services-banner-section .breadcrumb a,
.pathway-banner-section .breadcrumb a{
.need-chef-banner .breadcrumb a{
text-decoration: none;
color: #FFFFFF;
}
/* contact us css */
.contact-us-section{
background: url('../images/contact-us-banner.png');
padding: 6rem;
height: 40vh;
background-repeat: no-repeat;
@ -1029,11 +932,10 @@ Responsive Codes
z-index: 2;
margin: 0 10px;
}
.contact-form h2,
.chef-hire-form h2{
.contact-form h2, .chef-hire-form h2{
font-weight: 500;
font-size: 22px;
line-height: 1.8rem;
line-height: 178%;
text-align: center;
color: #0A2849;
margin-bottom: 30px;
@ -1051,8 +953,7 @@ Responsive Codes
.submit-btn button:hover,
.featured-news-desc a:hover,
.service-secondary-desc a:hover,
.chef-hire-form button:hover,
.btn-submit:hover{
.chef-hire-form button:hover{
background: #103E70;
}
.chef-hire-form input:focus,
@ -1060,10 +961,7 @@ Responsive Codes
.chef-hire-form textarea:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus{
.contact-form textarea:focus{
box-shadow: none;
}
.contact-form label,
@ -1074,7 +972,6 @@ Responsive Codes
color: #0A2849;
}
.chef-hire-form .form-control,
.chef-hire-form .form-select,
.contact-form .form-control,
.contact-form select{
border: none;
@ -1082,7 +979,6 @@ Responsive Codes
}
.chef-hire-form input::-webkit-input-placeholder,
.chef-hire-form textarea::-webkit-input-placeholder,
.chef-hire-form select,
.contact-form textarea::-webkit-input-placeholder,
.contact-form select,
.contact-form input::-webkit-input-placeholder{
@ -1100,6 +996,7 @@ Responsive Codes
}
/* need a chef page css */
.need-chef-banner{
background: url('../images/need-chef.png');
padding: 6rem;
height: 40vh;
background-repeat: no-repeat;
@ -1111,17 +1008,15 @@ Responsive Codes
.contact-banner-content h2,
.services-banner-content h2,
.service-detail-desc h2,
.news-banner-desc h2,
.insurance-banner-content h2{
.news-banner-desc h2{
font-weight: 700;
font-size: 46px;
font-size: 60px;
line-height: 4rem;
color: #FFFFFF;
text-align: center;
text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
position: absolute;
margin-bottom: 0;
top: 60%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
@ -1189,9 +1084,6 @@ Responsive Codes
.chef-hire-form .input-group-text{
padding: .9rem .75rem !important;
}
.enquiry-form .captch-field{
background: rgba(255, 255, 255, 0.55);
}
.captch-field{
background: #FFFFFF;
padding: 0.5rem;
@ -1202,12 +1094,9 @@ Responsive Codes
}
.captch-field input, .captch-field input:focus-visible{
border: none;
background: none;
box-shadow: none;
outline: none;
width: 100%;
font-weight: 600;
letter-spacing: 0.1rem;
}
.captch-field p{
font-weight: 400;
@ -1267,6 +1156,7 @@ Responsive Codes
}
/* service detail css */
.service-detail-banner{
background: url('../images/service-detail.png');
padding: 6rem;
height: 40vh;
background-repeat: no-repeat;
@ -1279,21 +1169,17 @@ Responsive Codes
background: #FFFFFF;
}
.permanent-visa-head p{
margin-bottom: 45px;
padding: 0 10%;
text-align: center;
margin-bottom: 30px;
}
.service-detail-secone{
padding-right: 20%;
}
.service-detail-secone h3{
font-weight: 600;
font-size: 28px;
line-height: 44px;
font-size: 38px;
line-height: 57px;
color: #0A2849;
padding-right: 20%;
}
.service-detail-sectwo p{
font-size: 18px;
color: #F54C5F;
}
.service-detail-sectwo h3{
font-weight: 600;
@ -1307,35 +1193,25 @@ Responsive Codes
line-height: 1.7rem;
color: #F54C5F;
}
.service-detail-sectwo ul,
.service-primary-desc ul,
.insurance-content ul,
.labor-section-primary ul,
.labor-section-secondary ul{
.service-detail-sectwo ul{
padding-left: 1rem;
margin-top: 0.2rem;
margin-top: 1rem;
}
.service-detail-sectwo ul li,
.service-primary-desc ul li,
.insurance-content ul li,
.labor-section-primary ul li,
.labor-section-secondary ul li{
.service-primary-desc ul li{
display: flex;
align-items: center;
list-style: none;
position: relative;
padding-left: 40px;
line-height: 29px;
margin-top: 10px;
}
.service-detail-sectwo ul li::before,
.service-primary-desc ul li::before,
.insurance-content ul li::before,
.labor-section-primary ul li::before,
.labor-section-secondary ul li::before {
.service-primary-desc ul li::before {
content: url(../icons/christmas-star-new.svg);
color: #071C39;
position: absolute;
top: 4px;
left: 0;
display: inline-block;
margin-right: 0.6em;
margin-left: -1.3em;
margin-top: 8px;
width: 1.3em;
}
.service-detail-third{
background: #F7F7F9;
@ -1343,15 +1219,14 @@ Responsive Codes
}
.service-detail-second .row,
.service-detail-third .row,
.news-update-section .featured-block,
.who-we-section .row,
.permanent-visa-section .row{
.news-update-section .row{
display: flex;
align-items: center;
}
/* news and update section */
.news-banner-section{
background: url(../images/news-banner.png);
padding: 6rem;
height: 40vh;
background-repeat: no-repeat;
@ -1386,7 +1261,7 @@ Responsive Codes
}
.featured-news-desc a,
.service-secondary-desc a{
background: #0E2B52;
background: #F54C5F;
border-radius: 44px;
text-decoration: none;
padding: 10px 30px;
@ -1486,25 +1361,15 @@ Responsive Codes
/* service view css */
.service-primary{
padding: 3rem 6rem;
background: linear-gradient(to right, rgba(245, 245, 245, 0) 0%,rgba(255, 255, 255, 0) 20%,rgb(255, 248, 239) 20%,rgb(254, 255, 236) 100%);
background: linear-gradient(to right, rgba(245, 245, 245, 0) 0%,rgba(255, 255, 255, 0) 20%,rgb(231, 231, 231) 20%,rgb(231, 231, 231) 100%);
}
.service-secondary .service-secondary-img{
position: absolute;
bottom: 0;
left: 0;
width: 50%;
}
.service-primary-img{
.service-primary-img,
.service-secondary-img{
margin-right: 25px;
}
.service-detail-secondary{
padding: 3rem 6rem 0 6rem;
background: #E54A5F;
}
.service-secondary{
position: relative;
padding: 3rem 6rem;
background: #E54A5F;
background: #4D57C3;
}
.service-secondary-desc h3{
font-weight: 700;
@ -1515,226 +1380,21 @@ Responsive Codes
.service-secondary-desc p{
font-weight: 500;
font-size: 16px;
line-height: 1.6rem;
line-height: 1.8rem;
color: #FFFFFF;
margin-bottom: 25px;
}
.service-view-last{
padding: 3rem 6rem;
}
.service-last-img,
.insurance-desc-img{
.service-last-img{
margin-left: 25px;
}
/* recruitment page css */
.recruitment-banner{
padding: 6rem;
height: 40vh;
background-repeat: no-repeat;
background-size: cover !important;
position: relative;
}
.recruitment-primary,
.recruitment-card{
padding: 3rem 6rem;
}
.recruitment-primary h2{
font-weight: 600;
font-size: 38px;
line-height: 57px;
text-align: center;
color: #082548;
}
.recruitment-primary h2 span,
.insurance-content h2 span,
.our-service-head h2 span,
.pathway-step-header h2 span{
color: #F54C5F
}
.recruitment-primary p{
font-weight: 400;
font-size: 16px;
line-height: 1.8rem;
text-align: center;
padding: 0 20%;
color: #252525;
}
.need-chef-card h4{
font-weight: 700;
font-size: 32px;
line-height: 2.6rem;
text-align: center;
color: #0A2849;
margin-bottom: 20px;
}
.need-chef-card h6{
color: #252525;
text-align: center;
margin-bottom: 20px;
}
.need-chef-card p{
text-align: center;
margin-bottom: 20px;
}
.need-chef-card{
display: flex;
flex-direction: column;
justify-content: space-between;
background: #F3F3F3;
border-radius: 15px;
min-height: 50pc;
}
.need-chef-card:hover{
background: #104682;
}
.need-chef-card:hover p,
.need-chef-card:hover h4,
.need-chef-card:hover h6,
.need-chef-card:hover span{
color: #FFFFFF;
}
.need-chef-top{
padding: 30px;
}
.need-chef-top span{
color: #0E4F97;
text-decoration: underline;
}
/* insurance page css */
.insurance-banner{
padding: 6rem;
height: 40vh;
background-repeat: no-repeat;
background-size: cover !important;
position: relative;
}
.insurance-desc{
padding: 3rem 6rem;
}
.insurance-content h4{
font-size: 18px;
margin-top: 5px;
line-height: 2rem;
}
.insurance-content h2,
.labor-section-primary h2,
.labor-section-secondary h2{
font-weight: 600;
font-size: 38px;
line-height: 57px;
color: #082548;
}
/* labor agreement page css */
.labor-section-primary{
padding: 3rem 6rem;
background: #F5F5F5;
}
.labor-section-primary .row{
margin: 20px 0;
}
.labor-section-secondary{
padding: 3rem 6rem;
}
.labor-agreement-banner{
padding: 6rem;
height: 40vh;
background-repeat: no-repeat;
background-size: cover !important;
position: relative;
}
/* Labor agreement section */
.pathway-banner-section{
padding: 6rem;
height: 40vh;
background-repeat: no-repeat;
background-size: cover !important;
position: relative;
}
.pathway-steps-section{
padding: 3rem 6rem;
}
.pathway-step-header h2{
font-weight: 600;
font-size: 38px;
line-height: 56px;
text-align: center;
padding: 0 20%;
color: #082548;
}
.pathway-step-header p{
font-weight: 400;
font-size: 16px;
line-height: 1.8rem;
padding: 0 10%;
text-align: center;
color: #252525;
}
.pathway-step-header h5{
font-weight: 600;
font-size: 16px;
padding: 20px 0;
line-height: 1.8rem;
text-align: center;
color: #252525;
}
.pathway-step-card{
background: #1853A4;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
border-radius: 15px;
display: flex;
flex-direction: column;
align-items: center;
padding: 30px 20px;
min-height: 25pc;
}
.pathway-steps-icon{
background: #FFFFFF;
padding: 10px;
border-radius: 5px;
margin-bottom: 25px;
}
.pathway-step-desc h3{
color: #FFFFFF;
text-align: center;
margin-bottom: 20px;
font-size: 24px;
}
.pathway-step-desc p{
color: #FFFFFF;
text-align: center;
}
.immigration-logo{
width: 65%;
}
@media only screen and (min-width: 320px) and (max-width: 480px) {
h2{
font-size: 26px;
}
.enquiry-contacts p{
font-weight: 400;
font-size: 16px;
margin-bottom: 40px;
line-height: 1.8rem;
color: #FFFFFF;
}
.enquiry-header h2 {
font-size: 38px;
}
/* contact us mobile view */
.about-banner-section .breadcrumb,
.contact-us-section .breadcrumb,
.need-chef-banner .breadcrumb,
.insurance-banner .breadcrumb,
.service-detail-banner .breadcrumb,
.recruitment-banner .breadcrumb,
.news-banner-section .breadcrumb,
.services-banner-section .breadcrumb,
.pathway-banner-section .breadcrumb,
.labor-agreement-banner .breadcrumb{
.need-chef-banner .breadcrumb{
display: none;
}
.banner-section .banner-description {
@ -1744,8 +1404,9 @@ Responsive Codes
}
.banner-description h2{
font-weight: 800;
font-size: 18px;
line-height: 28px;
font-size: 22px;
text-align: center;
line-height: 36px;
color: #FFFFFF;
}
.header .logo {
@ -1763,7 +1424,7 @@ Responsive Codes
display: none;
}
.contact-form{
margin: 25px 0;
margin: 0;
}
.contact-captcha{
display: flex;
@ -1791,14 +1452,7 @@ Responsive Codes
.clients-section,
.quick-enquiry-setion,
.service-secondary,
.service-view-last,
.recruitment-primary,
.recruitment-card,
.insurance-desc,
.labor-section-primary,
.labor-section-secondary,
.pathway-steps-section,
.service-detail-secondary{
.service-view-last{
padding: 2rem;
}
.visa-services,
@ -1819,44 +1473,23 @@ Responsive Codes
.contact-banner-content h2,
.services-banner-content h2,
.service-detail-desc h2,
.news-banner-desc h2,
.insurance-content h2{
.news-banner-desc h2{
font-size: 48px;
line-height: 3.3rem;
}
.insurance-content h2,
.labor-section-primary h2,
.labor-section-secondary h2,
.pathway-step-header h2 {
font-weight: 600;
font-size: 28px;
line-height: 42px;
color: #082548;
}
.pathway-step-header h2,
.pathway-step-header p{
text-align: left;
padding: 0;
}
.blog-header h2,
.enquiry-contacts h2{
text-align: left;
font-size: 26px;
line-height: 38px;
text-align: center;
font-size: 32px;
line-height: 44px;
margin-bottom: 15px;
}
.chef-hire-form button{
padding: 15px;
}
.permanent-visa-head p,
.permanent-visa-head h2 {
padding: 0;
text-align: left;
}
.service-detail-secone h3{
font-size: 28px;
line-height: 38px;
padding-right: 0;
font-size: 32px;
line-height: 44px;
}
.service-detail-secone{
padding-right: 0;
@ -1869,8 +1502,7 @@ Responsive Codes
.news-and-update-section .row{
gap: 20px;
}
.more-news,
.services-cards{
.more-news{
grid-template-columns: 1fr;
}
.chef-hire-form{
@ -1881,72 +1513,10 @@ Responsive Codes
background:rgb(231, 231, 231);
}
.service-primary-img,
.service-last-img,
.insurance-desc-img{
.service-secondary-img,
.service-last-img{
margin: 0 0 20px 0;
}
.service-secondary .service-secondary-img{
position: relative;
margin: 0 0 20px 0;
bottom: 0;
left: 0;
width: 100%;
}
}
@media only screen and (min-width: 768px) and (max-width: 1024px){
html {
overflow-x: hidden;
}
}
@media only screen and (min-width: 1024px) and (max-width: 1366px) {
tml {
overflow-x: hidden;
}
.mobile-navbar-btn {
display: block;
z-index: 999;
}
.navbar-list {
/* display: none; */
width: 100%;
height: 100vh;
background: #FFFFFF;
position: absolute;
top: 0;
left: 0;
gap: 4rem;
display: flex;
justify-content: center;
align-items: center;
transform: translateX(100%);
transition: all 0.5s linear;
opacity: 0;
visibility: hidden;
pointer-events: none;
}
.nav-inner{
background: #071c39;
}
.navbar-list {
flex-direction: column;
align-items: center;
}
.active .navbar-list {
transform: translateX(0);
opacity: 1;
visibility: visible;
pointer-events: auto;
}
.active .mobile-navbar-btn .mobile-nav-icon[name="close-outline"] {
display: block;
}
.active .mobile-navbar-btn .mobile-nav-icon[name="menu-outline"] {
display: none;
}
}
/* large screen */

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 90 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 770 B

After

Width:  |  Height:  |  Size: 34 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 7.9 KiB

After

Width:  |  Height:  |  Size: 24 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 712 B

After

Width:  |  Height:  |  Size: 16 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 24 KiB

@ -1,3 +0,0 @@
<svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12.9293 11.1516L15.3911 13.6133C15.7274 13.9496 15.7274 14.4949 15.3911 14.8312C13.5728 16.6494 10.6942 16.854 8.6371 15.3112L7.29524 14.3048C5.55171 12.9971 4.00289 11.4483 2.69524 9.70476L1.68884 8.3629C0.145996 6.30577 0.350568 3.42721 2.16883 1.60895C2.50514 1.27264 3.05041 1.27263 3.38673 1.60895L5.84845 4.07067C6.23897 4.4612 6.23897 5.09436 5.84845 5.48488L4.92331 6.41002C4.77005 6.56329 4.73205 6.79743 4.82898 6.9913C5.94972 9.23277 7.76723 11.0503 10.0087 12.171C10.2026 12.268 10.4367 12.23 10.59 12.0767L11.5151 11.1516C11.9056 10.761 12.5388 10.761 12.9293 11.1516Z" stroke="#071C39" stroke-width="0.8"/>
</svg>

Before

Width:  |  Height:  |  Size: 734 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 21 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 29 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 573 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 506 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 382 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 514 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 495 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 775 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 526 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 598 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 526 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 626 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 628 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 628 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 628 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 628 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 628 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 628 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 628 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

@ -1,8 +0,0 @@
<svg width="74" height="68" viewBox="0 0 74 68" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.54983 48.5906C6.30531 48.5906 5.44969 46.0846 5.44969 43.7494C5.44969 42.895 4.5163 42.5533 4.32184 43.1229C3.92944 44.2722 3.38845 46.6541 3.81625 50.755C4.24406 54.8558 7.27758 55.3115 9.10548 55.1976C10.9334 55.0837 29.9512 52.3498 31.2347 52.065C32.5181 51.7802 32.5959 50.4133 32.7903 48.5906C32.9848 46.768 31.9347 40.5029 31.5069 38.7942C31.0791 37.0855 30.4957 35.8894 29.5234 35.8894C28.5512 35.8894 17.9727 35.092 14.8614 34.4655C11.7501 33.839 3.38845 31.6177 1.40499 37.5981C-0.578467 43.5785 -0.267336 51.6663 1.13275 55.881C2.53284 60.0958 6.3442 60.9501 8.36654 60.6654C10.3889 60.3806 16.9615 59.1276 18.8283 59.1276C20.6951 59.1276 26.801 59.2415 28.5901 59.1276C30.3791 59.0136 33.5293 54.2863 31.2347 54.5711C28.9401 54.8558 8.59989 59.811 5.21635 57.0202C1.8328 54.2293 2.18282 51.2106 2.06615 46.6541C1.94947 42.0976 3.85515 37.4842 6.3442 37.5981C8.83325 37.712 9.84441 40.6168 9.9222 43.7494C9.99917 46.8487 8.79435 48.5906 7.54983 48.5906Z" fill="white"/>
<path d="M32.5181 58.0455C34.0737 50.1856 33.9959 45.1165 32.2069 36.2313C35.046 35.263 40.7864 35.8326 41.3464 35.8326C42.0465 35.8326 42.9979 36.2313 43.291 37.4274C45.6633 47.1099 43.4465 56.3369 43.291 57.2482C43.1665 57.9772 42.5391 58.0835 42.2409 58.0455C39.9852 58.0455 36.6794 58.5581 32.5181 58.0455Z" fill="white"/>
<path d="M45.3522 50.5843C45.7023 46.7682 44.5744 37.9969 44.2633 36.0604C51.3285 35.3959 65.8986 33.7252 67.4036 33.7252C69.426 33.7252 70.9573 34.8597 71.6817 36.2882C74.582 42.0081 73.9063 49.7552 73.6692 52.4747L73.6651 52.5208C73.4318 55.1977 73.004 56.2799 71.2928 56.166C69.9238 56.0748 54.6991 53.6979 47.2579 52.5208C46.3245 52.2929 45.1171 53.1473 45.3522 50.5843Z" fill="white"/>
<path d="M70.7483 58.1594C69.5815 57.9316 47.6468 55.0838 46.0912 54.9129C43.291 55.3116 44.66 58.5923 46.0912 58.729C47.5224 58.8657 53.1694 59.0897 55.814 59.1846C58.3808 59.4124 65.4202 60.8933 68.3759 60.6085C73.4318 59.5264 71.915 58.3872 70.7483 58.1594Z" fill="white"/>
<path d="M35.6683 66.3041C35.396 63.4563 33.4126 61.0641 32.0125 60.0389C34.4237 59.944 39.5263 59.7541 40.6464 59.7541C42.0465 59.7541 42.1631 59.6402 42.8632 60.6654C43.5632 61.6906 44.9244 66.8737 44.1855 66.3041C43.4465 65.7345 40.7241 64.0828 39.713 63.0576C38.7018 62.0324 38.274 62.9437 37.9629 63.7411C37.6517 64.5385 35.9405 69.1519 35.6683 66.3041Z" fill="white"/>
<path d="M19.4506 13.7906C19.6717 19.1347 24.5453 21.2519 25.4787 19.828C26.9177 21.7647 27.8511 29.9091 28.1233 31.333C28.3956 32.7569 29.1345 33.1556 30.4179 32.8708C31.7013 32.5861 34.9293 32.0735 36.9517 32.0735C38.974 32.0735 42.8243 32.7569 43.991 33.1556C45.1577 33.5543 45.8578 31.4469 45.9356 30.7065C46.0134 29.9661 46.13 28.2004 46.8301 24.7831C47.3901 22.0492 48.4635 19.733 48.9302 18.9166C57.0585 24.2135 55.1528 3.08275 48.4246 4.50666C49.8247 9.10872 48.4376 12.6135 47.569 13.7906C51.0303 4.50666 43.0965 -1.132 40.763 1.37419C43.6565 6.65982 42.1501 10.5632 41.0353 11.8541C44.4966 1.37413 35.2793 -2.27107 33.4514 1.37419C36.7183 4.50666 35.6294 10.544 34.9293 11.2846C36.4072 6.72808 34.2682 2.05766 30.5346 1.88679C27.5477 1.7501 26.101 4.25996 25.751 5.53199C28.5122 6.15851 29.1734 9.17718 29.4067 11.2846C25.9454 2.57027 19.2172 8.15186 19.4506 13.7906Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 3.3 KiB

@ -1,7 +0,0 @@
<svg width="61" height="79" viewBox="0 0 61 79" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.5282 22.5425C6.38372 22.5425 3.57032 26.1597 3.40956 30.0984C3.40956 31.8668 0.596196 32.4778 0.596191 30.0984C0.596176 22.5425 6.78562 1 29.9358 1C56.6227 1 59.838 28.6515 59.838 30.0984C59.838 31.5453 57.6677 32.1884 57.4266 30.0984C57.1854 28.0085 55.3366 22.5425 48.906 22.5425C42.4754 22.5425 41.1089 28.4104 41.1089 30.0984C41.1089 31.7865 38.3759 32.5903 38.3759 30.0984C38.3759 24.7932 33.9549 22.5425 31.463 22.5425V37.8151H28.8908V22.5425C23.9875 22.5425 22.219 28.1693 22.219 29.6965C22.219 31.9472 19.486 32.0276 19.486 29.6965C19.486 26.7224 16.6727 22.5425 11.5282 22.5425Z" fill="white" stroke="#6898DB"/>
<path d="M30.418 56.3031C14.1004 56.3031 9.84013 70.6915 9.84013 76.7202C9.54539 77.2293 9.56683 78.2475 12.0105 78.2475H47.6199C49.1471 78.2475 50.6744 78.7298 50.6744 77.4436C50.6744 74.5499 46.7357 56.3031 30.418 56.3031Z" fill="white"/>
<path d="M40.707 47.461C40.707 53.2322 36.0285 57.9107 30.2573 57.9107C24.486 57.9107 19.8075 53.2322 19.8075 47.461C19.8075 41.6898 24.486 37.0113 30.2573 37.0113C36.0285 37.0113 40.707 41.6898 40.707 47.461Z" fill="white"/>
<path d="M49.5862 54.1999L58.3176 57.9636C58.5195 58.0506 58.6408 58.2592 58.6167 58.4776L57.5613 68.0308C57.4058 69.4387 56.7131 70.7322 55.6276 71.6421L49.7094 76.6024C49.5236 76.7582 49.2529 76.7582 49.0671 76.6024L43.1489 71.6421C42.0634 70.7322 41.3707 69.4387 41.2152 68.0308L40.1598 58.4776C40.1357 58.2592 40.257 58.0506 40.4589 57.9636L49.1903 54.1999C49.3167 54.1454 49.4599 54.1454 49.5862 54.1999L49.7841 53.7407L49.5862 54.1999Z" fill="white" stroke="#6898DB" stroke-linecap="round"/>
<path d="M47 65.1534L48.54 66.3735C48.9755 66.7186 49.6089 66.6424 49.9502 66.2039L54 61" stroke="#6898DB" stroke-linecap="round"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.8 KiB

@ -1,7 +0,0 @@
<svg width="80" height="64" viewBox="0 0 80 64" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M51 42.5368L58.8937 48.4304C59.321 48.7494 59.9235 48.677 60.2631 48.2658L77 28" stroke="white" stroke-width="5" stroke-linecap="round"/>
<path d="M75.5 44.5C75.5 48.052 74.3874 51.5149 72.3184 54.4021C70.2494 57.2894 67.328 59.456 63.9645 60.5978C60.6009 61.7396 56.9642 61.7991 53.5652 60.768C50.1661 59.7369 47.1753 57.667 45.013 54.8489C42.8506 52.0309 41.6253 48.6064 41.5091 45.0562C41.3929 41.5061 42.3916 38.0087 44.365 35.0553C46.3384 32.1019 49.1874 29.8408 52.5117 28.5896C55.8361 27.3384 59.4689 27.1599 62.8999 28.0793" stroke="white" stroke-width="5" stroke-linecap="round"/>
<path d="M18.7579 7.27551C18.1442 8.85714 18.1442 11.0714 18.7579 15.5C16.6099 18.9796 19.6785 20.2449 19.9854 21.1939C20.2922 22.1429 22.7471 31 31.0324 31C39.3177 31 39.6245 21.1939 40.5451 21.1939C41.4657 21.1939 43 19.9286 43 18.0306C43 16.1327 42.0794 16.7653 42.0794 15.5C42.0794 14.2347 42.3863 8.54082 41.1588 6.32653C39.9314 4.11224 36.5559 0 29.8049 0C23.054 0 19.3716 5.69388 18.7579 7.27551Z" fill="white"/>
<path d="M21.7323 33C17.9528 35.0357 9.70079 39.4929 6.92913 41.0357C5.98425 41.4643 3.90551 43.0286 3.14961 45.8571C2.3937 48.6857 0.734908 56.4643 0 60H40C37.7953 57.4286 36.5354 54.5357 35.5905 51.3214C34.8346 52.6071 31.706 56.5714 30.2362 58.3929L24.8819 50.6786L21.7323 33Z" fill="white"/>
<path d="M27 49.3158C27.7778 46.7895 29.2 41.5474 28.6667 40.7895L27.6667 39.2105L30 37C31 37.5263 33 38.7053 33 39.2105C33 39.7158 32.3333 40.8947 32 41.4211L34 49.3158L30 55L27 49.3158Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 398 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 197 KiB

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save