canceled.tsx 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. import { useTranslation } from 'react-i18next'
  2. import OLRow from '@/shared/components/ol/ol-row'
  3. import OLCol from '@/shared/components/ol/ol-col'
  4. import OLPageContentCard from '@/shared/components/ol/ol-page-content-card'
  5. import OLNotification from '@/shared/components/ol/ol-notification'
  6. function Canceled() {
  7. const { t } = useTranslation()
  8. return (
  9. <div className="container">
  10. <OLRow>
  11. <OLCol lg={{ span: 8, offset: 2 }}>
  12. <OLPageContentCard>
  13. <h2>{t('subscription_canceled')}</h2>
  14. <OLNotification
  15. type="info"
  16. content={
  17. <div className="d-flex justify-content-between align-items-center gap-3">
  18. <span>{t('to_modify_your_subscription_go_to')}</span>
  19. <a href="/user/subscription" rel="noopener noreferrer">
  20. {t('manage_subscription')}
  21. </a>
  22. </div>
  23. }
  24. />
  25. <p>
  26. <a
  27. className="btn btn-primary"
  28. href="/project"
  29. rel="noopener noreferrer"
  30. >
  31. {t('back_to_your_projects')}
  32. </a>
  33. </p>
  34. </OLPageContentCard>
  35. </OLCol>
  36. </OLRow>
  37. </div>
  38. )
  39. }
  40. export default Canceled