@@ -47,6 +47,7 @@ import {
4747 TableRow ,
4848} from "~/components/primitives/Table" ;
4949import { TextLink } from "~/components/primitives/TextLink" ;
50+ import { useFeatures } from "~/hooks/useFeatures" ;
5051import { useOrganization } from "~/hooks/useOrganizations" ;
5152import { useHasAdminAccess } from "~/hooks/useUser" ;
5253import { redirectWithErrorMessage , redirectWithSuccessMessage } from "~/models/message.server" ;
@@ -132,6 +133,7 @@ export default function Page() {
132133 const { regions, isPaying } = useTypedLoaderData < typeof loader > ( ) ;
133134 const organization = useOrganization ( ) ;
134135 const isAdmin = useHasAdminAccess ( ) ;
136+ const { isManagedCloud } = useFeatures ( ) ;
135137
136138 return (
137139 < PageContainer >
@@ -295,14 +297,31 @@ export default function Page() {
295297 </ TableRow >
296298 </ TableBody >
297299 </ Table >
298- < InfoPanel
299- icon = { InformationCircleIcon }
300- variant = "minimal"
301- panelClassName = "max-w-full"
302- >
303- Runs execute in your default region, but operational and log data remains in
304- us-east-1.
305- </ InfoPanel >
300+ { isManagedCloud && (
301+ < InfoPanel
302+ icon = { InformationCircleIcon }
303+ iconClassName = "size-4"
304+ variant = "minimal"
305+ panelClassName = "max-w-full gap-1"
306+ >
307+ < Paragraph variant = "extra-small" className = "flex items-baseline gap-x-0.5" >
308+ Trigger.dev is fully GDPR compliant. Learn more in our{ " " }
309+ < TextLink to = "https://security.trigger.dev" > security portal</ TextLink > or{ " " }
310+ < Feedback
311+ button = {
312+ < Paragraph
313+ variant = "extra-small"
314+ className = "cursor-pointer text-indigo-500 transition hover:text-indigo-400"
315+ >
316+ get in touch
317+ </ Paragraph >
318+ }
319+ defaultValue = "help"
320+ />
321+ .
322+ </ Paragraph >
323+ </ InfoPanel >
324+ ) }
306325 </ div >
307326 </ >
308327 ) }
0 commit comments