Nav: Software onder het SLP-logo (gestapeld) #20

Merged
Sluijsens merged 3 commits from feature/nav-logo-stacked into master 2026-11-18 08:10:59 +01:00
Showing only changes of commit b1a06fb59e - Show all commits
+10 -2
View File
@@ -39,7 +39,7 @@ export function Nav() {
<a
href="#top"
onClick={(event) => handleAnchorClick(event, '#top')}
className="flex shrink-0 flex-col items-center py-2.5 leading-none no-underline"
className="flex shrink-0 flex-col items-stretch py-2.5 leading-none no-underline"
>
<span
className="text-2xl font-black tracking-tight [font-stretch:125%]"
@@ -53,7 +53,15 @@ export function Nav() {
{'/>'}
</span>
</span>
<span className="mt-1 text-lg font-normal">Software</span>
{/* Letters spread so the word is exactly as wide as the logo above it. */}
<span className="mt-1.5 flex justify-between text-xl font-normal">
<span className="sr-only">Software</span>
{[...'Software'].map((letter, index) => (
<span key={index} aria-hidden="true">
{letter}
</span>
))}
</span>
</a>
<ul className="flex items-center gap-3 md:gap-5 lg:gap-8">
{navLinks.map((link) =>