Skip to content

Commit 475536a

Browse files
intentando subir la app a netlify
1 parent 8c015ce commit 475536a

File tree

8 files changed

+25
-19
lines changed

8 files changed

+25
-19
lines changed

_redirects

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/* /index.html 200

src/App.vue

+4-8
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ html {
3636
font-size: 62.5%;
3737
height: 100%;
3838
width: 100%;
39+
40+
@include respond(tab-land) {
41+
font-size: 56.25%;
42+
}
3943
}
4044
4145
body {
@@ -46,14 +50,6 @@ body {
4650
line-height: 1.7;
4751
background-color: $color-bg;
4852
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-
}
5753
}
5854
5955
ul {

src/components/grid/CardGridItem.vue

+1-4
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,7 @@ $border-radius: 1.5rem;
5959
width: 100%;
6060
height: 45rem;
6161
@include respond(tab-port) {
62-
height: 40rem;
63-
}
64-
@include respond(phone) {
65-
height: 55rem;
62+
height: 70rem;
6663
}
6764
}
6865

src/components/single_page/ItemInfo.vue

+3
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,7 @@ export default {
7676
margin-bottom: 2rem;
7777
font-style: italic;
7878
}
79+
.title-sub {
80+
color: #fff !important;
81+
}
7982
</style>

src/components/swiper/CardSwiper.vue

+12-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<div class="swiper">
33
<vue-card-stack
44
: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"
99
>
1010
<template v-slot:card="{ card }">
1111
<CardSwiperItem :item="card" />
@@ -19,6 +19,14 @@ import CardSwiperItem from './CardSwiperItem.vue';
1919
import VueCardStack from 'vue-card-stack';
2020
export default {
2121
props: { items: Array },
22+
data() {
23+
return {
24+
stackWidth: 800,
25+
cardWidth: 500,
26+
cardHeight: 700,
27+
visibleCards: 10
28+
};
29+
},
2230
components: {
2331
VueCardStack,
2432
CardSwiperItem

src/services/Movies.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default {
1818
},
1919
getNowPlaying(page) {
2020
return instance
21-
.get(`${RESOURCE}/now_playing?page=${page}&language=es_ES`)
21+
.get(`${RESOURCE}/now_playing?page=${page}&language=es_ES&region=ES`)
2222
.then(response => response.data['results']);
2323
},
2424
getById(id) {

src/services/Shows.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default {
1818
},
1919
getNowPlaying(page) {
2020
return instance
21-
.get(`${RESOURCE}/airing_today?page=${page}&language=es_ES&region=ES`)
21+
.get(`${RESOURCE}/airing_today?page=${page}&language=es_ES`)
2222
.then(response => response.data['results']);
2323
},
2424
getById(id) {

src/views/Items.vue

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
<div v-else>
77
<h2 class="title">Populares ahora</h2>
88
<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>
1011
<CardGrid :items="nowPlaying" :busy="busy" @loadNext="loadNext" />
1112
<h3 v-if="completed" style="margin-top: 3rem; text-align:center;">
1213
No hay más resultados para mostrar. &#128552;

0 commit comments

Comments
 (0)