33 lines
710 B
PHP
33 lines
710 B
PHP
<?php
|
|
|
|
namespace App\Controllers;
|
|
|
|
use App\Core\Controller;
|
|
|
|
class PageController extends Controller
|
|
{
|
|
public function services(): void
|
|
{
|
|
$this->view('pages/services', [
|
|
'user' => $this->getCurrentUser(),
|
|
'isLoggedIn' => $this->isAuthenticated()
|
|
]);
|
|
}
|
|
|
|
public function delivery(): void
|
|
{
|
|
$this->view('pages/delivery', [
|
|
'user' => $this->getCurrentUser(),
|
|
'isLoggedIn' => $this->isAuthenticated()
|
|
]);
|
|
}
|
|
|
|
public function warranty(): void
|
|
{
|
|
$this->view('pages/warranty', [
|
|
'user' => $this->getCurrentUser(),
|
|
'isLoggedIn' => $this->isAuthenticated()
|
|
]);
|
|
}
|
|
}
|