This commit is contained in:
2025-11-29 00:36:33 +01:00
parent 3a1b34c0df
commit 72bc2ae355
2 changed files with 8 additions and 4 deletions

View File

@@ -121,6 +121,13 @@ function build_lang_url(string $code, string $path, array $query): string
<!-- Hauptnavigation -->
<!-- Hauptnavigation -->
<?php if (!empty($navAnchors)): ?>
<!--
<?php
echo "<pre>";
print_r($navAnchors);
echo "</pre>";
?>
-->
<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
@@ -133,9 +140,7 @@ function build_lang_url(string $code, string $path, array $query): string
<?php if ($i18nKey !== ''): ?>
data-i18n="<?= htmlspecialchars($i18nKey) ?>"
<?php endif; ?>
>
<?= htmlspecialchars($label) ?>
</a>
><?= htmlspecialchars($label) ?></a>
<?php endforeach; ?>
</nav>
<?php endif; ?>

View File

@@ -3,7 +3,6 @@ $pageKey = 'landing';
$GLOBALS['pageKey'] = $pageKey;
require_once dirname(__DIR__) . '/config/fileload.php';
// User-Dummy (später über Login ersetzen)
$userInitials = null;