diff --git a/assets/components/actors/actors.vue b/assets/components/actors/actors.vue index 8a516fec..76955bda 100644 --- a/assets/components/actors/actors.vue +++ b/assets/components/actors/actors.vue @@ -79,7 +79,8 @@ class="range" type="range" min="0" - max="10" + max="6" + @change="updateFilters" > String.fromCharCode(index + 97).toUpperCase())), - boobSize: 0, + boobSize: cupSizes.indexOf(this.$route.query.cup || 'A'), naturalBoobs: naturalBoobs > -1 ? naturalBoobs : 1, }; }, diff --git a/assets/components/album/album.vue b/assets/components/album/album.vue index 9f267fe0..f5815ca4 100644 --- a/assets/components/album/album.vue +++ b/assets/components/album/album.vue @@ -174,9 +174,9 @@ export default { box-sizing: border-box; padding: .5rem; color: var(--text-light); - background: var(--shadow); + background: var(--darken); font-size: .9rem; - text-shadow: 0 0 3px var(--shadow); + text-shadow: 0 0 3px var(--darken); white-space: normal; line-height: 1.25; transform: translateY(100%); diff --git a/assets/components/tooltip/tooltip.vue b/assets/components/tooltip/tooltip.vue index c18b217b..e90ea48d 100644 --- a/assets/components/tooltip/tooltip.vue +++ b/assets/components/tooltip/tooltip.vue @@ -3,7 +3,6 @@
diff --git a/assets/js/actors/actions.js b/assets/js/actors/actions.js index 1ba0c117..270ea85a 100644 --- a/assets/js/actors/actions.js +++ b/assets/js/actors/actions.js @@ -267,16 +267,20 @@ function initActorActions(store, router) { letter, gender, naturalBoobs, + cup, }) { const genderFilter = (gender === null && 'gender: { isNull: true }') || (gender === 'all' && ' ') || `gender: { equalTo: "${gender}" }`; + console.log(cup); + const { connection: { actors, totalCount } } = await graphql(` query Actors( $limit: Int, $offset: Int = 0, $letter: String! = "", + $cup: [String!] $naturalBoobs: Boolean, ) { connection: actorsConnection( @@ -293,6 +297,9 @@ function initActorActions(store, router) { naturalBoobs: { equalTo: $naturalBoobs } + cup: { + in: $cup + } ${genderFilter} } ) { @@ -347,6 +354,7 @@ function initActorActions(store, router) { offset: Math.max(0, (pageNumber - 1)) * limit, limit, letter, + cup, naturalBoobs, });