mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
c67da92287
[web] Only subscription canceled header within the header GitOrigin-RevId: 7dba2f3c34fe98a5a5bd446f093c640794ebbbb6
39 lines
1 KiB
TypeScript
39 lines
1 KiB
TypeScript
import { useTranslation } from 'react-i18next'
|
|
import { Col, Row, Alert } from 'react-bootstrap'
|
|
|
|
function Canceled() {
|
|
const { t } = useTranslation()
|
|
|
|
return (
|
|
<div className="container">
|
|
<Row>
|
|
<Col md={8} mdOffset={2}>
|
|
<div className="card">
|
|
<div className="page-header">
|
|
<h2>{t('subscription_canceled')}</h2>
|
|
</div>
|
|
<Alert bsStyle="info">
|
|
<p>
|
|
{t('to_modify_your_subscription_go_to')}
|
|
<a href="/user/subscription" rel="noopener noreferrer">
|
|
{t('manage_subscription')}.
|
|
</a>
|
|
</p>
|
|
</Alert>
|
|
<p>
|
|
<a
|
|
className="btn btn-primary"
|
|
href="/project"
|
|
rel="noopener noreferrer"
|
|
>
|
|
< {t('back_to_your_projects')}
|
|
</a>
|
|
</p>
|
|
</div>
|
|
</Col>
|
|
</Row>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default Canceled
|