Frontend/src/app/components/rediect-button.tsx
Liam b939f9b807
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m9s
make them open in a new tab
2024-04-16 19:29:14 +01:00

17 lines
341 B
TypeScript

import Link from "next/link";
type ButtonProps = {
title: string;
url: string;
};
export function RedirectButton({ title, url }: ButtonProps) {
return (
<div className="w-fit rounded-lg">
<Link href={url} target="_blank">
<p className="hover:text-primary transition-all">{title}</p>
</Link>
</div>
);
}