Selecting independent site banners from network directory.
This commit is contained in:
@@ -62,6 +62,7 @@
|
||||
|
||||
--text: #222;
|
||||
--text-light: #fff;
|
||||
--text-piss: #b92;
|
||||
|
||||
/* --link: #48f; */
|
||||
--link: var(--primary);
|
||||
@@ -101,6 +102,7 @@
|
||||
--background-dim: var(--shadow-weak-10);
|
||||
|
||||
--text: #fcfcfc;
|
||||
--text-piss: #ba0;
|
||||
|
||||
--glass-weak-50: rgba(255, 255, 255, .02);
|
||||
--glass-weak-40: rgba(255, 255, 255, .05);
|
||||
|
||||
@@ -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'}`;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
2
static
2
static
Submodule static updated: 9474aba17e...305454e97a
Reference in New Issue
Block a user