Skip to content

Commit

Permalink
refactor(not-found-page): use css modules
Browse files Browse the repository at this point in the history
  • Loading branch information
bas-kirill committed Aug 24, 2024
1 parent f8b0ae6 commit 0d29972
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion client/src/pages/not-found/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export { NotFoundPage } from "./ui/NotFoundPage";
import { NotFoundPage } from "./ui/NotFoundPage";

export { NotFoundPage };
4 changes: 2 additions & 2 deletions client/src/pages/not-found/ui/NotFoundPage.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from "react";
import "./styles/NotFoundPage.css";
import styles from "./styles/NotFoundPage.module.css";
import { HeaderWidget } from "widgets/header";

export function NotFoundPage() {
return (
<>
<HeaderWidget />
<div id="not-found">Page not found :(</div>
<div className={styles.not_found}>Page not found :(</div>
</>
);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#not-found {
.not_found {
font-size: 64px;
}

0 comments on commit 0d29972

Please sign in to comment.