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