Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 2 gadiem
pirms 2 gadiem
12345678910111213141516171819202122232425
  1. <nav class="navbar navbar-expand-lg navbar-dark bg-dark px-5">
  2. <div class="container-fluid">
  3. <a class="navbar-brand" href="<?= route_to('home') ?>">COPARMEX</a>
  4. <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
  5. <span class="navbar-toggler-icon"></span>
  6. </button>
  7. <div class="collapse navbar-collapse" id="navbarSupportedContent">
  8. <ul class="navbar-nav ms-auto mb-2 mb-lg-0">
  9. <?php helper('auth');
  10. if (logged_in()) : ?>
  11. <li class="nav-item">
  12. <a class="nav-link" href="<?= route_to('logout') ?>"><i class="fa-solid fa-arrow-right-from-bracket"></i> Cerrar Sesión</a>
  13. </li>
  14. <?php else : ?>
  15. <li class="nav-item me-3">
  16. <a class="nav-link" href="<?= route_to('register') ?>"><i class="fa-solid fa-user"></i> Crear Cuenta</a>
  17. </li>
  18. <li class="nav-item">
  19. <a class="nav-link" href="<?= route_to('login') ?>"><i class="fa-solid fa-arrow-right-to-bracket"></i> Iniciar Sesión</a>
  20. </li>
  21. <?php endif; ?>
  22. </ul>
  23. </div>
  24. </div>
  25. </nav>