Compare commits

...

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian 7702839b7a 0.42.13 2026-01-19 04:46:42 +01:00
DebaucheryLibrarian cb1c884503 Fixed NATS URL composition. 2026-01-19 04:46:40 +01:00
8 changed files with 73 additions and 15 deletions

View File

@ -60,6 +60,7 @@ const bannerSrc = (() => {
height: 100%;
display: flex;
justify-content: center;
/* align-items: center; */
}
.frame {

View File

@ -0,0 +1,50 @@
<template>
<div
class="filters-toggle open"
@click.stop="emit('toggle')"
><Icon icon="filter" /></div>
</template>
<script setup>
const emit = defineEmits(['toggle']);
</script>
<style scoped>
.filters-toggle {
min-width: 2.75rem;
height: 3rem;
justify-content: center;
align-items: center;
padding: 0 .25rem;
border-radius: 0 .5rem .5rem 0;
background: var(--background);
color: var(--glass);
font-weight: bold;
box-shadow: inset 0 0 3px var(--shadow-weak-30);
&.open {
left: 0;
right: auto;
}
&.show-full {
display: flex;
}
&.close .cross {
display: none;
}
.icon {
fill: var(--glass);
}
&:hover {
cursor: pointer;
.icon {
fill: var(--primary);
}
}
}
</style>

View File

@ -213,7 +213,7 @@ const favorited = ref(props.scene.stashes.some((sceneStash) => sceneStash.id ===
.title {
display: block;
margin-top: .5rem;
margin-bottom: .4rem;
margin-bottom: .3rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
@ -239,7 +239,7 @@ const favorited = ref(props.scene.stashes.some((sceneStash) => sceneStash.id ===
.actors {
height: 1.15rem;
margin-bottom: .1rem;
margin-bottom: .15rem;
overflow: hidden;
white-space: pre-wrap;
}
@ -302,12 +302,12 @@ const favorited = ref(props.scene.stashes.some((sceneStash) => sceneStash.id ===
}
.row {
margin: 0 .5rem .5rem .5rem;
margin: 0 .5rem .45rem .5rem;
}
.title {
margin-top: .6rem;
margin-bottom: .6rem;
margin-bottom: .5rem;
}
}
}

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{
"name": "traxxx-web",
"version": "0.42.12",
"version": "0.42.13",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"version": "0.42.12",
"version": "0.42.13",
"dependencies": {
"@brillout/json-serializer": "^0.5.8",
"@dicebear/collection": "^7.0.5",

View File

@ -87,7 +87,7 @@
"overrides": {
"vite": "$vite"
},
"version": "0.42.12",
"version": "0.42.13",
"imports": {
"#/*": "./*.js"
}

View File

@ -101,6 +101,7 @@ const popularNetworks = [
'private',
'realitykings',
'rickysroom',
'score',
'teamskeet',
'kellymadison',
'vixen',

View File

@ -42,16 +42,22 @@ function getAffiliateUrl(scene) {
return null;
}
if (!scene.affiliate?.parameters) {
return scene.url;
if (scene.affiliate.url?.includes('/track')) { // nats redirect
const { pathname, search } = new URL(watchUrl);
return `${scene.affiliate.url}${pathname}${search}`;
}
const newParams = new URLSearchParams({
...Object.fromEntries(new URL(watchUrl).searchParams),
...Object.fromEntries(new URLSearchParams(scene.affiliate.parameters)),
});
if (scene.affiliate?.parameters) { // TODO: this is probably not getting tracked...
const newParams = new URLSearchParams({
...Object.fromEntries(new URL(watchUrl).searchParams),
...Object.fromEntries(new URLSearchParams(scene.affiliate.parameters)),
});
return `${watchUrl}?${newParams.toString()}`;
return `${watchUrl}?${newParams.toString()}`;
}
return watchUrl;
}
function curateScene(rawScene, assets) {

2
static

@ -1 +1 @@
Subproject commit c05345e3c73cef25e2bb03931ffded6e7cfbe743
Subproject commit 3df11850ec6038c0919f6eaedb83bc8312fa8e07