book now
This commit is contained in:
@@ -6,7 +6,36 @@ class Home extends BaseController
|
||||
{
|
||||
public function index(): string
|
||||
{
|
||||
return view('home');
|
||||
$fleet = [
|
||||
[
|
||||
"image" => "/assets/images/car-1.jpg",
|
||||
"title" => "Car 1 name",
|
||||
] ,
|
||||
[
|
||||
"image" => "/assets/images/car-2.jpg",
|
||||
"title" => "Car 2 name",
|
||||
] ,
|
||||
[
|
||||
"image" => "/assets/images/car-3.jpg",
|
||||
"title" => "Car 3 name",
|
||||
] ,
|
||||
[
|
||||
"image" => "/assets/images/car-1.jpg",
|
||||
"title" => "Car 4 name",
|
||||
] ,
|
||||
[
|
||||
"image" => "/assets/images/car-2.jpg",
|
||||
"title" => "Car 5 name",
|
||||
] ,
|
||||
[
|
||||
"image" => "/assets/images/car-3.jpg",
|
||||
"title" => "Car 6 name",
|
||||
] ,
|
||||
|
||||
];
|
||||
$in["fleet"] = $fleet;
|
||||
|
||||
return view('home', $in);
|
||||
}
|
||||
public function about(): string
|
||||
{
|
||||
@@ -25,4 +54,6 @@ class Home extends BaseController
|
||||
return view('our-services');
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user