);
}
+
+export function TipBanner() {
+ const { t } = useLocale();
+ const [animationRef] = useAutoAnimate
();
+
+ const bannerTips = [
+ {
+ id: 1,
+ img: "/team-banner-background-small.jpg",
+ title: t("calcom_is_better_with_team"),
+ subtitle: t("add_your_team_members"),
+ href: `${WEBAPP_URL}/settings/teams/new`,
+ learnMoreHref: "https://go.cal.com/teams-video",
+ },
+ ];
+ const { list, handleRemoveItem } = useLocalList("removedBannerIds", bannerTips);
+
+ return (
+
+ {list.map((tip) => {
+ return (
+
+
+
{tip.title}
+
{tip.subtitle}
+
+
+ {tip.learnMoreHref && (
+
+ )}
+
+
+
+
+ );
+ })}
+
+ );
+}
diff --git a/packages/ui/v2/core/index.ts b/packages/ui/v2/core/index.ts
index 16e81e93c3..3b6cf54392 100644
--- a/packages/ui/v2/core/index.ts
+++ b/packages/ui/v2/core/index.ts
@@ -56,3 +56,4 @@ export { default as Switch } from "./Switch";
export { default as Tooltip } from "./Tooltip";
export { default as VerticalDivider } from "./VerticalDivider";
export { default as WizardForm } from "./WizardForm";
+export { TipBanner } from "./Tips";
diff --git a/packages/ui/v2/modules/tips/index.ts b/packages/ui/v2/modules/tips/index.ts
deleted file mode 100644
index a9d8373d86..0000000000
--- a/packages/ui/v2/modules/tips/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export { default as Tips } from "./Tips";