this repo has no description
www.baileykane.co/
1interface ButtonProps {
2 href: string;
3 target?: string;
4 className?: string;
5}
6
7export default function Button({
8 href,
9 target = "_blank",
10 className,
11}: ButtonProps): React.ReactElement {
12 return (
13 <a href={href} target={target}>
14 <button
15 className={`px-4 py-2 font-bold cursor-pointer
16 bg-linear-to-r from-purple-200 to-orange-100 dark:from-purple-500 dark:to-orange-300
17 border border-stone-800 dark:border-stone-200 rounded-full hover:opacity-80 active:opacity-60 ${className}`}
18 >
19 Visit →
20 </button>
21 </a>
22 );
23}