Skip to content
Snippets Groups Projects
Commit 1269a5f7 authored by Tomáš Havlíček's avatar Tomáš Havlíček
Browse files

feat: main page recent movies style sync

parent 1150362f
No related branches found
No related tags found
No related merge requests found
......@@ -200,25 +200,25 @@ export const Preview: React.FC = () => {
<Divider/>
<Card title="Recent movies" >
<Space style={{ display: 'flex', padding: "5 %", justifyContent: "flex-end", width:"fit-content", overflow: "auto"}}>
{cardsDataExample2.map((movie) => {
return (
<>
<Link to={`/movie/${movie.id}`}>
<Card
hoverable
style={{
width: 240,
}}
cover={<img alt={movie.name} src={movie.picture} />}
>
<Meta title={movie.name} description={movie.originalName} />
</Card>
</Link>
</>
);
})}
</Space>
<Row justify="space-evenly" gutter={50}>
{cardsDataExample2.map((movie) => {
return (
<Col flex={1}>
<Link to={`/movie/${movie.id}`}>
<Card
hoverable
style={{
width: "240px",
}}
cover={<img alt={movie.name} src={movie.picture} />}
>
<Meta title={movie.name} description={movie.originalName} />
</Card>
</Link>
</Col>
);
})}
</Row>
</Card>
</Space>
)};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment