fix: move spinning circle background inside container for proper z-index layering

This commit is contained in:
2025-10-22 14:28:32 +02:00
parent e7b053bd76
commit 471f53162f

View File

@@ -10,11 +10,11 @@ export function About() {
id="about" id="about"
className="relative bg-gray-900 py-20 lg:py-32" className="relative bg-gray-900 py-20 lg:py-32"
> >
<div className="sticky top-0 flex h-screen items-center justify-center">
<CircleBackground color="#06b6d4" className="animate-spin-slower" />
</div>
<div className="relative -mt-[100vh]"> <div className="relative -mt-[100vh]">
<Container> <Container>
<div className="flex h-screen items-center justify-center">
<CircleBackground color="#06b6d4" className="animate-spin-slower" />
</div>
<div className="mx-auto max-w-3xl text-center"> <div className="mx-auto max-w-3xl text-center">
<Eyebrow color="accent">Our Mission</Eyebrow> <Eyebrow color="accent">Our Mission</Eyebrow>
<SectionHeader color="white" className="mt-2"> <SectionHeader color="white" className="mt-2">