Compare commits

..

2 Commits

Author SHA1 Message Date
tribikram ccb1885902 [edit] visa dropdown, pathway page 2 years ago
Mahesh Sharma 5cdf8d2d80 dynamic-video 2 years ago
  1. 6
      app/Http/Controllers/Admin/SettingController.php
  2. 3
      app/Http/Controllers/HomeController.php
  3. 14
      app/Models/User.php
  4. 20
      public/frontend/css/style.css
  5. BIN
      public/frontend/images/education-image.png
  6. BIN
      public/frontend/video/aplus-video.mp4
  7. BIN
      public/images/setting/2022/12/19/0bbb0976296e9b3fbf837daf11eef710.mp4
  8. BIN
      public/images/setting/2022/12/19/2dc81f8245560daabc3e6a353882ded7.mp4
  9. BIN
      public/images/setting/2022/12/19/48adb760f31b1728c0c23f7255679de1.mp4
  10. BIN
      public/images/setting/2022/12/19/5a1ceb44ae488b7d38efa296bb056f6f.mp4
  11. BIN
      public/images/setting/2022/12/19/6925976fe804324d62d964c8ce427cb6.mp4
  12. BIN
      public/images/setting/2022/12/19/96698ba315964c6b38416dea45d8a18c.mp4
  13. BIN
      public/images/setting/2022/12/19/e61fd82c1b170ee9086362c36d215cca.mp4
  14. 2
      resources/views/am_chef.blade.php
  15. 2
      resources/views/labor_agreement.blade.php
  16. 38
      resources/views/layout/app.blade.php
  17. 6
      resources/views/need_chef.blade.php
  18. 21
      resources/views/pathway_programme.blade.php
  19. 15
      resources/views/welcome.blade.php

@ -67,7 +67,7 @@ class SettingController extends Controller
$image_folder_type = array_search('setting',config('custom.image_folders')); //for image saved in folder $image_folder_type = array_search('setting',config('custom.image_folders')); //for image saved in folder
$count = rand(100,999); $count = rand(100,999);
$out_put_path = User::save_image(\request('value'),$extension,$count,$image_folder_type); $out_put_path = User::save_image(\request('value'),$extension,$count,$image_folder_type);
$image_path = $out_put_path[0]; is_array($out_put_path) ? $image_path = $out_put_path[0] : $image_path = $out_put_path;
$setting->value = $image_path; $setting->value = $image_path;
} }
@ -126,7 +126,7 @@ class SettingController extends Controller
if(request('type') == array_search('Image',config('custom.setting_types'))){ if(request('type') == array_search('Image',config('custom.setting_types'))){
if(\request('value')){ if(\request('value')){
$this->validate($request,[ $this->validate($request,[
'value'=>'required|file|mimes:jpeg,png,jpg,pdf' 'value'=>'required|file|mimes:jpeg,png,jpg,pdf,mp4'
] ]
); );
@ -135,7 +135,7 @@ class SettingController extends Controller
$image_folder_type = array_search('setting',config('custom.image_folders')); //for image saved in folder $image_folder_type = array_search('setting',config('custom.image_folders')); //for image saved in folder
$count = rand(100,999); $count = rand(100,999);
$out_put_path = User::save_image(\request('value'),$extension,$count,$image_folder_type); $out_put_path = User::save_image(\request('value'),$extension,$count,$image_folder_type);
$image_path = $out_put_path[0]; is_array($out_put_path) ? $image_path = $out_put_path[0] : $image_path = $out_put_path;
$setting->value = $image_path; $setting->value = $image_path;
} }
} }

