Skip to content
Snippets Groups Projects
Commit d5d55f46 authored by Juliette Kalflèche's avatar Juliette Kalflèche
Browse files

Merge branch 'user-page' into 'master'

add link in page-perso

See merge request !25
parents 049f0ebc 973cb5a3
No related branches found
No related tags found
1 merge request!25add link in page-perso
Pipeline #42661 passed with warnings
...@@ -14,11 +14,12 @@ ...@@ -14,11 +14,12 @@
<div class="likeList"> <div class="likeList">
<div v-for="movie in likedFilms" :key="movie.id"> <div v-for="movie in likedFilms" :key="movie.id">
<p class="film"> <p class="film">
<img <router-link :to="'/movie/'+ movie.id + '?uid=' + userId"><img
:src="'https://image.tmdb.org/t/p/original/' + movie.poster_path" :src="'https://image.tmdb.org/t/p/original/' + movie.poster_path"
withd="100" withd="100"
height="300" height="300"
/> />
</router-link>
</p> </p>
</div> </div>
</div> </div>
...@@ -32,6 +33,7 @@ export default { ...@@ -32,6 +33,7 @@ export default {
data: function () { data: function () {
return { return {
likedFilms: [], likedFilms: [],
userId: "",
}; };
}, },
methods: { methods: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment