overleaf/services/web/frontend/js/features/subscription/components/canceled-subscription/canceled.tsx
Jessica Lawshe 68e61d7bb7 Merge pull request #11973 from overleaf/ii-react-canceled-subscription
[web] Subscription page canceled subscription react migration

GitOrigin-RevId: dd127d753e72c194cd6bbb90b1ca1557742896d9
2023-02-24 09:05:28 +00:00

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>
<Alert bsStyle="info">
<p>
{t('to_modify_your_subscription_go_to')}&nbsp;
<a href="/user/subscription" rel="noopener noreferrer">
{t('manage_subscription')}.
</a>
</p>
</Alert>
<p>
<a
className="btn btn-primary"
href="/project"
rel="noopener noreferrer"
>
&lt; {t('back_to_your_projects')}
</a>
</p>
</div>
</div>
</Col>
</Row>
</div>
)
}
export default Canceled