anchor
This commit is contained in:
@@ -27,14 +27,15 @@ if (!isset($navAnchors) || !is_array($navAnchors)) {
|
|||||||
<!-- Navigation -->
|
<!-- Navigation -->
|
||||||
<div class="flex items-center gap-6">
|
<div class="flex items-center gap-6">
|
||||||
|
|
||||||
<?php foreach ($navAnchors as $item): ?>
|
|
||||||
<nav class="md:flex items-center gap-6 text-xs font-medium text-brand-muted uppercase tracking-[0.18em]">
|
<nav class="md:flex items-center gap-6 text-xs font-medium text-brand-muted uppercase tracking-[0.18em]">
|
||||||
|
<?php foreach ($navAnchors as $item): ?>
|
||||||
<a href="<?= htmlspecialchars($item['href']) ?>"
|
<a href="<?= htmlspecialchars($item['href']) ?>"
|
||||||
class="hover:text-brand-primary transition-colors"
|
class="hover:text-brand-primary transition-colors"
|
||||||
data-i18n="<?= htmlspecialchars($item['key']) ?>">
|
data-i18n="<?= htmlspecialchars($item['key']) ?>">
|
||||||
</a>
|
</a>
|
||||||
</nav>
|
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
</nav>
|
||||||
|
|
||||||
<div class="relative">
|
<div class="relative">
|
||||||
<button id="langCurrent"
|
<button id="langCurrent"
|
||||||
type="button"
|
type="button"
|
||||||
|
|||||||
Reference in New Issue
Block a user