follow up: 4978 cal 87 re add tip in sidebar (#5016)
parent
5bb868d2c3
commit
d6fc551950
|
@ -93,6 +93,7 @@ export function Card({
|
||||||
)}
|
)}
|
||||||
{variant === "SidebarCard" && (
|
{variant === "SidebarCard" && (
|
||||||
<a
|
<a
|
||||||
|
onClick={actionButton?.onClick}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
href={mediaLink}
|
href={mediaLink}
|
||||||
|
@ -129,7 +130,11 @@ export function Card({
|
||||||
<div className="mt-2 flex items-center justify-between">
|
<div className="mt-2 flex items-center justify-between">
|
||||||
{learnMore && (
|
{learnMore && (
|
||||||
<Link href={learnMore.href}>
|
<Link href={learnMore.href}>
|
||||||
<a target="_blank" rel="noreferrer" className="text-xs font-medium">
|
<a
|
||||||
|
onClick={actionButton?.onClick}
|
||||||
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
|
className="text-xs font-medium">
|
||||||
{learnMore.text}
|
{learnMore.text}
|
||||||
</a>
|
</a>
|
||||||
</Link>
|
</Link>
|
||||||
|
|
|
@ -30,6 +30,7 @@ import Dropdown, {
|
||||||
import { Icon } from "@calcom/ui/Icon";
|
import { Icon } from "@calcom/ui/Icon";
|
||||||
import TimezoneChangeDialog from "@calcom/ui/TimezoneChangeDialog";
|
import TimezoneChangeDialog from "@calcom/ui/TimezoneChangeDialog";
|
||||||
import Button from "@calcom/ui/v2/core/Button";
|
import Button from "@calcom/ui/v2/core/Button";
|
||||||
|
import Tips from "@calcom/ui/v2/modules/tips/Tips";
|
||||||
import showToast from "@calcom/ui/v2/core/notifications";
|
import showToast from "@calcom/ui/v2/core/notifications";
|
||||||
|
|
||||||
/* TODO: Get this from endpoint */
|
/* TODO: Get this from endpoint */
|
||||||
|
@ -37,7 +38,6 @@ import pkg from "../../../../apps/web/package.json";
|
||||||
import ErrorBoundary from "../../ErrorBoundary";
|
import ErrorBoundary from "../../ErrorBoundary";
|
||||||
import { KBarContent, KBarRoot, KBarTrigger } from "../../Kbar";
|
import { KBarContent, KBarRoot, KBarTrigger } from "../../Kbar";
|
||||||
import Logo from "../../Logo";
|
import Logo from "../../Logo";
|
||||||
import Tips from "../modules/tips/Tips";
|
|
||||||
import HeadSeo from "./head-seo";
|
import HeadSeo from "./head-seo";
|
||||||
import { SkeletonText } from "./skeleton";
|
import { SkeletonText } from "./skeleton";
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,7 @@ export default function Tips() {
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className="mb-4 hidden lg:grid"
|
className="mb-4 hidden lg:grid"
|
||||||
ref={animationRef}
|
/* ref={animationRef} */
|
||||||
style={{
|
style={{
|
||||||
gridTemplateColumns: "1fr",
|
gridTemplateColumns: "1fr",
|
||||||
}}>
|
}}>
|
||||||
|
|
Loading…
Reference in New Issue