feat: Initialize project

This commit is contained in:
ner committed 2023-08-05 12:28:04 +03:00
1 parent eccc32337f
commit 3c1050898e
65 files changed
+5661 -596

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
'use client';
import { RefreshCcwDot } from 'lucide-react';
import Movie from '@/components/Movie/Preview';
import { Button } from '@/components/ui/button';
import useRandomMovie from './useRandomMovie';
export default function Container() {
const { movie, next } = useRandomMovie();
return (
<>
<Button className='w-full mb-2 p-2' onClick={next} title='Next movie'>
<RefreshCcwDot size={24} strokeWidth={1} />
</Button>
<Movie movie={movie} />
</>
);
}