Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add page-not-found component #30

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Conversation

nowshad-hasan
Copy link
Collaborator

No description provided.

@nowshad-hasan nowshad-hasan linked an issue Jun 27, 2020 that may be closed by this pull request
Copy link
Owner

@mazid1 mazid1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This component will be rendered by angular inside the main index.html page. So, any angular component should not contain DOCTYPE, head, body tags.

@@ -0,0 +1,39 @@
<!DOCTYPE html>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove DOCTYPE, head and body tags. We only need the specific contents of the component.

</div>
<h2>Oops! Nothing was found</h2>
<p>The page you are looking for might have been removed, had its name changed or is temporarily unavailable.</p>
<button mat-raised-button>HOME</button>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you implement redirection to "home" page by clicking this button?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated the PR as you requested. Please check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom 404 page
2 participants