asd
This commit is contained in:
@@ -119,16 +119,27 @@ function build_lang_url(string $code, string $path, array $query): string
|
||||
<div class="flex items-center gap-6">
|
||||
|
||||
<!-- Hauptnavigation -->
|
||||
<?php if (!empty($navAnchors)): ?>
|
||||
<nav class="flex flex-wrap items-center gap-4 sm:gap-6 text-xs font-medium text-brand-muted uppercase tracking-[0.18em]">
|
||||
<?php foreach ($navAnchors as $item): ?>
|
||||
<a href="<?= htmlspecialchars($item['href'] ?? '#') ?>"
|
||||
class="hover:text-brand-primary transition-colors">
|
||||
<?= htmlspecialchars($item['label'] ?? '') ?>
|
||||
</a>
|
||||
<?php endforeach; ?>
|
||||
</nav>
|
||||
<?php endif; ?>
|
||||
<!-- Hauptnavigation -->
|
||||
<?php if (!empty($navAnchors)): ?>
|
||||
<nav class="flex flex-wrap items-center gap-4 sm:gap-6 text-xs font-medium text-brand-muted uppercase tracking-[0.18em]">
|
||||
<?php foreach ($navAnchors as $item): ?>
|
||||
<?php
|
||||
$href = $item['href'] ?? '#';
|
||||
$label = $item['label'] ?? '';
|
||||
$i18nKey = $item['i18n'] ?? '';
|
||||
?>
|
||||
<a href="<?= htmlspecialchars($href) ?>"
|
||||
class="hover:text-brand-primary transition-colors"
|
||||
<?php if ($i18nKey !== ''): ?>
|
||||
data-i18n="<?= htmlspecialchars($i18nKey) ?>"
|
||||
<?php endif; ?>
|
||||
>
|
||||
<?= htmlspecialchars($label) ?>
|
||||
</a>
|
||||
<?php endforeach; ?>
|
||||
</nav>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<!-- Language Switcher -->
|
||||
<div class="relative">
|
||||
|
||||
Reference in New Issue
Block a user