Skip to content
Snippets Groups Projects
Commit e2015710 authored by Bilel El Yaagoubi's avatar Bilel El Yaagoubi
Browse files

component Movie

parent 75e8a81e
Branches
No related tags found
1 merge request!5Draft: Front bilel
Pipeline #42323 passed
<template>
<div class="child">
<img
class="movieImage"
:src="'https://image.tmdb.org/t/p/original/' + movie.poster_path"
/>
<h2>{{ movie.title }}</h2>
<h3>{{ movie.release_date }}</h3>
</div>
</template>
<script>
export default {
props: {
movie: Array,
},
};
</script>
<style scoped>
.movieImage {
width: 50%;
}
.child {
margin-left: auto;
margin-right: auto;
}
table {
border-collapse: collapse;
}
th,
td {
border: 1px solid #000000;
padding: 10px;
}
</style>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment