<?php
session_start();

require_once __DIR__ . '/../../../includes/helpers.php';
require_once __DIR__ . '/../../../includes/layout.php';
require_once __DIR__ . '/../../../includes/expense_shell.php';

if (!isset($_SESSION['authenticated'])) {
    redirect(page_url('signin'));
}

render_expense_shell_start('Help Documentation | Expense', 'dashboard-page getting-started-page', 'home');
?>
<div class="page-surface getting-started-surface">
    <section class="getting-started-shell">
        <header class="getting-started-hero panel">
            <div class="getting-started-hero-mark">
                <i class="fa-regular fa-bookmark" aria-hidden="true"></i>
            </div>
            <div class="getting-started-hero-copy">
                <h1>Help Documentation</h1>
                <p>Find guides for trips, expenses, reports, and settings.</p>
            </div>
            <a class="page-close-button getting-started-close" href="<?= e(route_url('home/gettingstarted/')) ?>" aria-label="Close">
                <i class="fa-solid fa-xmark" aria-hidden="true"></i>
            </a>
        </header>

        <section class="getting-started-panel panel getting-started-more">
            <h2>Popular guides</h2>
            <div class="getting-started-more-grid">
                <article class="getting-started-more-card">
                    <div class="getting-started-more-icon"><i class="fa-solid fa-receipt" aria-hidden="true"></i></div>
                    <div>
                        <h3>Creating expenses</h3>
                        <p>Use the expense flow to add receipts, merchant details, and categories.</p>
                    </div>
                    <a href="<?= e(route_url('expenses/new/')) ?>">Open Expenses</a>
                </article>

                <article class="getting-started-more-card">
                    <div class="getting-started-more-icon"><i class="fa-solid fa-suitcase" aria-hidden="true"></i></div>
                    <div>
                        <h3>Creating trips</h3>
                        <p>Start a trip request and attach your business travel information.</p>
                    </div>
                    <a href="<?= e(route_url('trips/new/')) ?>">Open Trips</a>
                </article>
            </div>
        </section>
    </section>
</div>
<?php render_expense_shell_end(); ?>
