Skip to content

Commit

Permalink
Add book a demo under try a prompt headline (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
ykeremy committed Jun 13, 2024
1 parent 1d46a4d commit 6a0c078
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion skyvern-frontend/src/routes/tasks/create/TaskTemplates.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,17 @@ import { SavedTasks } from "./SavedTasks";
import { getSample } from "../data/sampleTaskData";
import { Textarea } from "@/components/ui/textarea";
import { useState } from "react";
import { PaperPlaneIcon, ReloadIcon } from "@radix-ui/react-icons";
import {
InfoCircledIcon,
PaperPlaneIcon,
ReloadIcon,
} from "@radix-ui/react-icons";
import { useMutation } from "@tanstack/react-query";
import { useCredentialGetter } from "@/hooks/useCredentialGetter";
import { getClient } from "@/api/AxiosClient";
import { AxiosError } from "axios";
import { toast } from "@/components/ui/use-toast";
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";

const examplePrompts = [
"What is the top post on hackernews?",
Expand Down Expand Up @@ -78,6 +83,22 @@ function TaskTemplates() {

return (
<div>
<Alert variant="warning">
<InfoCircledIcon className="h-4 w-4" />
<AlertTitle>
Have a complicated workflow you would like to automate?
</AlertTitle>
<AlertDescription>
<a
href="https://meetings.hubspot.com/suchintan"
target="_blank"
rel="noopener noreferrer"
className="underline underline-offset-2 ml-auto"
>
Book a demo {"->"}
</a>
</AlertDescription>
</Alert>
<section className="py-4">
<header>
<h1 className="text-3xl mb-2">Try a prompt</h1>
Expand Down

0 comments on commit 6a0c078

Please sign in to comment.