2019-06-03 03:31:38 +00:00
|
|
|
<template>
|
2019-10-28 01:54:37 +00:00
|
|
|
<div class="content">
|
|
|
|
<div class="filters-bar noselect">
|
|
|
|
<Icon icon="filter" />
|
|
|
|
|
2019-10-27 23:58:54 +00:00
|
|
|
<ul class="filters">
|
2019-10-29 04:21:51 +00:00
|
|
|
<li class="filter">
|
|
|
|
<label
|
|
|
|
class="toggle"
|
|
|
|
:class="{ active: showStraight }"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
v-model="showStraight"
|
|
|
|
type="checkbox"
|
|
|
|
class="check"
|
|
|
|
>straight
|
|
|
|
</label>
|
|
|
|
</li>
|
|
|
|
|
2019-10-28 01:54:37 +00:00
|
|
|
<li class="filter">
|
|
|
|
<label
|
|
|
|
class="toggle"
|
|
|
|
:class="{ active: showLesbian }"
|
|
|
|
>
|
2019-10-27 23:58:54 +00:00
|
|
|
<input
|
2019-10-28 01:54:37 +00:00
|
|
|
v-model="showLesbian"
|
2019-10-27 23:58:54 +00:00
|
|
|
type="checkbox"
|
2019-10-28 01:54:37 +00:00
|
|
|
class="check"
|
|
|
|
>lesbian
|
2019-10-27 23:58:54 +00:00
|
|
|
</label>
|
|
|
|
</li>
|
2019-10-28 01:54:37 +00:00
|
|
|
|
|
|
|
<li class="filter">
|
|
|
|
<label
|
|
|
|
class="toggle"
|
|
|
|
:class="{ active: showGay }"
|
|
|
|
>
|
2019-10-27 23:58:54 +00:00
|
|
|
<input
|
2019-10-28 01:54:37 +00:00
|
|
|
v-model="showGay"
|
2019-10-27 23:58:54 +00:00
|
|
|
type="checkbox"
|
2019-10-28 01:54:37 +00:00
|
|
|
class="check"
|
|
|
|
>gay
|
2019-10-27 23:58:54 +00:00
|
|
|
</label>
|
|
|
|
</li>
|
2019-10-28 01:54:37 +00:00
|
|
|
|
|
|
|
<li class="filter">
|
|
|
|
<label
|
|
|
|
class="toggle"
|
|
|
|
:class="{ active: showTrans }"
|
|
|
|
>
|
2019-10-27 23:58:54 +00:00
|
|
|
<input
|
2019-10-28 01:54:37 +00:00
|
|
|
v-model="showTrans"
|
2019-10-27 23:58:54 +00:00
|
|
|
type="checkbox"
|
2019-10-28 01:54:37 +00:00
|
|
|
class="check"
|
|
|
|
>trans
|
2019-10-27 23:58:54 +00:00
|
|
|
</label>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
2019-10-28 01:54:37 +00:00
|
|
|
<div class="content-inner">
|
|
|
|
<ul class="scenes nolist">
|
|
|
|
<li
|
|
|
|
v-for="release in releases"
|
|
|
|
:key="release.id"
|
|
|
|
class="scene"
|
|
|
|
>
|
2019-11-09 03:43:58 +00:00
|
|
|
<ReleaseTile :release="release" />
|
2019-10-28 01:54:37 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2019-06-03 03:31:38 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2019-11-09 03:43:58 +00:00
|
|
|
import ReleaseTile from '../tile/release.vue';
|
2019-09-10 14:48:04 +00:00
|
|
|
|
2019-06-03 03:31:38 +00:00
|
|
|
async function mounted() {
|
|
|
|
this.releases = await this.$store.dispatch('fetchReleases');
|
2019-11-11 02:20:00 +00:00
|
|
|
this.networks = await this.$store.dispatch('fetchNetworks');
|
|
|
|
|
2019-11-09 03:43:58 +00:00
|
|
|
this.pageTitle = '';
|
2019-06-03 03:31:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export default {
|
2019-11-09 03:43:58 +00:00
|
|
|
components: {
|
|
|
|
ReleaseTile,
|
|
|
|
},
|
2019-06-03 03:31:38 +00:00
|
|
|
data() {
|
|
|
|
return {
|
2019-10-29 04:21:51 +00:00
|
|
|
showStraight: true,
|
2019-10-28 01:54:37 +00:00
|
|
|
showLesbian: true,
|
|
|
|
showGay: false,
|
|
|
|
showTrans: false,
|
2019-06-03 03:31:38 +00:00
|
|
|
releases: [],
|
2019-11-11 02:20:00 +00:00
|
|
|
networks: [],
|
2019-11-09 03:43:58 +00:00
|
|
|
pageTitle: null,
|
2019-06-03 03:31:38 +00:00
|
|
|
};
|
|
|
|
},
|
|
|
|
mounted,
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
@import 'theme';
|
|
|
|
|
2019-10-28 01:54:37 +00:00
|
|
|
.filters-bar {
|
|
|
|
display: block;
|
|
|
|
background: $shadow-hint;
|
|
|
|
padding: .5rem 1rem;
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
fill: $shadow;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.filters {
|
|
|
|
display: inline-block;
|
|
|
|
list-style: none;
|
|
|
|
padding: .5rem;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
.toggle {
|
|
|
|
color: $shadow;
|
|
|
|
background: $shadow-hint;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: .5rem;
|
|
|
|
border-radius: .5rem;
|
|
|
|
font-size: .9rem;
|
|
|
|
font-weight: bold;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
.check {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
color: $text-contrast;
|
|
|
|
background: $primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.filter {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2019-06-03 03:31:38 +00:00
|
|
|
.scenes {
|
|
|
|
display: grid;
|
2019-07-06 03:29:12 +00:00
|
|
|
grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
|
2019-06-03 03:31:38 +00:00
|
|
|
grid-gap: 1rem;
|
|
|
|
}
|
|
|
|
</style>
|