Skip to content

Commit

Permalink
Fix navbar on measurement pages when measurement not found
Browse files Browse the repository at this point in the history
  • Loading branch information
majakomel committed Oct 25, 2024
1 parent fc98fef commit 7016d34
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions components/NotFound.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ const NotFound = ({ title }) => {
const { asPath } = useRouter()

return (
<div className="container">
<div className="flex justify-around items-center my-16">
<OONI404 height="200px" />
<div className="w-1/2">
<h4>{title}</h4>
<div className="text-gray-800">{`${process.env.NEXT_PUBLIC_EXPLORER_URL}${asPath}`}</div>
<div className="shadow-[0_-100px_0] shadow-blue-500 mt-16">
<div className="container">
<div className="flex justify-around items-center py-20">
<OONI404 height="200px" />
<div className="w-1/2">
<h4>{title}</h4>
<div className="text-gray-800">{`${process.env.NEXT_PUBLIC_EXPLORER_URL}${asPath}`}</div>
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 7016d34

Please sign in to comment.