This commit is contained in:
CHIEFSOFT\ameye
2024-09-22 15:37:18 -04:00
parent 12b4721ecd
commit 889263977f
2 changed files with 66 additions and 359 deletions
+32 -1
View File
@@ -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');
}
}