fix: torrent size

This commit is contained in:
ner committed 2024-03-19 20:15:42 +02:00
1 parent 8d7e2df869
commit c6d306cb7b
22 files changed
+1638 -300

No files matched your search

@@ -22,7 +22,7 @@ export default function Actions({ onClose, movie }: Props) {
<Button
className='h-8 grow'
onClick={() => {
router.push(`/top?similar=${movie.id}&title=${encodeURIComponent(movie.title)}`);
router.push(`/similar?movieId=${movie.id}&title=${encodeURIComponent(movie.title)}`);
onClose?.();
}}
>
+3 -3
View File
@@ -21,9 +21,9 @@ interface Props {
const variants = {
enter: (direction: number) => ({
scale: 0.8,
opacity: 0,
[direction === 0 ? 'y' : 'x']: direction === 0 ? -100 : direction * 300
scale: direction === 0 ? 1 : 0.8,
opacity: direction === 0 ? 1 : 0,
x: direction === 0 ? 0 : direction * 300
}),
center: { x: 0, opacity: 1, y: 0, scale: 1 },
exit: (direction: number) => ({ scale: 0.8, opacity: 1, x: direction * -300 })