Selecting independent site banners from network directory.

This commit is contained in:
2026-03-02 22:35:41 +01:00
parent ce287bc006
commit 39b25209f4
4 changed files with 12 additions and 2 deletions

View File

@@ -66,7 +66,8 @@ const props = defineProps({
const bannerSrc = (() => {
if (props.campaign.banner) {
if (props.campaign.banner.entity.type === 'network' || props.campaign.banner.entity.isIndependent || !props.campaign.banner.entity.parent) {
// if (props.campaign.banner.entity.type === 'network' || props.campaign.banner.entity.isIndependent || !props.campaign.banner.entity.parent) {
if (props.campaign.banner.entity.type === 'network' || !props.campaign.banner.entity.parent) {
return `/banners/${props.campaign.banner.entity.slug}/${props.campaign.banner.id}.${props.campaign.banner.type || 'jpg'}`;
}

View File

@@ -97,6 +97,7 @@
v-for="tag in scene.tags"
:key="`tag-${scene.id}-${tag.id}`"
class="tag"
:class="{ piss: tag.slug === 'pissing' }"
>
<Link
:href="`/tag/${tag.slug}`"
@@ -263,6 +264,12 @@ const favorited = ref(props.scene.stashes.some((sceneStash) => sceneStash.id ===
font-size: .75rem;
}
/*
.tag.piss {
color: var(--text-piss);
}
*/
.shoot {
font-size: .75rem;
font-weight: bold;