mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
28 lines
625 B
TypeScript
28 lines
625 B
TypeScript
import React from "react";
|
|
import Link from "@docusaurus/Link";
|
|
import clsx from "clsx";
|
|
|
|
type Props = {
|
|
className?: string;
|
|
};
|
|
|
|
export const CommonHomeButton = ({ className }: Props) => {
|
|
return (
|
|
<Link
|
|
href="/"
|
|
className={clsx(
|
|
"text-base",
|
|
"text-gray-500 dark:text-gray-400",
|
|
"no-underline",
|
|
"transition-colors",
|
|
"duration-200",
|
|
"ease-in-out",
|
|
"whitespace-nowrap",
|
|
className,
|
|
)}
|
|
>
|
|
OpenPanel Home
|
|
</Link>
|
|
);
|
|
};
|