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