forked from Commu-net/Mailer_frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improved resources route and created error handling route
- Loading branch information
1 parent
d130d79
commit 54fe972
Showing
7 changed files
with
67 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
|
||
*{ | ||
cursor:default; | ||
font-family: font; | ||
font-family: Verdana, Geneva, Tahoma, sans-serif; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { Player } from "@lottiefiles/react-lottie-player"; | ||
import error from '../assets/json/error.json' | ||
import './css/ErrorPage.css' | ||
|
||
function ErrorPage (){ | ||
return ( | ||
<div className="error_page"> | ||
<Player | ||
autoplay | ||
loop | ||
src={error} | ||
style={{ height: '100%' }} /> | ||
<div className="error_text_cont"> | ||
<div className="error_text">Page not available</div> | ||
</div> | ||
|
||
|
||
</div> | ||
) | ||
} | ||
|
||
export default ErrorPage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
.error_page{ | ||
top: 60px; | ||
position: fixed; | ||
height: calc(100vh - 60px); | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
flex-direction: column; | ||
width: 100%; | ||
} | ||
.error_text_cont{ | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
gap: 20px; | ||
} | ||
.error_text{ | ||
font-size: 30px; | ||
font-weight: 600; | ||
color: rgb(8,87,160); | ||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.