onboarding.tsx 955 B

123456789101112131415161718192021222324252627282930313233
  1. import ExternalLink from 'sentry/components/links/externalLink';
  2. import OnboardingPanel from 'sentry/components/onboardingPanel';
  3. import {t, tct} from 'sentry/locale';
  4. import {Monitor} from '../types';
  5. import MonitorQuickStartGuide from './monitorQuickStartGuide';
  6. interface Props {
  7. monitor: Monitor;
  8. orgId: string;
  9. }
  10. function MonitorOnboarding({orgId, monitor}: Props) {
  11. return (
  12. <OnboardingPanel noCenter>
  13. <h3>{t('Instrument your monitor')}</h3>
  14. <p>
  15. {tct(
  16. 'Select an integration method for your new monitor. For in-depth instructions on integrating Crons, view [docsLink:our complete documentation].',
  17. {
  18. docsLink: (
  19. <ExternalLink href="https://docs.sentry.io/product/crons/getting-started/" />
  20. ),
  21. }
  22. )}
  23. </p>
  24. <MonitorQuickStartGuide orgId={orgId} monitor={monitor} />
  25. </OnboardingPanel>
  26. );
  27. }
  28. export default MonitorOnboarding;