mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
59 lines
1.8 KiB
TypeScript
59 lines
1.8 KiB
TypeScript
import Link from "@docusaurus/Link";
|
|
import clsx from "clsx";
|
|
import React from "react";
|
|
|
|
import { DocItemOutlined } from "./icons/doc-item-outlined";
|
|
|
|
export const LandingGhostButton = () => {
|
|
return (
|
|
<Link
|
|
href="/docs/tutorial/introduction/index/"
|
|
className={clsx(
|
|
"relative",
|
|
"text-gray-0",
|
|
"hover:no-underline",
|
|
"hover:text-gray-0",
|
|
"z-[1]",
|
|
"group",
|
|
)}
|
|
>
|
|
<div
|
|
className={clsx(
|
|
"absolute",
|
|
"-left-[1.5px]",
|
|
"-top-[1.5px]",
|
|
"overflow-hidden",
|
|
"rounded-lg",
|
|
"w-[calc(100%+2.5px)] h-[calc(100%+2.5px)]",
|
|
"z-[-1]",
|
|
)}
|
|
>
|
|
<div
|
|
className={clsx(
|
|
"absolute",
|
|
"w-[125%] aspect-square h-auto",
|
|
"left-[-12.5%]",
|
|
"top-[-100px]",
|
|
"bg-landing-ghost",
|
|
"animate-spin-slow",
|
|
"animation-slow-speed",
|
|
)}
|
|
/>
|
|
</div>
|
|
<div className={clsx("bg-refine-bg", "rounded-lg", "px-10 py-3")}>
|
|
<div
|
|
className={clsx(
|
|
"gap-2",
|
|
"flex items-center justify-center",
|
|
"group-hover:scale-105",
|
|
"duration-100 ease-in-out transition-transform",
|
|
)}
|
|
>
|
|
<DocItemOutlined />
|
|
<span className="text-base font-semibold">Get started</span>
|
|
</div>
|
|
</div>
|
|
</Link>
|
|
);
|
|
};
|