diff --git a/app/(site)/container.tsx b/app/(site)/container.tsx index 2c40561..7877fe8 100644 --- a/app/(site)/container.tsx +++ b/app/(site)/container.tsx @@ -59,7 +59,7 @@ export default function Container() { {...slideEffectProps} > {movies?.map((movie, index) => ( - + ))} diff --git a/app/layout.tsx b/app/layout.tsx index 668a2f2..62e4b77 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -31,7 +31,7 @@ export default function RootLayout({ children }: { children: ReactNode }) {
-
{children}
+
{children}
diff --git a/components/Header/index.tsx b/components/Header/index.tsx index 6bbeb68..f4f1a80 100644 --- a/components/Header/index.tsx +++ b/components/Header/index.tsx @@ -9,10 +9,10 @@ import ToggleTheme from './components/ThemeToggle'; const Header: FC = () => (
-
+
- Movie advisor + Movie advisor
diff --git a/components/Movie/Card.tsx b/components/Movie/Card.tsx index 9ef71fa..bf78b84 100644 --- a/components/Movie/Card.tsx +++ b/components/Movie/Card.tsx @@ -27,18 +27,13 @@ const Card: FC = ({ movie, onClick, fit }) => {
- - - + + +
diff --git a/components/Movie/List.tsx b/components/Movie/List.tsx index bd6dfcc..9d91e02 100644 --- a/components/Movie/List.tsx +++ b/components/Movie/List.tsx @@ -69,7 +69,7 @@ const List: FC = ({ pages, hasNextPage, fetchNextPage, withBottomGap = tr setLoader(element!) : undefined} > showPreviewModal({ movie, onClose: onPreviewClose })} /> diff --git a/components/Movie/Preview/index.tsx b/components/Movie/Preview/index.tsx index d65fd24..1f6c139 100644 --- a/components/Movie/Preview/index.tsx +++ b/components/Movie/Preview/index.tsx @@ -29,7 +29,7 @@ const Preview: FC = ({ movie, className, onClose, children, card, fit })
{card || }
- {children &&
{children}
} + {children &&
{children}
}
diff --git a/components/Movie/components/Poster/index.tsx b/components/Movie/components/Poster/index.tsx index 01c6b6c..b1a5d5d 100644 --- a/components/Movie/components/Poster/index.tsx +++ b/components/Movie/components/Poster/index.tsx @@ -1,21 +1,16 @@ import { FC } from 'react'; import { ImageOff } from 'lucide-react'; -import { cn } from '@/lib/utils'; - interface Props { title: string; poster: string; size: number; - className?: string; } -const Poster: FC = ({ title, poster, size = 250, className }) => { +const Poster: FC = ({ title, poster, size = 250 }) => { return poster ? ( {title}