chore: changed "routing" icon (#19211)

* changed routing icon

* new routing badge
This commit is contained in:
Peer Richelsen authored and GitHub committed 2025-02-10 08:54:32 +00:00
1 parent 668304a7cd
commit 52775dd27c
6 files changed
+15 -4

No files matched your search

+6
View File
@@ -595,6 +595,12 @@
<path d="M4 17v2" ></path>
<path d="M5 18H3" ></path>
</symbol>
<symbol class="lucide lucide-split" viewBox="0 0 24 24" fill="inherit" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="split">
<path d="M16 3h5v5" ></path>
<path d="M8 3H3v5" ></path>
<path d="M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3" ></path>
<path d="m15 9 6-6" ></path>
</symbol>
<symbol class="lucide lucide-square-check" viewBox="0 0 24 24" fill="inherit" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="square-check">
<rect width="18" height="18" x="3" y="3" rx="2" ></rect>
<path d="m9 12 2 2 4-4" ></path>

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

@@ -150,7 +150,7 @@ export default function RoutingForms({
return (
<LicenseRequired>
<ShellMain
heading={t("routing_forms")}
heading={t("routing")}
CTA={hasPaidPlan && forms?.length ? <NewFormButton /> : null}
subtitle={t("routing_forms_description")}>
<UpgradeTip
@@ -9,6 +9,7 @@ import {
} from "@calcom/features/ee/organizations/context/provider";
import { KBarTrigger } from "@calcom/features/kbar/Kbar";
import { classNames } from "@calcom/lib";
import { Badge } from "@calcom/ui";
import { TeamInviteBadge } from "../TeamInviteBadge";
import type { NavigationItemType } from "./NavigationItem";
@@ -88,9 +89,11 @@ const getNavigationItems = (orgBranding: OrganizationBranding): NavigationItemTy
icon: "ellipsis",
},
{
name: "routing_forms",
name: "routing",
href: "/apps/routing-forms/forms",
icon: "file-text",
icon: "split",
badge: <Badge variant="green">NEW</Badge>,
isCurrent: ({ pathname }) => pathname?.startsWith("/apps/routing-forms/") ?? false,
moreOnMobile: true,
},
+1 -1
View File
@@ -57,7 +57,7 @@ export function UpgradeTip({
/>
</picture>
<div className="relative my-4 px-8 sm:px-14">
<h1 className={classNames("font-cal text-3xl")}>{t(title)}</h1>
<h1 className={classNames("font-cal mt-4 text-3xl")}>{t(title)}</h1>
<p className={classNames("mb-8 mt-4 max-w-sm")}>{t(description)}</p>
{buttons}
</div>
@@ -118,6 +118,7 @@ export const lucideIconList = new Set([
"smartphone",
"sparkles",
"square-check",
"split",
"star",
"sun",
"sunrise",
@@ -120,6 +120,7 @@ export type IconName =
| "sliders-vertical"
| "smartphone"
| "sparkles"
| "split"
| "square-check"
| "star"
| "sun"