Scroll naar de eyebrow-label i.p.v. sectietop, met ruimte voor de nav
Continuous Integration / config (pull_request) Successful in 9s
Continuous Integration / prepare (pull_request) Successful in 1m14s
Continuous Integration / build-production (pull_request) Skipped
Continuous Integration / build (pull_request) Successful in 1m56s
Continuous Integration / test (pull_request) Successful in 1m50s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / deploy-production (pull_request) Skipped
Continuous Integration / config (pull_request) Successful in 9s
Continuous Integration / prepare (pull_request) Successful in 1m14s
Continuous Integration / build-production (pull_request) Skipped
Continuous Integration / build (pull_request) Successful in 1m56s
Continuous Integration / test (pull_request) Successful in 1m50s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / deploy-production (pull_request) Skipped
id + scroll-mt-16 stonden op de <section>, die zelf al py-[88px]
padding heeft - scrollIntoView lijnde dus de sectierand (inclusief
die padding) uit met de viewport-top, waardoor het te ver leek door
te scrollen en de content alsnog achter de sticky nav kon vallen.
id + scroll-mt-16 staan nu direct op de eyebrow-span ("// over",
"// werkwijze", "// pakketten", "// contact"), zodat er precies
daarheen én met 64px ruimte voor de nav wordt gescrold.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -10,13 +10,13 @@ export function PackagesSection() {
|
||||
const { data: packages, isLoading, isError } = usePackagesQuery();
|
||||
|
||||
return (
|
||||
<section
|
||||
id="pakketten"
|
||||
className="scroll-mt-16 bg-gradient-to-b from-transparent via-surface/50 to-transparent py-[88px]"
|
||||
>
|
||||
<section className="bg-gradient-to-b from-transparent via-surface/50 to-transparent py-[88px]">
|
||||
<div className="mx-auto max-w-[1080px] px-6">
|
||||
<div className="mb-[52px]">
|
||||
<span className="font-mono block text-sm uppercase tracking-wider text-accent">
|
||||
<span
|
||||
id="pakketten"
|
||||
className="font-mono block scroll-mt-16 text-sm uppercase tracking-wider text-accent"
|
||||
>
|
||||
// pakketten
|
||||
</span>
|
||||
<h2 className="font-display mt-3.5 text-3xl font-bold sm:text-4xl">
|
||||
|
||||
Reference in New Issue
Block a user