@@ -89,7 +89,7 @@ import { StepNumber } from "../primitives/StepNumber";
89
89
import { TextLink } from "../primitives/TextLink" ;
90
90
import { Tooltip , TooltipContent , TooltipProvider , TooltipTrigger } from "../primitives/Tooltip" ;
91
91
import { SideMenuHeader } from "./SideMenuHeader" ;
92
- import { SideMenuItem } from "./SideMenuItem" ;
92
+ import { MenuCount , SideMenuItem } from "./SideMenuItem" ;
93
93
94
94
type SideMenuUser = Pick < User , "email" | "admin" > & { isImpersonating : boolean } ;
95
95
type SideMenuProject = Pick < MatchedProject , "id" | "name" | "slug" | "version" > ;
@@ -249,54 +249,6 @@ export function SideMenu({ user, project, organization, organizations }: SideMen
249
249
) }
250
250
</ div >
251
251
< div className = "flex flex-col gap-1 border-t border-grid-bright p-1" >
252
- { currentPlan ?. v3Subscription ?. plan ?. limits . support === "slack" && (
253
- < Dialog >
254
- < DialogTrigger asChild >
255
- < Button
256
- variant = "small-menu-item"
257
- LeadingIcon = { SlackIcon }
258
- data-action = "join our slack"
259
- fullWidth
260
- textAlignLeft
261
- >
262
- Join our Slack
263
- </ Button >
264
- </ DialogTrigger >
265
- < DialogContent >
266
- < DialogHeader > Join our Slack</ DialogHeader >
267
- < div className = "mt-2 flex flex-col gap-4" >
268
- < div className = "flex items-center gap-4" >
269
- < Icon icon = { SlackIcon } className = "h-10 w-10 min-w-[2.5rem]" />
270
- < Paragraph variant = "base/bright" >
271
- As a subscriber, you have access to a dedicated Slack channel for 1-to-1
272
- support with the Trigger.dev team.
273
- </ Paragraph >
274
- </ div >
275
- < hr className = "border-charcoal-800" />
276
- < div >
277
- < StepNumber stepNumber = "1" title = "Email us" />
278
- < StepContentContainer >
279
- < Paragraph >
280
- Send us an email to this address from your Trigger.dev account email
281
- address:
282
- < ClipboardField
283
- variant = "primary/medium"
284
-
285
- className = "my-2"
286
- />
287
- </ Paragraph >
288
- </ StepContentContainer >
289
- < StepNumber stepNumber = "2" title = "Look out for an invite from Slack" />
290
- < StepContentContainer >
291
- < Paragraph >
292
- As soon as we can, we'll setup a Slack Connect channel and say hello!
293
- </ Paragraph >
294
- </ StepContentContainer >
295
- </ div >
296
- </ div >
297
- </ DialogContent >
298
- </ Dialog >
299
- ) }
300
252
< HelpAndFeedback />
301
253
{ isV3Project && isFreeV3User && (
302
254
< FreePlanUsage
@@ -332,6 +284,7 @@ function HelpAndFeedback() {
332
284
name = "Documentation"
333
285
icon = "docs"
334
286
trailingIcon = { ArrowUpRightIcon }
287
+ trailingIconClassName = "text-text-dimmed"
335
288
inactiveIconColor = "text-green-500"
336
289
activeIconColor = "text-green-500"
337
290
to = "https://trigger.dev/docs"
@@ -344,6 +297,7 @@ function HelpAndFeedback() {
344
297
name = "Status"
345
298
icon = { SignalIcon }
346
299
trailingIcon = { ArrowUpRightIcon }
300
+ trailingIconClassName = "text-text-dimmed"
347
301
inactiveIconColor = "text-green-500"
348
302
activeIconColor = "text-green-500"
349
303
to = "https://status.trigger.dev/"
@@ -358,6 +312,7 @@ function HelpAndFeedback() {
358
312
name = "Suggest a feature"
359
313
icon = { LightBulbIcon }
360
314
trailingIcon = { ArrowUpRightIcon }
315
+ trailingIconClassName = "text-text-dimmed"
361
316
inactiveIconColor = "text-sun-500"
362
317
activeIconColor = "text-sun-500"
363
318
to = "https://feedback.trigger.dev/"
@@ -374,6 +329,7 @@ function HelpAndFeedback() {
374
329
name = "Changelog"
375
330
icon = "star"
376
331
trailingIcon = { ArrowUpRightIcon }
332
+ trailingIconClassName = "text-text-dimmed"
377
333
inactiveIconColor = "text-sun-500"
378
334
activeIconColor = "text-sun-500"
379
335
to = "https://trigger.dev/changelog"
@@ -383,7 +339,7 @@ function HelpAndFeedback() {
383
339
</ div >
384
340
< div className = "flex flex-col gap-1 p-1" >
385
341
< Paragraph className = "pb-1 pl-1.5 pt-1.5 text-2sm" > Get in touch</ Paragraph >
386
- { currentPlan ?. v3Subscription ?. plan ?. limits . support ! == "slack" && (
342
+ { currentPlan ?. v3Subscription ?. plan ?. limits . support = == "slack" && (
387
343
< TooltipProvider >
388
344
< Tooltip >
389
345
< TooltipTrigger >
@@ -396,7 +352,10 @@ function HelpAndFeedback() {
396
352
fullWidth
397
353
textAlignLeft
398
354
>
399
- Join our Slack…
355
+ < div className = "flex w-full items-center justify-between" >
356
+ < span className = "text-text-bright" > Join our Slack…</ span >
357
+ < MenuCount count = "PRO" />
358
+ </ div >
400
359
</ Button >
401
360
</ DialogTrigger >
402
361
< DialogContent >
@@ -448,6 +407,7 @@ function HelpAndFeedback() {
448
407
name = "Join our Discord"
449
408
icon = { DiscordIcon }
450
409
trailingIcon = { ArrowUpRightIcon }
410
+ trailingIconClassName = "text-text-dimmed"
451
411
to = "https://trigger.dev/discord"
452
412
data-action = "join our discord"
453
413
target = "_blank"
@@ -466,6 +426,7 @@ function HelpAndFeedback() {
466
426
name = "Book a 15 min call"
467
427
icon = { CalendarDaysIcon }
468
428
trailingIcon = { ArrowUpRightIcon }
429
+ trailingIconClassName = "text-text-dimmed"
469
430
inactiveIconColor = "text-rose-500"
470
431
activeIconColor = "text-rose-500"
471
432
to = "https://cal.com/team/triggerdotdev/founders-call"
0 commit comments