interactionsLandingPage.tsx 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. import Breadcrumbs from 'sentry/components/breadcrumbs';
  2. import FeatureBadge from 'sentry/components/featureBadge';
  3. import * as Layout from 'sentry/components/layouts/thirds';
  4. import {t} from 'sentry/locale';
  5. import useOrganization from 'sentry/utils/useOrganization';
  6. import {normalizeUrl} from 'sentry/utils/withDomainRequired';
  7. import {ModulePageProviders} from 'sentry/views/performance/database/modulePageProviders';
  8. function InteractionsLandingPage() {
  9. const organization = useOrganization();
  10. return (
  11. <ModulePageProviders title={[t('Performance'), t('Interactions')].join(' — ')}>
  12. <Layout.Header>
  13. <Layout.HeaderContent>
  14. <Breadcrumbs
  15. crumbs={[
  16. {
  17. label: 'Performance',
  18. to: normalizeUrl(`/organizations/${organization.slug}/performance/`),
  19. preservePageFilters: true,
  20. },
  21. {
  22. label: 'Interactions',
  23. },
  24. ]}
  25. />
  26. <Layout.Title>
  27. {t('Interactions')}
  28. <FeatureBadge type="alpha" />
  29. </Layout.Title>
  30. </Layout.HeaderContent>
  31. </Layout.Header>
  32. <Layout.Body>
  33. <Layout.Main fullWidth />
  34. </Layout.Body>
  35. </ModulePageProviders>
  36. );
  37. }
  38. export default InteractionsLandingPage;