File tree Expand file tree Collapse file tree
src/components/shared/zendesk-drawer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ import {
1414 ContractPreviewFormPayload ,
1515 JSFCustomComponentProps ,
1616 FieldComponentProps ,
17+ ZendeskTriggerButton ,
18+ zendeskArticles ,
1719} from '@remoteoss/remote-flows' ;
1820import {
1921 Card ,
@@ -241,6 +243,11 @@ const MultiStepForm = ({
241243 < p className = 'text-sm text-[#71717A]' >
242244 Choose the plan that best fits your needs.
243245 </ p >
246+ < ZendeskTriggerButton
247+ zendeskId = { zendeskArticles . engagingContractors }
248+ >
249+ Explore our guide to engaging contractors ↗
250+ </ ZendeskTriggerButton >
244251 </ div >
245252 < PricingPlanStep
246253 components = { {
Original file line number Diff line number Diff line change 55 CardDescription ,
66 CardContent ,
77 CardFooter ,
8+ cn ,
89} from '@remoteoss/remote-flows/internals' ;
9- import { cn } from '@remoteoss/remote-flows/internals ' ;
10+ import { ZendeskTriggerButton , zendeskArticles } from '@remoteoss/remote-flows' ;
1011import { Check } from 'lucide-react' ;
1112
1213interface PricingPlanCardProps {
@@ -33,12 +34,19 @@ export function PricingPlanCard({
3334 selected && 'border-solid border-[#9AA6B2] ring-2 ring-[#9AA6B2]' ,
3435 ) }
3536 onClick = { ( ) => {
36- onSelect ?.( value ) ;
37+ if ( ! selected ) {
38+ onSelect ?.( value ) ;
39+ }
3740 } }
3841 >
3942 < CardHeader className = 'pb-4' >
4043 < CardTitle className = 'text-xl font-bold' > { title } </ CardTitle >
4144 < CardDescription > { description } </ CardDescription >
45+ < div >
46+ < ZendeskTriggerButton zendeskId = { zendeskArticles . pricingPlanOptions } >
47+ Read more ↗
48+ </ ZendeskTriggerButton >
49+ </ div >
4250 < div className = 'border-t mt-4 pt-4' > </ div >
4351 </ CardHeader >
4452
Original file line number Diff line number Diff line change @@ -5,6 +5,12 @@ export const zendeskArticles = {
55 * https://support.remote.com/hc/en-us/articles/4668194326797
66 */
77 disclaimerCostCalculator : 4668194326797 ,
8+ /**
9+ * Guide for engaging contractors
10+ * Access: private (Need Remote account to access)
11+ * https://support.remote.com/hc/en-us/articles/43161434169613
12+ */
13+ engagingContractors : 43161434169613 ,
814 /**
915 * Employee Onboarding Timeline
1016 * Access: Private (Need Remote account to access)
@@ -23,6 +29,12 @@ export const zendeskArticles = {
2329 * https://support.remote.com/hc/en-us/articles/4410698586893
2430 */
2531 internationalPricing : 4410698586893 ,
32+ /**
33+ * Pricing Plan Options
34+ * Access: Private (Need Remote account to access)
35+ * https://support.remote.com/hc/en-us/articles/43161720465421
36+ */
37+ pricingPlanOptions : 43161720465421 ,
2638 /**
2739 * IR35 Status
2840 * Access: Private (Need Remote account to access)
You can’t perform that action at this time.
0 commit comments