Skip to content

Commit

Permalink
chore: changed "routing" icon (#19211)
Browse files Browse the repository at this point in the history
* changed routing icon

* new routing badge
  • Loading branch information
PeerRich authored Feb 10, 2025
1 parent 668304a commit 52775dd
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 4 deletions.
6 changes: 6 additions & 0 deletions apps/web/public/icons/sprite.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions packages/features/shell/navigation/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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,
},
Expand Down
2 changes: 1 addition & 1 deletion packages/features/tips/UpgradeTip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions packages/ui/components/icon/icon-list.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export const lucideIconList = new Set([
"smartphone",
"sparkles",
"square-check",
"split",
"star",
"sun",
"sunrise",
Expand Down
1 change: 1 addition & 0 deletions packages/ui/components/icon/icon-names.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export type IconName =
| "sliders-vertical"
| "smartphone"
| "sparkles"
| "split"
| "square-check"
| "star"
| "sun"
Expand Down

0 comments on commit 52775dd

Please sign in to comment.