diff --git a/app/Http/Controllers/ServiceController.php b/app/Http/Controllers/ServiceController.php new file mode 100644 index 0000000..1b5c1f3 --- /dev/null +++ b/app/Http/Controllers/ServiceController.php @@ -0,0 +1,18 @@ + $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')); + } +} diff --git a/database/migrations/2022_07_29_073833_add_des_icon_to_service_section_points_table.php b/database/migrations/2022_07_29_073833_add_des_icon_to_service_section_points_table.php new file mode 100644 index 0000000..afc0cbd --- /dev/null +++ b/database/migrations/2022_07_29_073833_add_des_icon_to_service_section_points_table.php @@ -0,0 +1,33 @@ +string('point_description')->nullable(); + $table->string('icon')->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('service_section_points', function (Blueprint $table) { + // + }); + } +} diff --git a/public/images/service/2022/12/12/2e7cf0a19e110c225e5e59036bfda111.png b/public/images/service/2022/12/12/2e7cf0a19e110c225e5e59036bfda111.png new file mode 100644 index 0000000..bf315dd Binary files /dev/null and b/public/images/service/2022/12/12/2e7cf0a19e110c225e5e59036bfda111.png differ diff --git a/public/images/service/2022/12/12/74bac73aa8868da051c9b1b09825d276.svg b/public/images/service/2022/12/12/74bac73aa8868da051c9b1b09825d276.svg new file mode 100644 index 0000000..0b4892a --- /dev/null +++ b/public/images/service/2022/12/12/74bac73aa8868da051c9b1b09825d276.svg @@ -0,0 +1,10 @@ + diff --git a/public/images/service/2022/12/12/988fd7d130966b1682f7a08e478aec74.jpeg b/public/images/service/2022/12/12/988fd7d130966b1682f7a08e478aec74.jpeg new file mode 100644 index 0000000..7263a3a Binary files /dev/null and b/public/images/service/2022/12/12/988fd7d130966b1682f7a08e478aec74.jpeg differ diff --git a/resources/views/layout/app.blade.php b/resources/views/layout/app.blade.php index 3b014f5..a0970b3 100644 --- a/resources/views/layout/app.blade.php +++ b/resources/views/layout/app.blade.php @@ -30,6 +30,12 @@ @yield('title')
+@php + $services = \App\Models\Service::where('status','1')->orderByRaw('CONVERT(order_by, SIGNED) asc')->get(); + $facebook = App\Models\Setting::where(['slug' => 'facebook-link','status' => true])->first(); + $instagram = App\Models\Setting::where(['slug' => 'instagram-link','status' => true])->first(); + $linkedIn = App\Models\Setting::where(['slug' => 'linkedin-link','status' => true])->first(); + @endphpOur training programme based on occupational training allows students to improve their skills for the right job.
+{{$service_sections->first()->description}}
Our training programme based on occupational training allows students to improve their skills for the right job.
+{{$second_service->description}}
Book An AppointmentOur training programme based on occupational training allows students to improve their skills for the right job.
+{{$third_service->description}}