@@ -192,71 +192,73 @@ export function LoopsListViewPresentation({
192192 gap = "6"
193193 className = "@container mx-auto w-full max-w-5xl px-8 py-8"
194194 >
195- < div className = "flex @min-[640px]:flex-row flex-col items-start @min-[640px]:items-center justify-between gap-3" >
196- < Flex direction = "column" gap = "1" className = "min-w-0" >
197- < Flex align = "center" gap = "2" wrap = "wrap" >
198- < Heading className = "font-bold text-2xl" > Loops</ Heading >
199- < Flex
200- align = "center"
201- className = "gap-1.5 rounded-full bg-(--accent-a3) px-2.5 py-1"
202- >
203- < CloudIcon
204- size = { 12 }
205- weight = "fill"
206- className = "text-(--accent-11)"
207- />
208- < Text className = "whitespace-nowrap font-medium text-(--accent-11) text-[11px]" >
209- Runs entirely in the cloud
210- </ Text >
195+ < Flex direction = "column" gap = "4" >
196+ < div className = "flex @min-[640px]:flex-row flex-col items-start @min-[640px]:items-center justify-between gap-3" >
197+ < Flex direction = "column" gap = "1" className = "min-w-0" >
198+ < Flex align = "center" gap = "2" wrap = "wrap" >
199+ < Heading className = "font-bold text-2xl" > Loops</ Heading >
200+ < Flex
201+ align = "center"
202+ className = "gap-1.5 rounded-full bg-(--accent-a3) px-2.5 py-1"
203+ >
204+ < CloudIcon
205+ size = { 12 }
206+ weight = "fill"
207+ className = "text-(--accent-11)"
208+ />
209+ < Text className = "whitespace-nowrap font-medium text-(--accent-11) text-[11px]" >
210+ Runs entirely in the cloud
211+ </ Text >
212+ </ Flex >
211213 </ Flex >
214+ < Text color = "gray" className = "max-w-2xl text-sm" >
215+ Put your work on autopilot. Loops run on a schedule, on an API
216+ call, or when something happens on GitHub. You can finally
217+ close the laptop!
218+ </ Text >
212219 </ Flex >
213- < Text color = "gray" className = "max-w-2xl text-sm" >
214- Put your work on autopilot. Loops run on a schedule, on an API
215- call, or when something happens on GitHub. You can finally close
216- the laptop!
217- </ Text >
218- </ Flex >
219- < Button
220- variant = "soft"
221- color = "gray"
222- size = "2"
223- onClick = { onStartBlank }
224- disabled = { limitReason != null }
225- disabledReason = { limitReason }
226- >
227- < PlusIcon size = { 14 } />
228- Create manually
229- </ Button >
230- </ div >
220+ < Button
221+ variant = "soft"
222+ color = "gray"
223+ size = "2"
224+ onClick = { onStartBlank }
225+ disabled = { limitReason != null }
226+ disabledReason = { limitReason }
227+ >
228+ < PlusIcon size = { 14 } />
229+ Create manually
230+ </ Button >
231+ </ div >
231232
232- { isLoading ? (
233- < LoopsSkeleton />
234- ) : error ? (
235- < LoopsEmptyNotice
236- title = "Couldn't load loops."
237- hint = {
238- error instanceof Error
239- ? error . message
240- : "The loops API returned an error."
241- }
242- />
243- ) : loops . length > 0 ? (
244- < LoopListTabs
245- personalLoops = { personalLoops }
246- teamLoops = { teamLoops }
247- members = { members }
248- membersLoading = { membersLoading }
249- membersError = { membersError }
250- membersComplete = { membersComplete }
251- onCreate = { onStartBlank }
252- disabledReason = { limitReason }
253- />
254- ) : (
255- < LoopsEmptyState
256- onCreate = { onStartBlank }
257- disabledReason = { limitReason }
258- />
259- ) }
233+ { isLoading ? (
234+ < LoopsSkeleton />
235+ ) : error ? (
236+ < LoopsEmptyNotice
237+ title = "Couldn't load loops."
238+ hint = {
239+ error instanceof Error
240+ ? error . message
241+ : "The loops API returned an error."
242+ }
243+ />
244+ ) : loops . length > 0 ? (
245+ < LoopListTabs
246+ personalLoops = { personalLoops }
247+ teamLoops = { teamLoops }
248+ members = { members }
249+ membersLoading = { membersLoading }
250+ membersError = { membersError }
251+ membersComplete = { membersComplete }
252+ onCreate = { onStartBlank }
253+ disabledReason = { limitReason }
254+ />
255+ ) : (
256+ < LoopsEmptyState
257+ onCreate = { onStartBlank }
258+ disabledReason = { limitReason }
259+ />
260+ ) }
261+ </ Flex >
260262
261263 < LoopTemplatesSection onSelect = { onStartFromTemplate } />
262264 </ Flex >
0 commit comments