fix: 404 page and 50X page ui changed

This commit is contained in:
shuai 2023-02-27 10:57:26 +08:00
parent 450b7c03b9
commit 15536d5b27
3 changed files with 6 additions and 1 deletions

View File

@ -1016,9 +1016,11 @@ ui:
answers: answers
accepted: Accepted
page_404:
http_error: HTTP Error 404
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
page_50X:
http_error: HTTP Error 500
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:

View File

@ -25,7 +25,8 @@ const Index = () => {
style={{ fontSize: '120px', lineHeight: 1.2 }}>
(=x=)
</div>
<div className="text-center mb-4">{t('desc')}</div>
<h4 className="text-center mb-2">{t('http_error')}</h4>
<div className="text-center mb-3">{t('desc')}</div>
<div className="text-center">
<Button as={Link} to="/" variant="link">
{t('back_home')}

View File

@ -21,6 +21,8 @@ const Index = () => {
style={{ fontSize: '120px', lineHeight: 1.2 }}>
(=T^T=)
</div>
<h4 className="text-center mb-2">{t('http_error')}</h4>
<div className="text-center mb-3">{t('desc')}</div>
<div className="text-center">
<Button as={Link} to="/" variant="link">