Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/beximco/mrp/mrp/.cache/admin/src/containers/AuthPage/components/ForgotPasswordSuccess/ drwxrwxrwx | |
| Viewing file: Select action/file-type: import React from 'react';
import { Padded, Text } from '@buffetjs/core';
import { useIntl } from 'react-intl';
import { useHistory } from 'react-router-dom';
import { BaselineAlignment } from 'strapi-helper-plugin';
import Button from '../../../../components/FullWidthButton';
import Box from '../Box';
import Logo from '../Logo';
import Section from '../Section';
import Envelope from './Envelope';
const ForgotPasswordSuccess = () => {
const { formatMessage } = useIntl();
const { push } = useHistory();
const handleClick = () => {
push('/auth/login');
};
return (
<>
<Section textAlign="center">
<Logo />
</Section>
<Section withBackground textAlign="center">
<Padded top size="smd">
<Padded top size="xs">
<Box withoutError>
<BaselineAlignment top size="3px">
<Envelope />
</BaselineAlignment>
<Padded top size="smd">
<Text fontWeight="bold" lineHeight="24px" fontSize="xl">
{formatMessage({ id: 'app.containers.AuthPage.ForgotPasswordSuccess.title' })}
</Text>
</Padded>
<Padded right left size="lg">
<Padded top size="smd">
<Text fontSize="md" style={{ textAlign: 'center' }} lineHeight="18px">
{formatMessage({
id: 'app.containers.AuthPage.ForgotPasswordSuccess.text.email',
})}
</Text>
<Padded top>
<BaselineAlignment top size="7px">
<Text fontSize="md" style={{ textAlign: 'center' }} lineHeight="18px">
{formatMessage({
id: 'app.containers.AuthPage.ForgotPasswordSuccess.text.contact-admin',
})}
</Text>
</BaselineAlignment>
</Padded>
</Padded>
</Padded>
<Padded top size="md">
<Button
type="button"
color="primary"
textTransform="uppercase"
onClick={handleClick}
>
{formatMessage({ id: 'Auth.link.signin' })}
</Button>
</Padded>
</Box>
</Padded>
</Padded>
</Section>
</>
);
};
export default ForgotPasswordSuccess;
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0046 ]-- |