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

Please refer to the{" "} documentation on the Tailwind CSS website