File tree 8 files changed +25
-19
lines changed
8 files changed +25
-19
lines changed Original file line number Diff line number Diff line change
1
+ /* /index.html 200
Original file line number Diff line number Diff line change @@ -36,6 +36,10 @@ html {
36
36
font-size : 62.5% ;
37
37
height : 100% ;
38
38
width : 100% ;
39
+
40
+ @include respond (tab- land) {
41
+ font-size : 56.25% ;
42
+ }
39
43
}
40
44
41
45
body {
@@ -46,14 +50,6 @@ body {
46
50
line-height : 1.7 ;
47
51
background-color : $color-bg ;
48
52
color : #fff ;
49
-
50
- @include respond (tab- land) {
51
- font-size : 56.25% ;
52
- }
53
-
54
- @include respond (tab- port) {
55
- font-size : 50% ;
56
- }
57
53
}
58
54
59
55
ul {
Original file line number Diff line number Diff line change @@ -59,10 +59,7 @@ $border-radius: 1.5rem;
59
59
width : 100% ;
60
60
height : 45rem ;
61
61
@include respond (tab- port) {
62
- height : 40rem ;
63
- }
64
- @include respond (phone) {
65
- height : 55rem ;
62
+ height : 70rem ;
66
63
}
67
64
}
68
65
Original file line number Diff line number Diff line change @@ -76,4 +76,7 @@ export default {
76
76
margin-bottom : 2rem ;
77
77
font-style : italic ;
78
78
}
79
+ .title-sub {
80
+ color : #fff !important ;
81
+ }
79
82
</style >
Original file line number Diff line number Diff line change 2
2
<div class =" swiper" >
3
3
<vue-card-stack
4
4
:cards =" items"
5
- :stack-width =" 800 "
6
- :card-width =" 500 "
7
- :card-height =" 700 "
8
- :max-visible-cards =" 10 "
5
+ :stack-width =" stackWidth "
6
+ :card-width =" cardWidth "
7
+ :card-height =" cardHeight "
8
+ :max-visible-cards =" visibleCards "
9
9
>
10
10
<template v-slot :card =" { card } " >
11
11
<CardSwiperItem :item =" card" />
@@ -19,6 +19,14 @@ import CardSwiperItem from './CardSwiperItem.vue';
19
19
import VueCardStack from ' vue-card-stack' ;
20
20
export default {
21
21
props: { items: Array },
22
+ data () {
23
+ return {
24
+ stackWidth: 800 ,
25
+ cardWidth: 500 ,
26
+ cardHeight: 700 ,
27
+ visibleCards: 10
28
+ };
29
+ },
22
30
components: {
23
31
VueCardStack,
24
32
CardSwiperItem
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export default {
18
18
} ,
19
19
getNowPlaying ( page ) {
20
20
return instance
21
- . get ( `${ RESOURCE } /now_playing?page=${ page } &language=es_ES` )
21
+ . get ( `${ RESOURCE } /now_playing?page=${ page } &language=es_ES®ion=ES ` )
22
22
. then ( response => response . data [ 'results' ] ) ;
23
23
} ,
24
24
getById ( id ) {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export default {
18
18
} ,
19
19
getNowPlaying ( page ) {
20
20
return instance
21
- . get ( `${ RESOURCE } /airing_today?page=${ page } &language=es_ES®ion=ES ` )
21
+ . get ( `${ RESOURCE } /airing_today?page=${ page } &language=es_ES` )
22
22
. then ( response => response . data [ 'results' ] ) ;
23
23
} ,
24
24
getById ( id ) {
Original file line number Diff line number Diff line change 6
6
<div v-else >
7
7
<h2 class =" title" >Populares ahora</h2 >
8
8
<CardSwiper :items =" popular" />
9
- <h2 class =" title" >En Cines</h2 >
9
+ <h2 class =" title" v-if =" this.type === 'Movies'" >En Cines</h2 >
10
+ <h2 class =" title" v-else >Lo más visto</h2 >
10
11
<CardGrid :items =" nowPlaying" :busy =" busy" @loadNext =" loadNext" />
11
12
<h3 v-if =" completed" style =" margin-top : 3rem ; text-align :center ;" >
12
13
No hay más resultados para mostrar. 😨 ;
You can’t perform that action at this time.
0 commit comments