@@ -229,46 +229,52 @@ export function DeploymentsNoneDev() {
229229 const environment = useEnvironment ( ) ;
230230
231231 return (
232- < div className = "space-y-8" >
233- < InfoPanel
234- icon = { ServerStackIcon }
235- iconClassName = "text-deployments"
236- title = "Deploying tasks"
237- panelClassName = "max-w-full"
238- >
239- < Paragraph spacing variant = "small" >
232+ < >
233+ < div className = "mb-6 flex items-center justify-between border-b" >
234+ < div className = "mb-2 flex items-center gap-2" >
235+ < EnvironmentIcon environment = { environment } className = "-ml-1 size-8" />
236+ < Header1 > Deploy your tasks</ Header1 >
237+ </ div >
238+ < div className = "flex items-center" >
239+ < SimpleTooltip
240+ button = {
241+ < LinkButton
242+ variant = "small-menu-item"
243+ LeadingIcon = { BookOpenIcon }
244+ leadingIconClassName = "text-blue-500"
245+ to = { docsPath ( "deployment/overview" ) }
246+ />
247+ }
248+ content = "Deploy docs"
249+ />
250+ < SimpleTooltip
251+ button = {
252+ < LinkButton
253+ variant = "small-menu-item"
254+ LeadingIcon = { QuestionMarkCircleIcon }
255+ leadingIconClassName = "text-blue-500"
256+ to = { docsPath ( "troubleshooting#deployment" ) }
257+ />
258+ }
259+ content = "Troubleshooting docs"
260+ />
261+ < AskAI />
262+ </ div >
263+ </ div >
264+ < StepNumber stepNumber = "→" title = "Switch to a deployed environment" />
265+ < StepContentContainer className = "mb-4 flex flex-col gap-4" >
266+ < Paragraph >
240267 This is the Development environment. When you're ready to deploy your tasks, switch to a
241268 different environment.
242269 </ Paragraph >
243- < Paragraph spacing variant = "small" >
244- There are several ways to deploy your tasks. You can use the CLI or a Continuous
245- Integration service like GitHub Actions. Make sure you{ " " }
246- < TextLink href = { v3EnvironmentVariablesPath ( organization , project , environment ) } >
247- set your environment variables
248- </ TextLink > { " " }
249- first.
250- </ Paragraph >
251- < div className = "flex gap-3" >
252- < LinkButton
253- to = { docsPath ( "v3/cli-deploy" ) }
254- variant = "docs/medium"
255- LeadingIcon = { BookOpenIcon }
256- className = "inline-flex"
257- >
258- Deploy with the CLI
259- </ LinkButton >
260- < LinkButton
261- to = { docsPath ( "v3/github-actions" ) }
262- variant = "docs/medium"
263- LeadingIcon = { BookOpenIcon }
264- className = "inline-flex"
265- >
266- Deploy with GitHub actions
267- </ LinkButton >
268- </ div >
269- </ InfoPanel >
270- < SwitcherPanel />
271- </ div >
270+ < EnvironmentSelector
271+ organization = { organization }
272+ project = { project }
273+ environment = { environment }
274+ className = "w-fit border border-charcoal-600 bg-secondary hover:border-charcoal-550 hover:bg-charcoal-600"
275+ />
276+ </ StepContentContainer >
277+ </ >
272278 ) ;
273279}
274280
0 commit comments