<?php
require_once __DIR__ . '/../../config/helpers.php';
$cfg = require __DIR__ . '/../../config/config.php';
?>
<!doctype html>
<html lang="id">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title><?php echo e($cfg['APP_NAME']) ?></title>
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
  <link href="<?php echo e(base_url('assets/css/custom.css')) ?>" rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark sticky-top">
  <div class="container">
    <a class="navbar-brand fw-bold" href="<?php echo e(base_url('index.php')) ?>"><?php echo e($cfg['APP_NAME']) ?></a>
    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsExample">
      <span class="navbar-toggler-icon"></span>
    </button>
    <div class="collapse navbar-collapse" id="navbarsExample">
      <ul class="navbar-nav ms-auto mb-2 mb-lg-0">
        <li class="nav-item"><a class="nav-link" href="<?php echo e(base_url('index.php?page=profile')) ?>">Profile</a></li>
        <li class="nav-item"><a class="nav-link" href="<?php echo e(base_url('index.php?page=projects')) ?>">Project</a></li>
        <li class="nav-item"><a class="nav-link" href="<?php echo e(base_url('index.php?page=about')) ?>">Tentang Saya</a></li>
        <li class="nav-item"><a class="nav-link" href="<?php echo e(base_url('index.php?page=contact')) ?>">Contact</a></li>
      </ul>
    </div>
  </div>
</nav>
