mirror of
https://github.com/Radiquum/AniX.git
synced 2025-09-05 22:15:36 +05:00
13 lines
540 B
TypeScript
13 lines
540 B
TypeScript
import Link from "next/link";
|
|
|
|
// TODO: сделать какую-нибудь анимацию на ссылке при наведении и фокусе
|
|
export const ReleaseInfoSearchLink = (props: { title: string, searchBy: string }) => {
|
|
return (
|
|
<Link
|
|
className="text-gray-700 transition-colors duration-300 hover:text-black dark:text-gray-300 hover:dark:text-white"
|
|
href={`/search?query=${props.title}¶ms={"where"%3A"releases"%2C"searchBy"%3A"${props.searchBy}"}`}
|
|
>
|
|
{props.title}
|
|
</Link>
|
|
);
|
|
};
|