@ -42,12 +42,13 @@ class HomeController extends Controller
$partners = Partner::where('status',1)->get(); $partners = Partner::where('status',1)->get();
$phone = Setting::where(['key' => 'phone','status' => '1'])->first(); $phone = Setting::where(['key' => 'phone','status' => '1'])->first();
$video = Setting::where(['key' => 'video','status' => '1'])->first();
$email = Setting::where(['key' => 'email','status' => '1'])->first(); $email = Setting::where(['key' => 'email','status' => '1'])->first();
$address = Setting::where(['key' => 'address','status' => '1'])->first(); $address = Setting::where(['key' => 'address','status' => '1'])->first();
$visa_success = Setting::where(['slug' => 'visa-success','status' => '1'])->first(); $visa_success = Setting::where(['slug' => 'visa-success','status' => '1'])->first();
$visa_approved = Setting::where(['slug' => 'visa-approved','status' => '1'])->first(); $visa_approved = Setting::where(['slug' => 'visa-approved','status' => '1'])->first();
$partner_institution = Setting::where(['slug' => 'partner-institutions','status' => '1'])->first(); $partner_institution = Setting::where(['slug' => 'partner-institutions','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')); return view('welcome',compact('services','sliders','about_us','news_and_updates','testimonials','phone','email','address','partners','visa_success','visa_approved','partner_institution','video'));
} }
public function service(){ public function service(){

@ -233,6 +233,20 @@ class User extends Authenticatable
return($target_path.$target_file); 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);
}
}
} }

@ -122,7 +122,7 @@ h4{
font-size: 14px; font-size: 14px;
} }
.service-dropdown{ .service-dropdown{
width: 600px; width: 350px;
transform: translate(-30%, 0%); transform: translate(-30%, 0%);
} }
.service-drop-card{ .service-drop-card{
@ -272,8 +272,9 @@ Responsive Codes
left: 6%; left: 6%;
} }
.banner-description span::before{ .banner-description span::before{
content: "Study Programme"; content: attr(data-text);
animation: 12s animate infinite; animation: 12s animate infinite;
animation-delay: 500ms;
padding-left: 10px; padding-left: 10px;
color: #F54C5F; color: #F54C5F;
} }
@ -325,16 +326,17 @@ Responsive Codes
@keyframes animate { @keyframes animate {
0% { 0% {
content: "Study Programme"; content: attr(data-text);
} }
50% { 50% {
content: "Training Programme"; content: attr(data-text2);
} }
75% { 75% {
content: "Skill Assessment"; content: attr(data-text3);
} }
100%{ 100%{
content: "Skilled Recruitment"; content: attr(data-text4);
} }
} }
.banner-description h3, .banner-description-two h3, .banner-description-three h3{ .banner-description h3, .banner-description-two h3, .banner-description-three h3{
@ -366,6 +368,12 @@ Responsive Codes
align-items: center; align-items: center;
gap: 15px; gap: 15px;
} }
.achivement-sec span{
font-weight: 500;
font-size: 14px;
line-height: 2rem;
color: #202023;
}
/* about us section css */ /* about us section css */
.about-us-section{ .about-us-section{
padding: 3rem 6rem; padding: 3rem 6rem;

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

@ -17,7 +17,7 @@
</ol> </ol>
</nav> </nav>
<div class="chef-banner-content"> <div class="chef-banner-content">
<h2>I am Chef</h2> <h2>Work as a Chef</h2>
</div> </div>
</section> </section>
<section class="hiring-chef"> <section class="hiring-chef">

@ -9,7 +9,7 @@
<section class="labor-agreement-banner" style="background: url('frontend/images/labor-agreement.png')"> <section class="labor-agreement-banner" style="background: url('frontend/images/labor-agreement.png')">
<nav aria-label="breadcrumb"> <nav aria-label="breadcrumb">
<ol class="breadcrumb"> <ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/">Aplusagency</a></li> <li class="breadcrumb-item"><a href="/">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">Recruitment</li> <li class="breadcrumb-item active" aria-current="page">Recruitment</li>
</ol> </ol>
</nav> </nav>

@ -46,36 +46,16 @@
<a class="nav-link" href="{{url('/about')}}">About</a> <a class="nav-link" href="{{url('/about')}}">About</a>
</li> </li>
<li class="nav-item dropdown"> <li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="{{url('/services')}}" id="navbarDropdown" role="button" data-bs-hover="dropdown" aria-expanded="false"> <a class="nav-link dropdown-toggle" id="navbarDropdown" role="button" data-bs-hover="dropdown" aria-expanded="false">
Services Visas
</a> </a>
<ul class="dropdown-menu service-dropdown" aria-labelledby="navbarDropdown"> <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li class="service-drop-card">
<ul>
<h5>Regional Work Visas</h5>
<li> <li>
@foreach($visa_services as $visa_service) @foreach($visa_services as $visa_service)
<a href="{{url('/visa_service/'.$visa_service->slug)}}" class="dropdown-item">{{$visa_service->name}}</a> <a href="{{url('/visa_service/'.$visa_service->slug)}}" class="dropdown-item">{{$visa_service->name}}</a>
@endforeach @endforeach
</li> </li>
</ul>
<ul>
<h5>Assessments</h5>
@foreach($services as $service)
<li>
@if($service->name == "Recruitment")
<a class="dropdown-item" href="{{url('/recruitment')}}">
@elseif($service->name === "Insurance")
<a class="dropdown-item" href="{{url('/insurance')}}">
@else
<a class="dropdown-item" href="{{url('/service/'.$service->slug)}}">
@endif
{{$service->name}}</a>
</li>
@endforeach
</ul>
</li>
<!-- <li><a class="dropdown-item" href="/service_view">Skill Assessment</a></li> <!-- <li><a class="dropdown-item" href="/service_view">Skill Assessment</a></li>
<li><a class="dropdown-item" href="/service_detail">Permanent Work Visa</a></li> --> <li><a class="dropdown-item" href="/service_detail">Permanent Work Visa</a></li> -->
</ul> </ul>
@ -86,14 +66,14 @@
</a> </a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown"> <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li> <li>
<a class="dropdown-item" href="{{url('/need_chef')}}">I Need a Chef</a> <a class="dropdown-item" href="{{url('/need_chef')}}">Hire a Chef</a>
<a class="dropdown-item" href="{{url('/am_chef')}}">I am a Chef</a> <a class="dropdown-item" href="{{url('/am_chef')}}">Work as a Chef</a>
<a class="dropdown-item" href="{{url('/labor_agreement')}}">Labour Agreements</a> <a class="dropdown-item" href="{{url('/labor_agreement')}}">Labour Agreements</a>
</li> </li>
</ul> </ul>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="{{url('/pathway_programme')}}">Pathway</a> <a class="nav-link" href="{{url('/pathway_programme')}}">Education</a>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="{{url('/news')}}">News</a> <a class="nav-link" href="{{url('/news')}}">News</a>
@ -152,8 +132,8 @@
<div class="recruitment"> <div class="recruitment">
<h2>Recruitment</h2> <h2>Recruitment</h2>
<ul> <ul>
<li><a href="/need_chef">I Need a Chef</a></li> <li><a href="/need_chef">Hire a Chef</a></li>
<li><a href="/am_chef">I am a Chef</a></li> <li><a href="/am_chef">Work as a Chef</a></li>
<li><a href="/labor_agreement">Labour Agreements</a></li> <li><a href="/labor_agreement">Labour Agreements</a></li>
</ul> </ul>
</div> </div>
@ -163,7 +143,7 @@
<h2>Quick Links</h2> <h2>Quick Links</h2>
<ul> <ul>
<li><a href="{{url('/about')}}">About us</a></li> <li><a href="{{url('/about')}}">About us</a></li>
<li><a href="{{url('/pathway_programme')}}">Pathway</a></li> <li><a href="{{url('/pathway_programme')}}">Education</a></li>
<li><a href="{{url('/news')}}">News</a></li> <li><a href="{{url('/news')}}">News</a></li>
<li><a href="{{url('/contact')}}">Contact us</a></li> <li><a href="{{url('/contact')}}">Contact us</a></li>
</ul> </ul>

@ -12,19 +12,19 @@
<section class="need-chef-banner" style="background: url('frontend/images/need-chef.png')"> <section class="need-chef-banner" style="background: url('frontend/images/need-chef.png')">
<nav aria-label="breadcrumb"> <nav aria-label="breadcrumb">
<ol class="breadcrumb"> <ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/">Aplusagency</a></li> <li class="breadcrumb-item"><a href="/">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">Recruitment</li> <li class="breadcrumb-item active" aria-current="page">Recruitment</li>
</ol> </ol>
</nav> </nav>
<div class="chef-banner-content"> <div class="chef-banner-content">
<h2>I need a Chef</h2> <h2>Hire a Chef</h2>
</div> </div>
</section> </section>
<section class="hiring-chef"> <section class="hiring-chef">
<div class="row"> <div class="row">
<div class="col-md-6"> <div class="col-md-6">
<div class="hiring-content"> <div class="hiring-content">
<h5>Hiring <hr></h5> <h5>Recruitment<hr></h5>
<h3>Need a Chef or Cook?</h3> <h3>Need a Chef or Cook?</h3>
<p>Let us know via our enquiry form.</p> <p>Let us know via our enquiry form.</p>
<h6>What are the next steps?</h6> <h6>What are the next steps?</h6>

@ -10,11 +10,28 @@
<nav aria-label="breadcrumb"> <nav aria-label="breadcrumb">
<ol class="breadcrumb"> <ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/">Home</a></li> <li class="breadcrumb-item"><a href="/">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">Pathway Programme</li> <li class="breadcrumb-item active" aria-current="page">Education</li>
</ol> </ol>
</nav> </nav>
<div class="services-banner-content"> <div class="services-banner-content">
<h2>Pathway Programme</h2> <h2>Education</h2>
</div>
</section>
<section class="service-secondary">
<div class="row">
<div class="col-md-6">
<div class="service-secondary-img">
<img src="{{url('frontend/images/education-image.png')}}" class="w-100" alt="">
</div>
</div>
<div class="col-md-6">
<div class="service-secondary-desc">
<h5><hr>Education</h5>
<h3>Pathway from Education</h3>
<p>Some students come to Australia and like living here so much that they decide to live and apply for Permanent Residence Visa after completing their studies. Several pathways to a better future in Australia for international students are available, which will be determined by factors such as qualification, English language ability, employment history and other requirements.</p>
<a href="/contact">Book An Appointment</a>
</div>
</div>
</div> </div>
</section> </section>
<section class="pathway-steps-section"> <section class="pathway-steps-section">

@ -12,11 +12,16 @@
<!-- Slider section --> <!-- Slider section -->
<section class="banner-section" > <section class="banner-section" >
<video id="vid" autoplay playsinline loop muted> <video id="vid" autoplay playsinline loop muted>
<source src="{{url('frontend/video/aplus-video.mp4')}}" type="video/mp4"> <source src="{{url($video->value)}}" type="video/mp4">
</video> </video>
<span class="banner-shadow"></span> <span class="banner-shadow"></span>
<div class="banner-description"> <div class="banner-description">
<h2>4 Easy Steps To <br> Secure a Better Future <br> In Australia <span></span></h2> <h2>4 Easy Steps To <br> Secure a Better Future <br> In Australia
<span data-text="Study Programme"></span>
<span data-text2="Training Programme"></span>
<span data-text3="Skill Assessment"></span>
<span data-text4="Skilled Recruitment"></span>
</h2>
{{-- <h3>{{$slider->title2}}</h3> --}} {{-- <h3>{{$slider->title2}}</h3> --}}
{{-- <p>{{$slider->description}}</p> --}} {{-- <p>{{$slider->description}}</p> --}}
@ -42,12 +47,16 @@
</div> </div>
<div class="achivement-sec"> <div class="achivement-sec">
<img src="{{url('frontend/icons/visa-approved.svg')}}" alt=""> <img src="{{url('frontend/icons/visa-approved.svg')}}" alt="">
<h5>{{$visa_approved->value ?? ''}}</h5> <h5>{{$visa_approved->value ?? ''}}</h5><span>(This year)</span>
</div> </div>
<div class="achivement-sec"> <div class="achivement-sec">
<img src="{{url('frontend/icons/institution.svg')}}" alt=""> <img src="{{url('frontend/icons/institution.svg')}}" alt="">
<h5>{{$partner_institution->value ?? ''}}</h5> <h5>{{$partner_institution->value ?? ''}}</h5>
</div> </div>
<div class="achivement-sec">
<img src="{{url('frontend/icons/institution.svg')}}" alt="">
<h5>50+ Employers</h5>
</div>
</div> </div>
</section> </section>
<!-- Achievement section --> <!-- Achievement section -->

Loading…
Cancel
Save