<?php use function App\Core\{e, t, url}; ?>
<div class="user-menu guest-menu" data-user-menu>
    <button class="icon-btn more-btn" data-dropdown type="button" aria-haspopup="true" aria-expanded="false" aria-label="Hesap menusu">
        <span class="more-dots" aria-hidden="true"><span></span><span></span><span></span></span>
    </button>
    <div class="dropdown account-dropdown" role="menu">
        <div class="dropdown-head">
            <strong>Zalorox</strong>
            <span>Hesap ve tercihlerin</span>
        </div>
        <?php require BASE_PATH . '/app/Views/partials/account-preferences.php'; ?>
        <div class="dropdown-section account-links">
            <a class="dropdown-link" role="menuitem" href="<?= url('/giris-yap') ?>"><?= e(t('login')) ?></a>
            <a class="dropdown-link is-primary" role="menuitem" href="<?= url('/kayit') ?>"><?= e(t('register')) ?></a>
        </div>
    </div>
</div>
