import { useLocation } from "@docusaurus/router";

<p>
  Please refer to the{" "}
  <a
    href={`https://tailwindcss.com/docs/${useLocation()
      .pathname.split("/")
      .pop()}`}
  >
    documentation on the Tailwind CSS website
  </a>
</p>
