<?php

namespace Signteer\Web\Admin\Page;

use Plainwork\Http\Request;
use Plainwork\Ui\Html;

final class SettingIndexPage
{
    public function __invoke(Request $request)
    {
        $html = new Html();

        $ret = $html->main();
        $ret->title = $html->el('h1', '__Settings__');
        $ret->menu->add($html->link('./general', [], '__General settings__'));
        $ret->menu->add($html->link('./emailnotification', [], '__Email notifications__'));

        return $ret;
    }
}
