Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PB138 - Film Database Group Project
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tomáš Havlíček
PB138 - Film Database Group Project
Commits
1269a5f7
There was an error fetching the commit references. Please try again later.
Commit
1269a5f7
authored
2 years ago
by
Tomáš Havlíček
Browse files
Options
Downloads
Patches
Plain Diff
feat: main page recent movies style sync
parent
1150362f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
frontend/src/components/Preview.tsx
+19
-19
19 additions, 19 deletions
frontend/src/components/Preview.tsx
with
19 additions
and
19 deletions
frontend/src/components/Preview.tsx
+
19
−
19
View file @
1269a5f7
...
...
@@ -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
:
"
240
px
"
,
}
}
cover
=
{
<
img
alt
=
{
movie
.
name
}
src
=
{
movie
.
picture
}
/>
}
>
<
Meta
title
=
{
movie
.
name
}
description
=
{
movie
.
originalName
}
/>
</
Card
>
</
Link
>
</
Col
>
);
})
}
</
Row
>
</
Card
>
</
Space
>
)};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment