❇️V2
This commit is contained in:
15
app/components/link.tsx
Normal file
15
app/components/link.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import type { PropsWithChildren } from "react";
|
||||
|
||||
export default function Link({
|
||||
link,
|
||||
children,
|
||||
}: PropsWithChildren<{ link: string }>) {
|
||||
return (
|
||||
<a
|
||||
className="rounded-md drop-shadow-lg bg-blue-700 px-2 py-1 text-white hover:bg-blue-800"
|
||||
href={link}
|
||||
>
|
||||
{children}
|
||||
</a>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user