Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: changed "routing" icon #19211

Merged
merged 3 commits into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading