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 ); } + + + 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 = ( 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