+
{
!contentNotTranslated && isRtl ? "-scale-x-100" : ""
)}
/>
-
-
-
- {t(isPrev ? "previous" : "next")}
-
+
+
+ {t(isPrev ? "previous" : "next")}
{
trackCustomEvent({
eventCategory: "next/previous article DocsNav",
@@ -93,6 +71,8 @@ const CardLink = ({ docData, isPrev, contentNotTranslated }: CardLinkProps) => {
eventName: isPrev ? "previous" : "next",
})
}}
+ className={cn("underline", isPrev ? "text-start" : "text-end")}
+ rel={isPrev ? "prev" : "next"}
>
{t(docData.id)}
@@ -145,19 +125,13 @@ const DocsNav = ({ contentNotTranslated }: DocsNavProps) => {
currentIndex + 1 < docsArray.length ? docsArray[currentIndex + 1] : null
return (
-
{previousDoc ? (
{
isPrev
/>
) : (
-
+
)}
{nextDoc ? (
{
contentNotTranslated={contentNotTranslated}
/>
) : (
-
+
)}
-
+
)
}