Mobiel menu als donker overlay zonder de pagina te verschuiven, sticky balk onder sm, skiplink, focusring en h1 met screenreader-tekst
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -24,6 +24,8 @@ export function AboutSection() {
|
||||
alt="Bryan Slop, oprichter van SLP Software"
|
||||
width={480}
|
||||
height={640}
|
||||
loading="lazy"
|
||||
decoding="async"
|
||||
className="relative block aspect-[3/4] w-full object-cover object-[50%_30%]"
|
||||
/>
|
||||
</picture>
|
||||
|
||||
@@ -12,8 +12,8 @@ export function ContactSection() {
|
||||
<h2
|
||||
id="contact-heading"
|
||||
className="text-[clamp(56px,10.5vw,168px)] font-extrabold leading-[0.88] tracking-[-0.03em] [font-stretch:125%]"
|
||||
aria-label={contactInfo.heading}
|
||||
>
|
||||
<span className="sr-only">{contactInfo.heading}</span>
|
||||
{contactInfo.displayHeading.map((line) => (
|
||||
<span key={line} className="block" aria-hidden="true">
|
||||
{line}
|
||||
|
||||
@@ -12,8 +12,8 @@ export function Hero() {
|
||||
<h1
|
||||
id="hero-heading"
|
||||
className="text-[clamp(56px,10.5vw,168px)] font-extrabold leading-[0.88] tracking-[-0.03em] [font-stretch:125%]"
|
||||
aria-label={heroContent.heading}
|
||||
>
|
||||
<span className="sr-only">{heroContent.heading}</span>
|
||||
{heroContent.displayHeading.map((line, index) => (
|
||||
<span
|
||||
key={line}
|
||||
|
||||
Reference in New Issue
Block a user