Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

fix: remove `z-index` from header (#1342)

Tsvetomir Bonevdf304de682e6
diff --git a/apps/web/src/app/[locale]/_components/hero.tsx b/apps/web/src/app/[locale]/_components/hero.tsx
index 1df5959a..ebf91214 100644
--- a/apps/web/src/app/[locale]/_components/hero.tsx
+++ b/apps/web/src/app/[locale]/_components/hero.tsx
@@ -147,11 +147,11 @@ export async function Hero() {
const t = await getScopedI18n('landing.hero');
const session = await auth();
return (
- <section className="-mt-[56px] min-h-[calc(100vh)] overflow-hidden lg:min-h-0 lg:pt-[56px]">
+ <section className="pointer-events-none -mt-[56px] min-h-[calc(100vh)] overflow-hidden lg:min-h-0 lg:pt-[56px]">
<div className="absolute inset-10 -z-30 overflow-hidden rounded-full opacity-70 lg:hidden">
<BackgroundGrid />
</div>
- <div className="container relative grid min-h-screen items-center justify-center py-24 lg:min-h-0 lg:grid-cols-2 lg:py-0">
+ <div className="container relative grid min-h-screen items-center justify-center py-24 lg:min-h-0 lg:grid-cols-2 lg:py-0 [&>*]:pointer-events-auto">
<BeamOfLight />
<div className="flex w-full flex-col items-center justify-center gap-10 lg:items-start">
<a
diff --git a/apps/web/src/components/Navigation/index.tsx b/apps/web/src/components/Navigation/index.tsx
index 35f25222..ab13afc3 100644
--- a/apps/web/src/components/Navigation/index.tsx
+++ b/apps/web/src/components/Navigation/index.tsx
@@ -77,7 +77,7 @@ export async function Navigation() {
);
return (
- <header className="z-50 w-full">
+ <header className="w-full">
<NavWrapper>
<div className="flex w-full items-center justify-between">
<div className="relative flex items-center gap-3">