From 6987b7b846dd9ee768b70b95680f3eace6600306 Mon Sep 17 00:00:00 2001 From: nirav Date: Mon, 3 Mar 2025 23:11:46 +0545 Subject: [PATCH 1/3] fix card to use Docusaurus Link --- src/components/Extras/Card/Card.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Extras/Card/Card.tsx b/src/components/Extras/Card/Card.tsx index d8c88692..2903610c 100644 --- a/src/components/Extras/Card/Card.tsx +++ b/src/components/Extras/Card/Card.tsx @@ -1,4 +1,5 @@ import React, { ComponentPropsWithoutRef, ElementType, ReactNode, Ref } from "react"; +import Link from "@docusaurus/Link"; import styles from "./Card.module.css"; import clsx from "clsx"; import { CardImage } from "./CardImage"; @@ -57,7 +58,7 @@ export function Card({ titleIcon, ...props }: CardProps) { - const Component = as || props.href != undefined ? "a" : "div"; + const Component = as || props.href != undefined ? Link : "div"; const isImageSrc: boolean = typeof icon === "string"; const renderIcon: JSX.Element = ( From 5a18d7f6a7b64688451409b1bfa9d3520d65bce3 Mon Sep 17 00:00:00 2001 From: nirav Date: Tue, 4 Mar 2025 00:07:50 +0545 Subject: [PATCH 2/3] fix links --- src/pages/internal/extras/Card.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/internal/extras/Card.mdx b/src/pages/internal/extras/Card.mdx index b03f6e82..f1ff2ce3 100644 --- a/src/pages/internal/extras/Card.mdx +++ b/src/pages/internal/extras/Card.mdx @@ -259,7 +259,7 @@ High-performance realtime and compatible APIs High-throughput, compliant, programmable SMS and MMS @@ -287,14 +287,14 @@ Send and receive faxes Low-code, server-optional application builder Incorporate AI functionality in minutes From 98a6a7f0204e79f58469166c809eaff88e57c69b Mon Sep 17 00:00:00 2001 From: nirav Date: Tue, 4 Mar 2025 01:08:02 +0545 Subject: [PATCH 3/3] empty commit --- src/components/Blog/ReleaseCard/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/Blog/ReleaseCard/index.tsx b/src/components/Blog/ReleaseCard/index.tsx index 06ee5e41..49ad6f90 100644 --- a/src/components/Blog/ReleaseCard/index.tsx +++ b/src/components/Blog/ReleaseCard/index.tsx @@ -59,3 +59,6 @@ export default function ReleaseCard({ library, version, releaseType }: ReleaseCa ); } + + +