feat: cal ai promo design (#23651)

Co-authored-by: Peer Richelsen <[email protected]>
Co-authored-by: CarinaWolli <[email protected]>
This commit is contained in:
authored and GitHub committed 2025-09-14 12:00:12 -03:00
1 parent 3aab13b4da
commit cfadd2e892
28 files changed
+884 -214

No files matched your search

+6
View File
@@ -96,6 +96,9 @@
--cal-bg-visualization-7-subtle: hsla(0, 96%, 89%, 1); /* red-100 */
--cal-bg-visualization-7-emphasis: hsla(0, 84%, 60%, 1); /* red-500 */
/* Launch Background */
--cal-bg-launch-dark: hsla(242, 53%, 10%, 1); /* #0D0C27 - Launch card dark background */
/* Legacy Background Components - Consider deprecating */
--cal-bg-info: hsla(221, 91%, 93%, 1); /* #dee9fc - info backgrounds */
--cal-bg-success: hsla(142, 76%, 94%, 1); /* #e2fbe8 - success backgrounds */
@@ -192,6 +195,9 @@
--cal-bg-visualization-7-subtle: hsla(0, 70%, 35%, 1); /* red-200 */
--cal-bg-visualization-7-emphasis: hsla(0, 84%, 60%, 1); /* red-500 */
/* Launch Background */
--cal-bg-launch-dark: hsla(242, 53%, 10%, 1); /* #0D0C27 - Launch card dark background */
/* Legacy Background Components - Consider deprecating */
--cal-bg-info: hsla(228, 56%, 33%, 1); /* Keeping existing info background */
--cal-bg-success: hsla(133, 34%, 24%, 1); /* Keeping existing success background */
@@ -0,0 +1,138 @@
import { cookies, headers } from "next/headers";
import { redirect } from "next/navigation";
import { getServerSession } from "@calcom/features/auth/lib/getServerSession";
import { PermissionCheckService } from "@calcom/features/pbac/services/permission-check.service";
import { checkRateLimitAndThrowError } from "@calcom/lib/checkRateLimitAndThrowError";
import { SENDER_NAME } from "@calcom/lib/constants";
import prisma from "@calcom/prisma";
import type { Workflow } from "@calcom/prisma/client";
import {
MembershipRole,
TimeUnit,
WorkflowActions,
WorkflowTemplates,
WorkflowTriggerEvents,
} from "@calcom/prisma/enums";
import { buildLegacyRequest } from "@lib/buildLegacyCtx";
const WORKFLOW_TEMPLATES = {
"wf-10": {
name: "Cal AI No-show Follow-up Call",
trigger: WorkflowTriggerEvents.BOOKING_NO_SHOW_UPDATED,
time: 0,
timeUnit: TimeUnit.MINUTE,
},
"wf-11": {
name: "Cal AI 1-hour Meeting Reminder",
trigger: WorkflowTriggerEvents.BEFORE_EVENT,
time: 1,
timeUnit: TimeUnit.HOUR,
},
} as const;
interface PageProps {
searchParams: Promise<{
action?: string;
templateWorkflowId?: string;
teamId?: string;
name?: string;
}>;
}
const Page = async ({ searchParams }: PageProps) => {
const session = await getServerSession({ req: buildLegacyRequest(await headers(), await cookies()) });
const user = session?.user;
const { action, templateWorkflowId, teamId, name } = await searchParams;
await checkRateLimitAndThrowError({
rateLimitingType: "core",
identifier: `createWorkflow:${user?.id}`,
});
if (!user?.id) {
const queryParams = new URLSearchParams();
if (action) queryParams.set("action", action);
if (templateWorkflowId) queryParams.set("templateWorkflowId", templateWorkflowId);
if (teamId) queryParams.set("teamId", teamId);
if (name) queryParams.set("name", name);
const callbackUrl = `/workflow/new${queryParams.toString() ? `?${queryParams.toString()}` : ""}`;
redirect(`/auth/login?callbackUrl=${encodeURIComponent(callbackUrl)}`);
}
if (action !== "calAi" || !templateWorkflowId) {
redirect("/workflows");
}
if (templateWorkflowId !== "wf-10" && templateWorkflowId !== "wf-11") {
redirect("/workflows");
}
const userId = user.id;
const parsedTeamId = teamId ? parseInt(teamId, 10) : undefined;
if (parsedTeamId) {
const permissionService = new PermissionCheckService();
const hasPermission = await permissionService.checkPermission({
userId,
teamId: parsedTeamId,
permission: "workflow.create",
fallbackRoles: [MembershipRole.ADMIN, MembershipRole.OWNER],
});
if (!hasPermission) {
redirect("/workflows?error=unauthorized");
}
}
const template = WORKFLOW_TEMPLATES[templateWorkflowId as keyof typeof WORKFLOW_TEMPLATES];
try {
const workflow: Workflow = await prisma.workflow.create({
data: {
name: name || template.name,
trigger: template.trigger,
time: template.time,
timeUnit: template.timeUnit,
userId,
teamId: parsedTeamId,
},
});
await prisma.workflowStep.create({
data: {
stepNumber: 1,
action: WorkflowActions.CAL_AI_PHONE_CALL,
template: WorkflowTemplates.CUSTOM,
workflowId: workflow.id,
sender: SENDER_NAME,
numberVerificationPending: false,
verifiedAt: new Date(),
includeCalendarEvent: false,
},
});
const redirectUrl = `/workflows/${workflow.id}?autoCreateAgent=true&templateWorkflowId=${templateWorkflowId}`;
redirect(redirectUrl);
} catch (error) {
if (
error &&
typeof error === "object" &&
"digest" in error &&
typeof error.digest === "string" &&
error.digest.startsWith("NEXT_REDIRECT")
) {
throw error;
}
console.error("Failed to create Cal AI workflow:", error);
redirect("/workflows?error=failed-to-create-workflow");
}
};
export default Page;
@@ -24,6 +24,10 @@ export function createWorkflowPageFixture(page: Page) {
} else {
await page.getByTestId("create-button").click();
}
await page.getByTestId(`workflow-option-card-scratch`).click();
await page.getByTestId("continue-button").click();
if (name) {
await fillNameInput(name);
}
+1 -1
View File
@@ -4,7 +4,7 @@ import { test } from "./lib/fixtures";
// Set a consistent viewport size across all environments
test.use({
viewport: { width: 1265, height: 1320 }, // Match the expected dimensions
viewport: { width: 1265, height: 1464 }, // Match the expected dimensions
});
test("Icons render properly", async ({ page }) => {
Binary file not shown.

Before

Width:  |  Height:  |  Size: 239 KiB

After

Width:  |  Height:  |  Size: 248 KiB

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="345" height="138" fill="none"><g clip-path="url(#a)"><path fill="#262543" d="M190.792 16.5h76.416c5.922 0 10.334 0 13.831.286 3.491.285 6.026.852 8.202 1.961a20.623 20.623 0 0 1 9.012 9.012c1.109 2.176 1.676 4.711 1.961 8.202.286 3.497.286 7.909.286 13.831v94.416c0 5.922 0 10.334-.286 13.831-.285 3.491-.852 6.026-1.961 8.202a20.623 20.623 0 0 1-9.012 9.012c-2.176 1.109-4.711 1.676-8.202 1.961-3.497.286-7.909.286-13.831.286h-76.416c-5.922 0-10.334 0-13.831-.286-3.491-.285-6.026-.852-8.202-1.961a20.623 20.623 0 0 1-9.012-9.012c-1.109-2.176-1.676-4.711-1.961-8.202-.286-3.497-.286-7.909-.286-13.831V49.792c0-5.922 0-10.334.286-13.831.285-3.49.852-6.026 1.961-8.202a20.623 20.623 0 0 1 9.012-9.012c2.176-1.109 4.711-1.676 8.202-1.96 3.497-.287 7.909-.287 13.831-.287Z"/><path stroke="url(#b)" d="M190.792 16.5h76.416c5.922 0 10.334 0 13.831.286 3.491.285 6.026.852 8.202 1.961a20.623 20.623 0 0 1 9.012 9.012c1.109 2.176 1.676 4.711 1.961 8.202.286 3.497.286 7.909.286 13.831v94.416c0 5.922 0 10.334-.286 13.831-.285 3.491-.852 6.026-1.961 8.202a20.623 20.623 0 0 1-9.012 9.012c-2.176 1.109-4.711 1.676-8.202 1.961-3.497.286-7.909.286-13.831.286h-76.416c-5.922 0-10.334 0-13.831-.286-3.491-.285-6.026-.852-8.202-1.961a20.623 20.623 0 0 1-9.012-9.012c-1.109-2.176-1.676-4.711-1.961-8.202-.286-3.497-.286-7.909-.286-13.831V49.792c0-5.922 0-10.334.286-13.831.285-3.49.852-6.026 1.961-8.202a20.623 20.623 0 0 1 9.012-9.012c2.176-1.109 4.711-1.676 8.202-1.96 3.497-.287 7.909-.287 13.831-.287Z"/><path fill="#F7F7F7" d="M188.74 30.627v-3.433h-.052l-1.037.73v-.699l1.089-.765h.742v4.167h-.742ZM185.743 30.627v-.8h-2.039v-.61l.329-.562a54.437 54.437 0 0 1 .682-1.12c.115-.185.23-.367.343-.546.116-.181.231-.358.347-.529h1.048v2.752h.563v.615h-.563v.8h-.71Zm-1.346-1.397h1.357v-2.175h-.043l-.263.404-.269.425c-.09.144-.18.29-.268.436a32.092 32.092 0 0 0-.514.866v.044ZM182.41 30.067a.444.444 0 0 1-.459-.453.446.446 0 0 1 .459-.456.44.44 0 0 1 .329.132c.087.087.13.195.13.323a.444.444 0 0 1-.459.454Zm0-2.143a.444.444 0 0 1-.459-.453.446.446 0 0 1 .459-.456.44.44 0 0 1 .329.132c.087.087.13.195.13.324a.444.444 0 0 1-.459.453ZM179.433 26.356c.223 0 .435.042.635.124.2.081.378.208.532.382.155.17.278.391.366.66.089.268.133.59.133.968v.006c0 .468-.067.868-.202 1.201a1.69 1.69 0 0 1-.58.768c-.251.177-.55.266-.899.266-.256 0-.487-.046-.693-.139a1.42 1.42 0 0 1-.508-.386 1.346 1.346 0 0 1-.268-.566l-.006-.032h.73l.012.029a.722.722 0 0 0 .404.424.894.894 0 0 0 .329.058c.22 0 .399-.065.538-.194.14-.13.245-.305.314-.522.072-.22.112-.462.122-.728.002-.029.002-.057.002-.084v-.084l-.129-.695a.859.859 0 0 0-.11-.43.82.82 0 0 0-1.43-.01.804.804 0 0 0-.112.422v.006c0 .162.035.305.107.43.071.123.168.22.291.292a.828.828 0 0 0 .422.107.859.859 0 0 0 .424-.104.774.774 0 0 0 .298-.289.806.806 0 0 0 .11-.419v-.005h.173v.768h-.101a.99.99 0 0 1-.223.306c-.098.094-.219.17-.363.228-.143.058-.31.087-.503.087-.266 0-.5-.06-.705-.18a1.302 1.302 0 0 1-.482-.49 1.432 1.432 0 0 1-.173-.705v-.006c0-.283.065-.534.196-.753a1.4 1.4 0 0 1 .549-.52c.235-.127.501-.19.8-.19ZM287.143 27.912v1.417c.279-.12.462-.4.462-.709a.771.771 0 0 0-.462-.709ZM278.793 28.336c0-.487 0-.731.095-.917a.865.865 0 0 1 .38-.38c.186-.095.43-.095.917-.095h4.522c.487 0 .731 0 .917.095a.865.865 0 0 1 .38.38c.095.186.095.43.095.917v.348c0 .487 0 .73-.095.916a.866.866 0 0 1-.38.38c-.186.095-.43.095-.917.095h-4.522c-.487 0-.731 0-.917-.095a.866.866 0 0 1-.38-.38c-.095-.186-.095-.43-.095-.917v-.347Z"/><path fill="#F7F7F7" fill-rule="evenodd" d="M272.625 27.328c.866 0 1.698.32 2.325.896a.123.123 0 0 0 .169-.001l.451-.44a.119.119 0 0 0 .037-.086.118.118 0 0 0-.038-.085c-1.645-1.522-4.242-1.522-5.888 0a.117.117 0 0 0-.037.085.118.118 0 0 0 .036.086l.452.44a.123.123 0 0 0 .169.001 3.44 3.44 0 0 1 2.324-.896Zm-.001 1.468c.472 0 .928.178 1.278.5a.12.12 0 0 0 .168-.002l.448-.46a.131.131 0 0 0 .036-.09.126.126 0 0 0-.038-.09 2.748 2.748 0 0 0-3.782 0 .127.127 0 0 0-.002.18l.448.46a.12.12 0 0 0 .168.002c.349-.322.804-.5 1.276-.5Zm.878.972a.141.141 0 0 1-.035.098l-.757.854a.114.114 0 0 1-.084.039.111.111 0 0 1-.084-.04l-.758-.853a.141.141 0 0 1-.035-.098c0-.037.015-.071.039-.096a1.194 1.194 0 0 1 1.675 0c.025.025.039.06.039.096ZM267.035 26.833c0-.22-.166-.398-.371-.398h-.371c-.205 0-.371.178-.371.398v3.456c0 .22.166.399.371.399h.371c.205 0 .371-.178.371-.399v-3.456Zm-2.586.452h.371c.205 0 .371.183.371.409v2.586c0 .225-.166.408-.371.408h-.371c-.205 0-.372-.183-.372-.408v-2.586c0-.226.167-.409.372-.409Zm-1.507.922h-.371c-.205 0-.372.185-.372.413v1.654c0 .229.167.414.372.414h.371c.205 0 .371-.185.371-.413V28.62c0-.228-.166-.413-.371-.413Zm-1.844.85h-.372c-.204 0-.371.183-.371.408v.815c0 .226.167.408.371.408h.372c.204 0 .371-.182.371-.408v-.815c0-.225-.167-.407-.371-.407Z" clip-rule="evenodd"/><path fill="#B2B2B2" d="M270.752 57.498c-.322 0-.642-.061-.957-.185a2.34 2.34 0 0 1-.855-.6c-.254-.277-.457-.642-.61-1.094-.153-.456-.23-1.016-.23-1.68v-.01c0-.8.108-1.484.323-2.05.215-.57.524-1.Line truncated

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

+63
View File
@@ -0,0 +1,63 @@
<svg width="19" height="18" viewBox="0 0 19 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_7367_19010)">
<g filter="url(#filter0_ddiiii_7367_19010)">
<path d="M3.83886 2.25C3.02282 2.25 2.30939 2.92142 2.36335 3.7963C2.75857 10.2041 7.8848 15.3303 14.2926 15.7255C15.1674 15.7795 15.8389 15.066 15.8389 14.25V11.958C15.8389 11.2956 15.4044 10.7116 14.7699 10.5213L12.7334 9.91035C12.2049 9.75179 11.632 9.89623 11.2418 10.2864L10.68 10.8482C9.24287 10.0389 8.04994 8.84599 7.24071 7.40881L7.80243 6.84709C8.19263 6.45689 8.33707 5.88396 8.17851 5.35541L7.56758 3.31898C7.37724 2.6845 6.79325 2.25 6.13084 2.25H3.83886Z" fill="url(#paint0_linear_7367_19010)"/>
<path d="M12.09 2.25C11.6758 2.25 11.34 2.58579 11.34 3C11.34 3.41421 11.6758 3.75 12.09 3.75H13.2793L10.8096 6.21967C10.5167 6.51256 10.5167 6.98744 10.8096 7.28033C11.1025 7.57322 11.5774 7.57322 11.8703 7.28033L14.34 4.81066V6C14.34 6.41421 14.6758 6.75 15.09 6.75C15.5042 6.75 15.84 6.41421 15.84 6V3C15.84 2.58579 15.5042 2.25 15.09 2.25H12.09Z" fill="url(#paint1_linear_7367_19010)"/>
</g>
</g>
<defs>
<filter id="filter0_ddiiii_7367_19010" x="-2.58388" y="-1.03125" width="23.3682" height="23.9514" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feOffset dy="2.24743"/>
<feGaussianBlur stdDeviation="2.47217"/>
<feComposite in2="hardAlpha" operator="out"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_7367_19010"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feOffset dy="0.9375"/>
<feGaussianBlur stdDeviation="2.10938"/>
<feComposite in2="hardAlpha" operator="out"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"/>
<feBlend mode="normal" in2="effect1_dropShadow_7367_19010" result="effect2_dropShadow_7367_19010"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_7367_19010" result="shape"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feOffset dy="-0.898973"/>
<feGaussianBlur stdDeviation="1.5732"/>
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24 0"/>
<feBlend mode="normal" in2="shape" result="effect3_innerShadow_7367_19010"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feOffset dy="-1.64062"/>
<feGaussianBlur stdDeviation="5.50781"/>
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
<feColorMatrix type="matrix" values="0 0 0 0 0.6775 0 0 0 0 0.625 0 0 0 0 1 0 0 0 0.5 0"/>
<feBlend mode="normal" in2="effect3_innerShadow_7367_19010" result="effect4_innerShadow_7367_19010"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feMorphology radius="0.9375" operator="erode" in="SourceAlpha" result="effect5_innerShadow_7367_19010"/>
<feOffset/>
<feGaussianBlur stdDeviation="1.40625"/>
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
<feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
<feBlend mode="normal" in2="effect4_innerShadow_7367_19010" result="effect5_innerShadow_7367_19010"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feMorphology radius="0.9375" operator="erode" in="SourceAlpha" result="effect6_innerShadow_7367_19010"/>
<feOffset/>
<feGaussianBlur stdDeviation="1.05469"/>
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
<feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
<feBlend mode="normal" in2="effect5_innerShadow_7367_19010" result="effect6_innerShadow_7367_19010"/>
</filter>
<linearGradient id="paint0_linear_7367_19010" x1="9.13623" y1="2.25" x2="9.13623" y2="15.7284" gradientUnits="userSpaceOnUse">
<stop stop-color="white"/>
<stop offset="1" stop-color="#E3E0F4"/>
</linearGradient>
<linearGradient id="paint1_linear_7367_19010" x1="9.13623" y1="2.25" x2="9.13623" y2="15.7284" gradientUnits="userSpaceOnUse">
<stop stop-color="white"/>
<stop offset="1" stop-color="#E3E0F4"/>
</linearGradient>
<clipPath id="clip0_7367_19010">
<rect width="18" height="18" fill="white" transform="translate(0.0899658)"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 4.6 KiB

+10
View File
@@ -221,6 +221,11 @@
<path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" ></path>
<path d="M12 17h.01" ></path>
</symbol>
<symbol class="lucide lucide-circle-plus" viewBox="0 0 24 24" fill="inherit" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="circle-plus">
<circle cx="12" cy="12" r="10" ></circle>
<path d="M8 12h8" ></path>
<path d="M12 8v8" ></path>
</symbol>
<symbol class="lucide lucide-circle-x" viewBox="0 0 24 24" fill="inherit" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="circle-x">
<circle cx="12" cy="12" r="10" ></circle>
<path d="m15 9-6 6" ></path>
@@ -520,6 +525,11 @@
<path d="M10.68 13.31a16 16 0 0 0 3.41 2.6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7 2 2 0 0 1 1.72 2v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.42 19.42 0 0 1-3.33-2.67m-2.67-3.34a19.79 19.79 0 0 1-3.07-8.63A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91" ></path>
<line x1="22" x2="2" y1="2" y2="22" ></line>
</symbol>
<symbol class="lucide lucide-phone-outgoing" viewBox="0 0 24 24" fill="inherit" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="phone-outgoing">
<polyline points="22 8 22 2 16 2" ></polyline>
<line x1="16" x2="22" y1="8" y2="2" ></line>
<path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z" ></path>
</symbol>
<symbol class="lucide lucide-phone" viewBox="0 0 24 24" fill="inherit" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="phone">
<path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z" ></path>
</symbol>

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 54 KiB

@@ -819,6 +819,8 @@
"workflow_validation_failed": "Workflow validation failed",
"workflow_validation_empty_fields": "One or more workflow steps have empty message content",
"workflow_validation_unverified_contacts": "One or more phone numbers or email addresses are not verified",
"supercharge_your_workflows_with_cal_ai": "Supercharge your Workflows with Cal.ai",
"supercharge_your_workflows_with_cal_ai_description": "Lifelike AI agents that book meetings, send reminders, and follow up with your customers.",
"phone_number_imported_successfully": "Phone number imported and linked to agent successfully",
"phone_number_deleted_successfully": "Phone number deleted successfully",
"delete_phone_number_confirmation": "Are you sure you want to delete this phone number? This action cannot be undone.",
@@ -1208,6 +1210,7 @@
"categories": "Categories",
"pricing": "Pricing",
"learn_more": "Learn more",
"try_now": "Try now",
"privacy_policy": "Privacy Policy",
"terms_of_service": "Terms of Service",
"remove": "Remove",
@@ -1441,6 +1444,7 @@
"whatsapp_attendee_action": "send WhatsApp message to attendee",
"workflows": "Workflows",
"new_workflow_btn": "New Workflow",
"how_would_you_like_to_start": "How would you like to start?",
"add_new_workflow": "Add a new workflow",
"reschedule_event_trigger": "when event is rescheduled",
"trigger": "Trigger",
@@ -1756,6 +1760,7 @@
"team_url": "Team URL",
"team_members": "Team members",
"more": "More",
"cal_ai_workflows": "Cal.ai Workflows",
"and_count_more": "and {{count}} more",
"more_page_footer": "We view the mobile application as an extension of the web application. If you are performing any complicated actions, please refer back to the web application.",
"workflow_example_1": "Send SMS reminder 24 hours before event starts to attendee",
@@ -1764,6 +1769,18 @@
"workflow_example_4": "Send email reminder 1 hour before events starts to attendee",
"workflow_example_5": "Send custom email when event is rescheduled to host",
"workflow_example_6": "Send custom SMS when new event is booked to host",
"send_sms_reminder": "Send SMS reminder",
"send_sms_reminder_description": "24 hours before event starts",
"follow_up_with_no_shows": "Follow up with no shows",
"follow_up_with_no_shows_description": "30m after event ends",
"remind_attendees_to_bring_id": "Remind attendees to bring ID",
"remind_attendees_to_bring_id_description": "1 day before event starts",
"email_to_remind_booking": "Email Reminder",
"email_to_remind_booking_description": "1 hour before event starts",
"custom_sms_reminder": "Custom SMS Reminder",
"custom_sms_reminder_description": "When event is scheduled",
"custom_email_reminder": "Custom Email Reminder",
"custom_email_reminder_description": "Event is rescheduled to host",
"count_managed_to_limit": "Include booking counts from managed event types",
"welcome_to_cal_header": "Welcome to {{appName}}!",
"edit_form_later_subtitle": "You'll be able to edit this later.",
@@ -2187,6 +2204,8 @@
"show_on_booking_page": "Show on booking page",
"visit_cancelled_booking": "You can visit the canceled booking page",
"get_started_zapier_templates": "Get started with Zapier templates",
"standard_templates": "Standard Templates",
"cal_ai_templates": "Cal.ai Templates",
"team_is_unpublished": "{{team}} is unpublished",
"org_is_unpublished_description": "This organization link is currently not available. Please contact the organization owner or ask them to publish it.",
"team_is_unpublished_description": "This team link is currently not available. Please contact the team owner or ask them to publish it.",
@@ -2754,6 +2773,8 @@
"account_already_linked": "Account is already linked",
"send_email": "Send email",
"cal_ai_phone_call_action": "Call attendee using Cal.ai Voice Agent",
"call_to_confirm_booking": "Call to confirm booking",
"cal_ai_phone_call_action_description": "2 hrs before event starts",
"cal_ai_agent_configuration": "Cal.ai Agent Configuration",
"choose_at_least_one_event_type_test_call": "Please choose at least one event type to make a test call.",
"mark_as_no_show": "Mark as no-show",
@@ -3658,5 +3679,9 @@
"cancel_booking_acknowledge_no_show_fee": "I acknowledge that by cancelling the booking within {{timeValue}} {{timeUnit}} of the start time I will be charged the no show fee of {{amount, currency}}",
"contact_organizer": "If you have any questions, please contact the organizer.",
"testing_sms_workflow_info_message": "When testing this workflow, be aware that SMS need to be scheduled at least 15 minutes in advance",
"start_from_scratch_title": "Start from scratch",
"start_from_scratch_description": "Create your own workflow from scratch.",
"cal_ai_template_title": "Cal.ai template",
"cal_ai_template_description": "AI agents that book meetings, send reminders, and follow up!",
"ADD_NEW_STRINGS_ABOVE_THIS_LINE_TO_PREVENT_MERGE_CONFLICTS": "↑↑↑↑↑↑↑↑↑↑↑↑↑ Add your new strings above here ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑"
}
+4
View File
@@ -106,6 +106,8 @@
--cal-bg-error: hsla(3, 66%, 93%, 1); /* #f9e3e2 - error backgrounds */
--cal-bg-dark-error: hsla(2, 55%, 30%, 1); /* Keeping existing dark error */
--cal-bg-launch-dark: hsla(242, 53%, 10%, 1); /* #0D0C27 - Launch card dark background */
/* Borders */
--cal-border-emphasis: hsla(218, 11%, 65%, 1); /* gray.400 - input:hover */
--cal-border: hsla(216, 12%, 84%, 1); /* gray.300 - inputs */
@@ -196,6 +198,8 @@
--cal-bg-visualization-7-subtle: hsla(0, 70%, 35%, 1); /* red-200 */
--cal-bg-visualization-7-emphasis: hsla(0, 84%, 60%, 1); /* red-500 */
--cal-bg-launch-dark: hsla(242, 53%, 10%, 1); /* #0D0C27 - Launch card dark background */
/* Legacy Background Components - Consider deprecating */
--cal-bg-info: hsla(228, 56%, 33%, 1); /* Keeping existing info background */
--cal-bg-success: hsla(133, 34%, 24%, 1); /* Keeping existing success background */