diff --git a/documentation/src/refine-theme/blog-footer.tsx b/documentation/src/refine-theme/blog-footer.tsx index 44b2125e9c2be..41a9bba765bfc 100644 --- a/documentation/src/refine-theme/blog-footer.tsx +++ b/documentation/src/refine-theme/blog-footer.tsx @@ -2,7 +2,7 @@ import Link from "@docusaurus/Link"; import clsx from "clsx"; import React from "react"; -import { socialLinks } from "./footer-data"; +import { comparisonLinks, socialLinks } from "./footer-data"; import { RefineLogoSingleIcon } from "./icons/refine-logo-single"; export const BlogFooter = () => { @@ -51,7 +51,8 @@ export const BlogFooter = () => { "h-6", "flex-row", "items-center", - "justify-end", + "justify-center", + "blog-md:justify-end", "gap-4", "not-prose", )} @@ -150,6 +151,74 @@ export const BlogFooter = () => { CORE + + {/* Desktop-only comparison links, inline with muted style */} + {comparisonLinks.map(({ href, label }) => ( + + + / + + + {label} + + + ))} + + + {/* Comparison links — separate muted row on mobile, inline on desktop */} +
+ {comparisonLinks.map(({ href, label }) => ( + + {label} + + ))}
{ @@ -50,6 +50,19 @@ export const CommonFooter = () => { > Tutorial + {comparisonLinks.map(({ href, label }) => ( + + {label} + + ))}
Join us on
{ return ( @@ -61,6 +61,19 @@ export const TutorialFooter = () => { > Documentation + {comparisonLinks.map(({ href, label }) => ( + + {label} + + ))}