<?php

use MintyPHP\Buffer;
use MintyPHP\Http\SessionStoreInterface;
use MintyPHP\Support\Guard;

$session = app(SessionStoreInterface::class)->all();
Guard::requireLogin();

$user = $session['user'] ?? null;
$first_name = $user['first_name'] ?? '';

Buffer::set('title', t('Admin'));

$breadcrumbs = [
    ['label' => t('Login'), 'path' => 'login'],
    ['label' => t('Home')],
];
