mirror of https://gitee.com/answerdev/answer.git
feat: use susppened page add contact_email
This commit is contained in:
parent
3b5c3fc3ff
commit
0292cbb92b
|
@ -399,6 +399,7 @@ ui:
|
|||
until_time: "Your account was suspended until {{ time }}."
|
||||
forever: This user was suspended forever.
|
||||
end: You don't meet a community guideline.
|
||||
contact_us: Contact us
|
||||
editor:
|
||||
blockquote:
|
||||
text: Blockquote
|
||||
|
|
|
@ -57,9 +57,6 @@
|
|||
|
||||
@media (max-width: 992.9px) {
|
||||
#header {
|
||||
.logo {
|
||||
max-width: 93px;
|
||||
}
|
||||
.nav-grow {
|
||||
flex-grow: 1!important;
|
||||
}
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
import { useTranslation } from 'react-i18next';
|
||||
import { Button } from 'react-bootstrap';
|
||||
|
||||
import { siteInfoStore } from '@/stores';
|
||||
import { usePageTags } from '@/hooks';
|
||||
|
||||
const Suspended = () => {
|
||||
const { contact_email = '' } = siteInfoStore((state) => state.siteInfo);
|
||||
const { t } = useTranslation('translation', { keyPrefix: 'suspended' });
|
||||
usePageTags({
|
||||
title: t('account_suspended', { keyPrefix: 'page_title' }),
|
||||
|
@ -16,6 +19,9 @@ const Suspended = () => {
|
|||
<br />
|
||||
{t('end')}
|
||||
</p>
|
||||
<Button href={`mailto:${contact_email}`} variant="link">
|
||||
{t('contact_us')}
|
||||
</Button>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue