-
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.
Merge pull request #46 from G-Techs/errorPages
Error pages color Updates
- Loading branch information
Showing
6 changed files
with
65 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import React from 'react' | ||
import { HomeSubMenuIcon } from '../modules/__modules/Vectors/index' | ||
import error from "../../components/modules/static/images/404.png"; | ||
const Error400 = () => { | ||
return ( | ||
<div className="flex flex-wrap min-h-screen items-center justify-center"> | ||
<div className="flex flex-col items-center justify-center max-w-4xl p-4 text-center"> | ||
<img src={error.src} alt="Not Found" className='w-8/12' /> | ||
<h2 className="text-3xl font-extrabold pt-4">Oops! This Page is Not Found.</h2> | ||
<p className="p-3 text-base text-gray-400">The requested page dose not exist</p> | ||
<div className="flex justify-center items-center rounded-2xl text-white px-4 py-2 bg-primary mt-4 cursor-pointer"> | ||
<HomeSubMenuIcon size={16} className="mr-2" /> | ||
<p className="font-lighter text-base">Back to Home</p> | ||
</div> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default Error400 |
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,21 @@ | ||
import React from 'react' | ||
import { HomeSubMenuIcon } from '../modules/__modules/Vectors/index' | ||
import error from '../modules/static/images/500.png' | ||
const Error500 = () => { | ||
return ( | ||
<div className="flex flex-wrap min-h-screen items-center justify-center"> | ||
<div className="flex flex-col items-center justify-center max-w-4xl p-4 text-center"> | ||
<img src={error.src} className="w-6/12 lg:w-8/12" alt="Internal Error" /> | ||
<h1 className="font-black text-6xl">500</h1> | ||
<h2 className="text-3xl font-black pt-4">Oops! This Page is Not Working.</h2> | ||
<p className="p-3 text-base text-gray-400">The requested is Internal Server Error.</p> | ||
<div className="flex justify-center items-center rounded-2xl text-white px-4 py-2 bg-primary mt-4 cursor-pointer"> | ||
<HomeSubMenuIcon size={16} className="mr-2" /> | ||
<p className="font-lighter text-base">Back to Home</p> | ||
</div> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default Error500 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,12 @@ | ||
import React from 'react' | ||
import Error400 from '../../components/ErrorPages/Error400' | ||
|
||
const error404 = () => { | ||
return ( | ||
<div className="h-screen"> | ||
<Error400/> | ||
</div> | ||
) | ||
} | ||
|
||
export default error404 |
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,12 @@ | ||
import React from 'react' | ||
import Error500 from '../../components/ErrorPages/Error500' | ||
|
||
const error500 = () => { | ||
return ( | ||
<div className='h-scren'> | ||
<Error500/> | ||
</div> | ||
) | ||
} | ||
|
||
export default error500 |