There is Many Error Pages
-
Fork this Repository using the button at the top
-
Clone your forked repository to your pc
-
Create a new branch for your modifications (ie.
git branch new-user and check it out git checkout new-user and git checkout -b new-user
) -
Add your data folder in src/layout/
-
Add your Demo image in assets/Images/
-
Add your files (git add .), commit (git commit -m "new page added") and push (git push origin new-user)
-
Create a pull request
-
Star this repository
Replace <YOUR-USERNAME>
with your GitHub username in this guide
-
To make changes to the existing Error Type, or add new ones, all changes should be made in
src/layout
.i. If you're adding a new Error type similar to Error 500, Error 404, etc..., create a folder in
src/layout
with the name Error Type. For example:Error 500
.- create a folder with
<YOUR-USERNAME>
insideError type
folder, Example-layout/Error 500/<YOUR-USERNAME>
- create three file inside new created folder
index.html
index.css
index.js
- write your code here
ii. If you're adding a new Page to an existing Error Type.
- create a folder with
<YOUR-USERNAME>
insideError type
folder, Example-layout/Error 500/<YOUR-USERNAME>
- create three file inside new created folder
index.html
index.css
index.js
- write your code here
- create three file inside new created folder
- create a folder with
-
Add your Demo image(How your Page Look likes) in assets/Images/
-
Make change inside index.html under
<!-- Update your details start -->
and<!-- Update your details End -->
section.