@@ -12,7 +12,8 @@ import { z } from "zod";
1212import { typedjson , useTypedLoaderData } from "remix-typedjson" ;
1313import { PageBody , PageContainer } from "~/components/layout/AppLayout" ;
1414import { Badge } from "~/components/primitives/Badge" ;
15- import { Button , LinkButton } from "~/components/primitives/Buttons" ;
15+ import { Button } from "~/components/primitives/Buttons" ;
16+ import { Feedback } from "~/components/Feedback" ;
1617import { Callout } from "~/components/primitives/Callout" ;
1718import { ClipboardField } from "~/components/primitives/ClipboardField" ;
1819import {
@@ -47,7 +48,6 @@ import { dashboardAction, dashboardLoader } from "~/services/routeBuilders/dashb
4748import { cn } from "~/utils/cn" ;
4849import { throwPermissionDenied } from "~/utils/permissionDenied" ;
4950import { useCurrentPlan } from "../_app.orgs.$organizationSlug/route" ;
50- import { v3BillingPath } from "~/utils/pathBuilder" ;
5151
5252export const meta : MetaFunction = ( ) => [ { title : "SSO & Directory Sync | Trigger.dev" } ] ;
5353
@@ -457,7 +457,7 @@ export default function Page() {
457457 < PageBody scrollable = { true } >
458458 < SettingsContainer >
459459 { ! isEntitled ? (
460- < EnterpriseUpsellState organizationSlug = { organization . slug } />
460+ < EnterpriseUpsellState />
461461 ) : ! status . hasIdpOrg ? (
462462 < NoIdpOrgState onOpenPortal = { ( ) => openPortal ( "domain_verification" ) } />
463463 ) : ! hasActive ? (
@@ -515,13 +515,17 @@ export default function Page() {
515515 ) ;
516516}
517517
518- function EnterpriseUpsellState ( { organizationSlug } : { organizationSlug : string } ) {
518+ function EnterpriseUpsellState ( ) {
519519 return (
520520 < SettingsSection >
521521 < SettingsHeader
522- title = "SSO & Directory Sync"
522+ title = {
523+ < span className = "flex items-center gap-2" >
524+ SSO & Directory Sync
525+ < Badge variant = "small" > Enterprise</ Badge >
526+ </ span >
527+ }
523528 description = "Single sign-on (SAML/OIDC) and Directory Sync (SCIM) let your IT team manage access to Trigger.dev from your identity provider, such as Okta, Azure AD, or Google Workspace."
524- action = { < Badge variant = "small" > Enterprise</ Badge > }
525529 />
526530 < div className = "w-full space-y-4 py-4" >
527531 < ul className = "ml-4 list-disc space-y-1.5 text-sm text-text-dimmed" >
@@ -531,17 +535,10 @@ function EnterpriseUpsellState({ organizationSlug }: { organizationSlug: string
531535 < li > Sync users and map directory groups to roles with SCIM.</ li >
532536 </ ul >
533537 < div className = "flex flex-wrap gap-2" >
534- < LinkButton variant = "primary/small" to = { v3BillingPath ( { slug : organizationSlug } ) } >
535- Talk to sales
536- </ LinkButton >
537- < LinkButton
538- variant = "secondary/small"
539- to = "https://trigger.dev/contact"
540- target = "_blank"
541- TrailingIcon = { ArrowUpRightIcon }
542- >
543- Contact us
544- </ LinkButton >
538+ < Feedback
539+ defaultValue = "enterprise"
540+ button = { < Button variant = "primary/small" > Contact us</ Button > }
541+ />
545542 </ div >
546543 </ div >
547544 </ SettingsSection >
0 commit comments