Merge remote-tracking branch 'origin/feat_player'

This commit is contained in:
Kentai Radiquum 2024-07-29 21:39:37 +05:00
parent bb437fe7ca
commit 25e31a7799
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
62 changed files with 1508 additions and 701 deletions

View file

@ -0,0 +1,21 @@
import Link from "next/link";
// const searchBy = {
// title: 0,
// studio: 1,
// director: 2,
// author: 3,
// genre: 4
// }
// TODO: сделать какую-нибудь анимацию на ссылке при наведении и фокусе
export const ReleaseInfoSearchLink = (props: { title: string, searchBy: string | number | null }) => {
return (
<Link
className="underline"
href={`/search?q=${props.title}&searchBy=${props.searchBy}`}
>
{props.title}
</Link>
);
};