Skip to content

Commit

Permalink
feat : Symlink Button
Browse files Browse the repository at this point in the history
  • Loading branch information
heesane committed Nov 22, 2024
1 parent 0059ccb commit 3117cc2
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions next/src/components/shortCutButton.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import Link from "next/link";
import {ExternalLinkIcon} from "lucide-react";

export default function ShortcutButton({
label,
url,
}: {
label: string;
url: string;
}) {

return (
<div>
<Link
href={url}
className="inline-block py-3 text-black dark:text-white bg-white dark:bg-gray-800 rounded-lg shadow-md text-center text-lg transition-colors duration-200
hover:bg-black hover:text-white dark:hover:bg-white dark:hover:text-black"
target="_blank"
rel="noopener noreferrer"
>
{`Let's Go `}{label}
<ExternalLinkIcon className="inline-block w-5 h-5 ml-2"/>
</Link>
</div>

);
}

0 comments on commit 3117cc2

Please sign in to comment.