follow up: 4978 cal 87 re add tip in sidebar (#5016)

pull/5283/head^2
Peer Richelsen 2022-10-31 08:11:24 +00:00 committed by GitHub
parent 5bb868d2c3
commit d6fc551950
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 3 deletions

View File

@ -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>

View File

@ -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";

View File

@ -65,7 +65,7 @@ export default function Tips() {
return (
<div
className="mb-4 hidden lg:grid"
ref={animationRef}
/* ref={animationRef} */
style={{
gridTemplateColumns: "1fr",
}}>