<?php
/// file: app/Controllers/HomeController.php

declare(strict_types=1);

namespace App\Controllers;

use App\Core\Request;
use App\Core\Response;
use App\Helpers\Seo;

final class HomeController extends \App\Core\Controller
{
    public function index(Request $request): Response
    {
        $html = $this->view('home/index', [
            'meta' => Seo::page('home'),
            'page' => 'home',
        ], 'layouts/base');
        return Response::html($html);
    }
}
