Update error page

This commit is contained in:
Ariful Alam
2022-03-25 23:29:06 +06:00
parent 82eb282e17
commit 8dedc09ea8
2 changed files with 68 additions and 54 deletions

View File

@@ -10,9 +10,9 @@ const ErrorPage = (props) => {
{props.status}
</h1>
<p className="text-lg pb-2 text-base-content">{props.title}</p>
<p className="text-base-content text-opacity-60">
<div className="text-base-content text-opacity-60">
{props.subTitle}
</p>
</div>
</div>
</div>
</div>
@@ -25,7 +25,7 @@ const ErrorPage = (props) => {
ErrorPage.propTypes = {
status: PropTypes.string.isRequired,
title: PropTypes.string.isRequired,
subTitle: PropTypes.string.isRequired,
subTitle: PropTypes.node.isRequired,
};
export default ErrorPage;