60 lines
1.4 KiB
PHP
60 lines
1.4 KiB
PHP
<?php
|
|
|
|
namespace App\Controllers;
|
|
|
|
class Home extends BaseController
|
|
{
|
|
public function index(): string
|
|
{
|
|
$fleet = [
|
|
[
|
|
"image" => "/assets/images/car-1.jpg",
|
|
"title" => "Ford Transit 250 High roof",
|
|
] ,
|
|
[
|
|
"image" => "/assets/images/car-2.jpg",
|
|
"title" => "Ford Transit 250 Mid roof",
|
|
] ,
|
|
[
|
|
"image" => "/assets/images/car-3.jpg",
|
|
"title" => "Ford Transit 250 Mid roof",
|
|
] ,
|
|
[
|
|
"image" => "/assets/images/car-1.jpg",
|
|
"title" => "Ford Transit 250 Low roof",
|
|
] ,
|
|
[
|
|
"image" => "/assets/images/car-2.jpg",
|
|
"title" => "Ford Transit 250 Mid roof",
|
|
] ,
|
|
[
|
|
"image" => "/assets/images/car-3.jpg",
|
|
"title" => "Ford Transit 250 Low roof",
|
|
] ,
|
|
|
|
];
|
|
$in["fleet"] = $fleet;
|
|
|
|
return view('home', $in);
|
|
}
|
|
public function about(): string
|
|
{
|
|
return view('about-us');
|
|
}
|
|
public function contact(): string
|
|
{
|
|
return view('contact');
|
|
}
|
|
public function book(): string
|
|
{
|
|
return view('book');
|
|
}
|
|
public function ourService(): string
|
|
{
|
|
return view('our-services');
|
|
}
|
|
|
|
|
|
|
|
}
|