@@ -16,6 +16,8 @@ import { Label } from "./primitives/Label";
16
16
import { Paragraph } from "./primitives/Paragraph" ;
17
17
import { Select , SelectItem } from "./primitives/Select" ;
18
18
import { TextArea } from "./primitives/TextArea" ;
19
+ import { InformationCircleIcon } from "@heroicons/react/20/solid" ;
20
+ import { TextLink } from "./primitives/TextLink" ;
19
21
20
22
type FeedbackProps = {
21
23
button : ReactNode ;
@@ -66,26 +68,30 @@ export function Feedback({ button, defaultValue = "bug" }: FeedbackProps) {
66
68
< InputGroup className = "max-w-full" >
67
69
{ type === "feature" && (
68
70
< InfoPanel
69
- icon = { LightBulbIcon }
70
- title = "Did you know?"
71
- panelClassName = "w-full inline-flex mb-2"
72
- to = "https://feedback.trigger.dev"
73
- buttonLabel = "Submit feature request"
71
+ icon = { InformationCircleIcon }
72
+ iconClassName = "text-blue-500"
73
+ panelClassName = "w-full mb-2"
74
74
>
75
- All our feature requests are public and voted on by the community. The best way
76
- to submit your feature request is to post it to our feedback forum.
75
+ < Paragraph variant = "small" >
76
+ All our feature requests are public and voted on by the community. The best
77
+ way to submit your feature request is to{ " " }
78
+ < TextLink to = "https://feedback.trigger.dev" >
79
+ post it to our feedback forum
80
+ </ TextLink >
81
+ .
82
+ </ Paragraph >
77
83
</ InfoPanel >
78
84
) }
79
85
{ type === "help" && (
80
86
< InfoPanel
81
- icon = { LightBulbIcon }
82
- title = "Did you know?"
83
- panelClassName = "w-full inline-flex mb-2"
84
- to = "https://trigger.dev/discord"
85
- buttonLabel = "Join our Discord"
87
+ icon = { InformationCircleIcon }
88
+ iconClassName = "text-blue-500"
89
+ panelClassName = "w-full mb-2"
86
90
>
87
- Discord is the quickest way to get answers from the Trigger.dev team and
88
- community.
91
+ < Paragraph variant = "small" >
92
+ The quickest way to get answers from the Trigger.dev team and community is to{ " " }
93
+ < TextLink to = "https://trigger.dev/discord" > ask in our Discord</ TextLink > .
94
+ </ Paragraph >
89
95
</ InfoPanel >
90
96
) }
91
97
< Select
0 commit comments