Skip to content

Commit cc76688

Browse files
committed
Schedules page blank state using correct docs button style
1 parent eabeadd commit cc76688

File tree

1 file changed

+8
-3
lines changed
  • apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.v3.$projectParam.schedules

1 file changed

+8
-3
lines changed

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.v3.$projectParam.schedules/route.tsx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,13 +289,18 @@ function CreateScheduledTaskInstructions() {
289289
icon={ClockIcon}
290290
iconClassName="text-sun-500"
291291
panelClassName="max-w-full"
292-
to={docsPath("v3/tasks-scheduled")}
293-
buttonLabel="Schedules docs"
294292
>
295-
<Paragraph variant="small">
293+
<Paragraph spacing variant="small">
296294
You have no scheduled tasks in your project. Before you can schedule a task you need to
297295
create a <InlineCode>schedules.task</InlineCode>.
298296
</Paragraph>
297+
<LinkButton
298+
to={docsPath("v3/tasks-scheduled")}
299+
variant="docs/medium"
300+
LeadingIcon={BookOpenIcon}
301+
>
302+
View the docs
303+
</LinkButton>
299304
</InfoPanel>
300305
</MainCenteredContainer>
301306
);

0 commit comments

Comments
 (0)