Skip to content

Commit 42d4f75

Browse files
committed
Fix overlay for tests
1 parent bdb01b0 commit 42d4f75

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3-
import './.next/types/routes.d.ts';
3+
import './.next/dev/types/routes.d.ts';
44

55
// NOTE: This file should not be edited
66
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.

src/components/HeroHeader/DesktopHero.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default function HeroHeader() {
1010
}}
1111
>
1212
{/* Translucent overlay to darken image while keeping it visible */}
13-
<div className="absolute inset-0 bg-black/80" />
13+
<div className="absolute inset-0 bg-black/80 pointer-events-none" />
1414

1515
<div className="w-full flex py-20 flex-col items-center justify-center relative z-10">
1616
<h1 className="font-montserrat font-bold text-center text-white text-[40px] leading-10 w-[388px] mx-auto mt-24">

src/components/HeroHeader/MobileHero.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default function MobileHero() {
99
}}
1010
>
1111
{/* overlay for legibility using Tailwind */}
12-
<div className="absolute inset-0 bg-black/50" />
12+
<div className="absolute inset-0 bg-black/50 pointer-events-none" />
1313

1414
<div className="relative z-10 pt-[20vh] h-full justify-end items-center pb-[5vh] flex-col p-6 rounded-md flex text-white mt-0">
1515
{/* Adds opacity to make text more legible */}

src/components/Navbar/Navbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default function Navbar() {
2828

2929
if (!screenWidth) return null;
3030
return (
31-
<header className="lg:pl-[49px] fixed top-0 backdrop-blur-md w-full bg-black text-white justify-between bg-opacity-50 z-10">
31+
<header className="lg:pl-[49px] fixed top-0 backdrop-blur-md w-full bg-black text-white justify-between bg-opacity-50 z-20">
3232
<nav className="nav py-2 md:py-4 md:pl-5 flex flex-row justify-between md:justify-around px-4 items-center">
3333
<div className="">
3434
<Link href={HOME}>

0 commit comments

Comments
 (0)