Skip to content

Commit d9a71be

Browse files
Merge pull request #331 from FOSS-Community/fix/404button
fix: the redirect to home button is now fully clickable
2 parents 28aefec + 57afe86 commit d9a71be

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/pages/PageNotFound.jsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ function PageNotFound() {
1010
<p className="font-bold md:text-3xl sm:text-2xl text-xl p-4 text-white">
1111
Sorry the page you are looking for does not exist.
1212
</p>
13-
<button className="hover:bg-green-800 bg-[#0dff1c] w-[190px] h-[60px] rounded-md font-medium my-4 py-3 text-black">
14-
<Link to="/">GO BACK HOME</Link>
13+
<Link to="/" className="inline-block">
14+
<button className="hover:bg-green-800 bg-[#0dff1c] w-[190px] h-[60px] rounded-md font-medium text-black">
15+
GO BACK HOME
1516
</button>
17+
</Link>
1618
</div>
1719
);
1820
}

0 commit comments

Comments
 (0)