Skip to content

Commit 66afa26

Browse files
authored
fix: migrate to tailwind (#8064)
1 parent 3e4069c commit 66afa26

3 files changed

Lines changed: 5 additions & 22 deletions

File tree

src/components/PageNotFound/PageNotFound.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
import { Helmet } from "react-helmet-async";
22
import { Link } from "react-router-dom";
33

4-
// Styles
5-
import "./PageNotFound.scss";
6-
74
export default function PageNotFound() {
85
return (
96
<div className="page markdown">
@@ -13,7 +10,10 @@ export default function PageNotFound() {
1310
</Helmet>
1411
<h1>Page Not Found</h1>
1512
<p>Oops! The page you are looking for has been removed or relocated.</p>
16-
<Link className="button" to="/">
13+
<Link
14+
className="no-underline inline-block py-[3px] px-[5px] text-[1.1rem] rounded-[5px] w-auto border border-[#175d96] text-[#175d96] hover:bg-[#175d96] hover:text-white"
15+
to="/"
16+
>
1717
Go to Homepage
1818
</Link>
1919
</div>

src/components/PageNotFound/PageNotFound.scss

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/components/PageNotFound/__snapshots__/PageNotFound.test.jsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ exports[`PageNotFound renders correctly 1`] = `
1111
Oops! The page you are looking for has been removed or relocated.
1212
</p>
1313
<a
14-
class="button"
14+
class="no-underline inline-block py-[3px] px-[5px] text-[1.1rem] rounded-[5px] w-auto border border-[#175d96] text-[#175d96] hover:bg-[#175d96] hover:text-white"
1515
data-discover="true"
1616
href="/"
1717
>

0 commit comments

Comments
 (0)