PlatformWebhooksPreview.tsx 826 B

1234567891011121314151617181920212223242526
  1. import { useParams } from 'common'
  2. import { InlineLink } from '@/components/ui/InlineLink'
  3. export const PlatformWebhooksPreview = () => {
  4. const { slug = '_', ref = '_' } = useParams()
  5. return (
  6. <div className="space-y-2">
  7. <p className="text-sm text-foreground-light mb-4">
  8. Configure webhook endpoints and review deliveries from both project and organization
  9. settings pages.
  10. </p>
  11. <ul className="list-disc pl-6 text-sm text-foreground-light space-y-1">
  12. <li>
  13. Project scope:{' '}
  14. <InlineLink href={`/project/${ref}/settings/webhooks`}>Project Webhooks</InlineLink>
  15. </li>
  16. <li>
  17. Organization scope:{' '}
  18. <InlineLink href={`/org/${slug}/webhooks`}>Organization Webhooks</InlineLink>
  19. </li>
  20. </ul>
  21. </div>
  22. )
  23. }