Merged scene and movie page banner into single component. Improved movie cover display.

This commit is contained in:
2024-08-29 01:53:26 +02:00
parent 1a389ef843
commit ea3ef0fc1a
6 changed files with 25 additions and 421 deletions

View File

@@ -168,11 +168,11 @@
</li>
<li
v-if="user?.primaryStash"
v-if="primaryStash"
class="menu-item"
>
<a
:href="`/stash/${user.username}/${user.primaryStash.slug}`"
:href="`/stash/${user.username}/${primaryStash.slug}`"
class="menu-button nolink favorites"
>
<Icon icon="heart7" />
@@ -257,6 +257,7 @@ const pageContext = inject('pageContext');
const theme = ref(pageContext.env.theme);
const user = pageContext.user;
const { primaryStash } = pageContext.assets;
const unseen = ref(pageContext.meta.unseenNotifications);
const query = ref(pageContext.urlParsed.search.q || '');
const allowLogin = pageContext.env.allowLogin;