diff --git a/components/calendar/MediaDisplay.tsx b/components/calendar/MediaDisplay.tsx new file mode 100644 index 000000000..7fc11db29 --- /dev/null +++ b/components/calendar/MediaDisplay.tsx @@ -0,0 +1,43 @@ +import { Stack, Paper, Image, Group, Title, Badge, Text } from '@mantine/core'; + +export interface IMedia { + id: string; + title: string; + description: string; + poster: string; + type: string; + genres: string[]; +} + +export default function MediaDisplay(props: any) { + const { media }: { media: any } = props; + // Return a movie poster containting the title and the description + return ( + + {media.title} + ({ + height: 400, + })} + > + + {media.title} + {media.overview} + + {/*Add the genres at the bottom of the poster*/} + + {media.genres.map((genre: string, i: number) => ( + {genre} + ))} + + + + ); +}