Compare commits

...

6 Commits

  1. 24
      public/frontend/css/style.css
  2. 41
      resources/views/appointment.blade.php
  3. 5
      resources/views/layout/app.blade.php
  4. 6
      resources/views/services.blade.php
  5. 8
      resources/views/welcome.blade.php

@ -1649,6 +1649,30 @@ table.lightgrey-weekends tbody td:nth-child(n+6) {
.available-dates h5{ .available-dates h5{
margin-bottom: 0; margin-bottom: 0;
} }
.zabuto-calendar.table>thead>tr>th,
.zabuto-calendar.table>thead:first-child>tr:first-child>td {
color: #000000;
}
.zabuto-calendar.table>thead:first-child>tr:first-child>td{
pointer-events: all;
}
table.lightgrey-weekends tbody td:nth-child(n+6) {
background-color: #f3f3f3;
color: #d30000;
}
.event-colourful {
color: #bdbdbd;
cursor: not-allowed;
}
.event-colourful .zabuto-calendar__day{
pointer-events: none;
}
.event-clickable{
pointer-events: all !important;
color: #000000;
cursor: pointer;
box-shadow: 0 1px 5px rgb(0 0 0 / 20%), 0 2px 2px rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 12%) !important;
}
/* appointment page css ends */ /* appointment page css ends */
/* Footer Css */ /* Footer Css */

@ -22,7 +22,7 @@
<button class="btn-appointment nav-link active" id="v-pills-education-tab" data-type = "1" data-bs-toggle="pill" data-bs-target="#v-pills-education" type="button" role="tab" aria-controls="v-pills-home" aria-selected="true"> <button class="btn-appointment nav-link active" id="v-pills-education-tab" data-type = "1" data-bs-toggle="pill" data-bs-target="#v-pills-education" type="button" role="tab" aria-controls="v-pills-home" aria-selected="true">
<i class="appointment-card-img"><img src="{{url('frontend/icons/visa-approved.svg')}}" class="img-fluid" alt=""></i>Education Services</button> <i class="appointment-card-img"><img src="{{url('frontend/icons/visa-approved.svg')}}" class="img-fluid" alt=""></i>Education Services</button>
<button class="btn-appointment nav-link" id="v-pills-visa-tab" data-type = "2" data-bs-toggle="pill" data-bs-target="#v-pills-visa" type="button" role="tab" aria-controls="v-pills-visa" aria-selected="false"> <button class="btn-appointment nav-link" id="v-pills-visa-tab" data-type = "2" data-bs-toggle="pill" data-bs-target="#v-pills-visa" type="button" role="tab" aria-controls="v-pills-visa" aria-selected="false">
<i class="appointment-card-img"><img src="{{url('frontend/icons/visa-approved.svg')}}" class="img-fluid" alt=""></i>Visa Services</button> <i class="appointment-card-img"><img src="{{url('frontend/icons/visa-approved.svg')}}" class="img-fluid" alt=""></i>Migration | Visa Services</button>
</div> </div>
</div> </div>
@ -134,25 +134,44 @@
}); });
function displayCalendar($calender,id){ function displayCalendar($calender,id){
var id = id; var id = id;
var now = new Date();
$calender.zabuto_calendar({ $calender.zabuto_calendar({
data: [
classname: 'table clickable table-bordered lightgrey-weekends', @foreach($educationAppointments as $appointment)
@php
$date = Carbon\Carbon::createFromFormat('Y-m-d', $appointment->date);
$start_time = Carbon\Carbon::createFromFormat('H:i A', $appointment->start_time);
$end_time = Carbon\Carbon::createFromFormat('H:i A', $appointment->end_time);
@endphp
{
date: "{{ $date->format('Y-m-d') }}",
content: "{{ $start_time->format('H:i') }} - {{ $end_time->format('H:i') }}"
},
@endforeach
],
classname: 'table event-colourful table-bordered lightgrey-weekends',
week_starts: 'monday', week_starts: 'monday',
show_days: true, show_days: true,
cell_border: true, cell_border: true,
today: true,
show_days: true, show_days: true,
weekstartson: 0, weekstartson: 0,
today_markup: '<span class="badge bg-primary">[day]</span>',
navigation_markup: { navigation_markup: {
prev: '<i class="fas fa-chevron-circle-left"></i>', prev: '<i class="fas fa-chevron-circle-left"></i>',
next: '<i class="fas fa-chevron-circle-right"></i>' next: '<i class="fas fa-chevron-circle-right"></i>'
} },
events:[
@foreach($educationAppointments as $appointment)
{
date: "{{ $appointment->date }}",
"classname": "clickable event-clickable"
},
@endforeach
]
}); });
$calender.on('zabuto:calendar:day', function (e) { $calender.on('zabuto:calendar:day', function (e) {
var now = new Date();
var date = e.date; var date = e.date;
//get available time for selected date //get available time for selected date
@ -173,6 +192,14 @@
} }
}); });
if (e.today) {
$(e.element).html('<span class="badge bg-success">'+ e.date.getDate() +'</span>');
} else if (e.date.getTime() < now.getTime()) {
$(e.element).html('<span class="badge bg-danger">'+ e.date.getDate() +'</span>');
} else {
$(e.element).html('<span class="badge bg-success">'+ e.date.getDate() +'</span>');
}
}) })
} }
function dispalyAppointments(appointments,formated_date,id) { function dispalyAppointments(appointments,formated_date,id) {

@ -4,6 +4,7 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="csrf-token" content="{{ csrf_token() }}" /> <meta name="csrf-token" content="{{ csrf_token() }}" />
<meta name="theme-color" content="#296AC7" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
@yield('title') @yield('title')
<link rel="icon" href="{{url('frontend/icons/favicon.ico')}}"> <link rel="icon" href="{{url('frontend/icons/favicon.ico')}}">
@ -186,7 +187,7 @@
<ul class="list-unstyled"> <ul class="list-unstyled">
<li> <li>
@foreach($services as $service) @foreach($services as $service)
<a href="{{url('education/'.$service->slug)}}" target="_blank" rel='noreferrer' class=' footer-link'> <a href="{{url('education/'.$service->slug)}}" class=' footer-link'>
{{$service->name}} {{$service->name}}
</a> </a>
@endforeach @endforeach
@ -201,7 +202,7 @@
<ul class="list-unstyled"> <ul class="list-unstyled">
<li> <li>
@foreach(App\Models\VisaService::where('status',1)->get() as $visa_service) @foreach(App\Models\VisaService::where('status',1)->get() as $visa_service)
<a href="{{url('/visa/'.$visa_service->slug)}}" target="_blank" rel='noreferrer' class=' footer-link'> <a href="{{url('/visa/'.$visa_service->slug)}}" class=' footer-link'>
{{$visa_service->name}} {{$visa_service->name}}
</a> </a>
@endforeach @endforeach

@ -83,14 +83,14 @@
</a> </a>
</div> </div>
<div class="col-lg-4 col-md-6"> <div class="col-lg-4 col-md-6">
<a href="{{url('visa/business-visa')}}" class="text-decoration-none"> <a href="https://extratechs.com.au/academy" target="_blank" class="text-decoration-none">
<div class="service-page-card"> <div class="service-page-card">
<div class="blog-img"> <div class="blog-img">
<img src="{{url('frontend/images/services/Business-visa.jpg')}}" class="w-100" alt=""> <img src="{{url('frontend/images/services/Business-visa.jpg')}}" class="w-100" alt="">
</div> </div>
<div class="service-page-content"> <div class="service-page-content">
<h2>Business Visa</h2> <h2>Job Ready Program</h2>
<p>Acquire a Business Visa and take advantage of Australia's thriving market to expand and succeed with your business.</p> <p>Launch your career with job-ready programs - targeted training, industry connections, and job placement opportunities for success.</p>
</div> </div>
</div> </div>
</a> </a>

@ -96,11 +96,11 @@
</div> </div>
<div class="service-card"> <div class="service-card">
<div class="service-icon"> <div class="service-icon">
<img src="{{url('frontend/icons/migration-visa.png')}}" alt=""> <img src="{{url('frontend/icons/ribbon.png')}}" alt="">
</div> </div>
<h2>Business Visa</h2> <h2>Job Ready Program</h2>
<p>Unleash your entrepreneurial spirit in Australia.</p> <p>Get into the job market with a correct set of skills.</p>
<a href="visa/business-visa">Learn More</a> <a href="https://extratechs.com.au/academy" target="_blank">Learn More</a>
</div> </div>
</div> </div>
<div class="services-slider"> <div class="services-slider">

Loading…
Cancel
Save