Compare commits
No commits in common. "83efdf59d478583e1fa57da80c2e5e038e235016" and "6796f7f258ba1ea836c402406e0419ba131bb726" have entirely different histories.
83efdf59d4
...
6796f7f258
|
|
@ -18,8 +18,8 @@
|
|||
:src="`/${photo.thumbnail}`"
|
||||
:style="{ 'background-image': `url(/${photo.lazy})` }"
|
||||
:alt="photo.comment"
|
||||
:width="photo.width"
|
||||
:height="photo.height"
|
||||
:width="photo.thumbnailWidth"
|
||||
:height="photo.thumbnailHeight"
|
||||
class="photo"
|
||||
loading="lazy"
|
||||
@load="emit('load', $event)"
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"name": "traxxx-web",
|
||||
"version": "0.41.21",
|
||||
"version": "0.41.20",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"version": "0.41.21",
|
||||
"version": "0.41.20",
|
||||
"dependencies": {
|
||||
"@brillout/json-serializer": "^0.5.8",
|
||||
"@dicebear/collection": "^7.0.5",
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@
|
|||
"overrides": {
|
||||
"vite": "$vite"
|
||||
},
|
||||
"version": "0.41.21",
|
||||
"version": "0.41.20",
|
||||
"imports": {
|
||||
"#/*": "./*.js"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,7 +43,11 @@ export async function onBeforeRender(pageContext) {
|
|||
fetchTagsById([tagSlug], {}, pageContext.user),
|
||||
fetchReleases(pageContext),
|
||||
getRandomCampaigns([
|
||||
{ tagSlugs: [tagSlug], minRatio: 0.75, maxRatio: 1.25 },
|
||||
{
|
||||
tagSlugs: [tagSlug],
|
||||
minRatio: 0.75,
|
||||
maxRatio: 1.25,
|
||||
},
|
||||
{ tagSlugs: [tagSlug], minRatio: 3 },
|
||||
{ tagSlugs: [tagSlug], minRatio: 3 },
|
||||
pageContext.routeParams.domain === 'scenes'
|
||||
|
|
|
|||
|
|
@ -78,6 +78,8 @@ export async function getRandomCampaign(options = {}, context = {}, pass = 0) {
|
|||
return true;
|
||||
});
|
||||
|
||||
// console.log(validCampaigns);
|
||||
|
||||
const campaignsByEntityId = validCampaigns.reduce((acc, campaign) => {
|
||||
const entityId = campaign.entity.parent?.id || campaign.entity.id;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue