Update landing-github-star-button.tsx

This commit is contained in:
Stefan Pejcic 2024-08-28 19:38:48 +02:00 committed by GitHub
parent a40ad16e6f
commit 32cce3dd74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,25 +3,31 @@ import React from "react";
export const LandingGithubStarButton = () => { export const LandingGithubStarButton = () => {
return ( return (
<a <Link
href="/demo" to="https://demo.openpanel.org/openpanel/"
rel="noreferrer" className={clsx(
className={clsx( "self-start",
"flex gap-2 items-center", "rounded-3xl",
"font-normal", "!text-gray-0 dark:!text-gray-900",
"text-sm leading-6", "bg-refine-blue dark:bg-refine-cyan-alt",
"text-gray-500 dark:text-gray-400", "transition-[filter]",
"hover:text-gray-400 dark:hover:text-gray-300", "duration-150",
"hover:no-underline", "ease-in-out",
"transition-colors", "hover:brightness-110",
"duration-200", "py-2",
"ease-in-out", "pl-7 pr-8",
)} "landing-md:px-8",
> "landing-lg:pl-7 landing-lg:pr-8",
"flex",
<div className={clsx("flex items-center", "w-10 h-6")}> "items-center",
<span>Demo</span> "justify-center",
</div> "gap-2",
</a> "hover:!no-underline",
)}
>
<span className={clsx("text-base", "font-semibold")}>
Try Demo
</span>
</Link>
); );
}; };