Merge branch 'canary' into 139-multi-server-feature

This commit is contained in:
Mauricio Siu
2024-09-21 22:55:15 -06:00
8 changed files with 44 additions and 22 deletions

View File

@@ -109,9 +109,9 @@ export const AddTemplate = ({ projectId }: Props) => {
<DialogContent className="max-h-screen overflow-y-auto sm:max-w-7xl p-0">
<div className="sticky top-0 z-10 flex flex-col gap-4 bg-background p-6 border-b">
<DialogHeader>
<DialogTitle>Create Template</DialogTitle>
<DialogTitle>Create from Template</DialogTitle>
<DialogDescription>
Deploy a open source template to your project
Create an open source application from a template
</DialogDescription>
</DialogHeader>
{isError && <AlertBlock type="error">{error?.message}</AlertBlock>}
@@ -274,7 +274,7 @@ export const AddTemplate = ({ projectId }: Props) => {
<AlertDialog>
<AlertDialogTrigger asChild>
<Button onSelect={(e) => e.preventDefault()}>
Deploy
Create
</Button>
</AlertDialogTrigger>
<AlertDialogContent>
@@ -283,8 +283,9 @@ export const AddTemplate = ({ projectId }: Props) => {
Are you absolutely sure?
</AlertDialogTitle>
<AlertDialogDescription>
This will deploy {template.name} template to
your project.
This will create an application from the{" "}
{template.name} template and add it to your
project.
</AlertDialogDescription>
<div>