Compare commits

...

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian 2db0cab892 1.168.0 2021-02-05 03:50:09 +01:00
DebaucheryLibrarian 457256e731 Added configurable disclaimer. 2021-02-05 03:50:03 +01:00
5 changed files with 21 additions and 3 deletions

View File

@ -20,6 +20,11 @@
@show-filters="(state) => toggleFilters(state)"
/>
<p
v-if="config.showDisclaimer"
class="disclaimer"
>{{ config.disclaimer }}</p>
<div
ref="content"
class="content"
@ -172,4 +177,14 @@ export default {
margin: 0 auto;
box-sizing: border-box;
}
.disclaimer {
padding: 1rem;
margin: 0;
color: var(--text-light);
background: var(--warn);
font-weight: bold;
box-shadow: inset 0 0 3px var(--darken-weak);
text-align: center;
}
</style>

View File

@ -2,6 +2,8 @@ export default {
api: {
url: `${window.location.origin}/api`,
},
showDisclaimer: false,
disclaimer: 'This site is in early development, and content may occasionally disappear. Please stay tuned, you will be able to use traxxx to its full potential in the near future!',
selectableTags: [
'airtight',
'anal',

View File

@ -1,8 +1,8 @@
import config from 'config';
import { createApp } from 'vue';
import dayjs from 'dayjs';
import mitt from 'mitt';
import router from './router';
import initStore from './store';
import initUiObservers from './ui/observers';
@ -46,6 +46,7 @@ async function init() {
data() {
return {
events,
config,
};
},
watch: {

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.167.10",
"version": "1.168.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.167.10",
"version": "1.168.0",
"description": "All the latest porn releases in one place",
"main": "src/app.js",
"scripts": {