about, home changes

This commit is contained in:
2026-11-16 07:42:08 +05:45
parent eb419b2696
commit d5bae0055b
10 changed files with 390 additions and 92 deletions
+7 -3
View File
@@ -18,7 +18,7 @@ $activePage = $activePage ?? 'home';
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="assets/css/style.css?v=<?= filemtime(dirname(__DIR__) . '/assets/css/style.css') ?>">
<?php foreach (($extraCss ?? []) as $css): ?><link rel="stylesheet" href="<?= e($css) ?>"><?php endforeach; ?>
<noscript>
@@ -56,11 +56,15 @@ $activePage = $activePage ?? 'home';
<li class="nav__item">
<a class="nav__link<?= $activePage === 'about' ? ' is-active' : '' ?>" href="about.php"<?= $activePage === 'about' ? ' aria-current="page"' : '' ?>>About</a>
</li>
<a class="nav__link<?= $activePage === 'bootcamps' ? ' is-active' : '' ?>" href="bootcamps.php"<?= $activePage === 'bootcamps' ? ' aria-current="page"' : '' ?>>Bootcamps</a>
<li class="nav__item">
<a class="nav__link<?= $activePage === 'bootcamps' ? ' is-active' : '' ?>" href="bootcamps.php"<?= $activePage === 'bootcamps' ? ' aria-current="page"' : '' ?>>Bootcamps</a>
</li>
<li class="nav__item">
<a class="nav__link<?= $activePage === 'internship' ? ' is-active' : '' ?>" href="internship.php"<?= $activePage === 'internship' ? ' aria-current="page"' : '' ?>>Internship</a>
</li>
<li class="nav__item">
<a class="nav__link<?= $activePage === 'certification' ? ' is-active' : '' ?>" href="certificate.php"<?= $activePage === 'certification' ? ' aria-current="page"' : '' ?>>Certification</a>
<a class="nav__link<?= $activePage === 'certification' ? ' is-active' : '' ?>" href="certificate.php"<?= $activePage === 'certification' ? ' aria-current="page"' : '' ?>>Certification</a>
</li>
</ul>
</nav>