Added actor profile revisions.
This commit is contained in:
@@ -36,8 +36,11 @@
|
||||
>
|
||||
<img
|
||||
v-if="network.hasLogo"
|
||||
:src="network.type === 'network' || network.isIndependent || !network.parent ? `/logos/${network.slug}/thumbs/network.png` : `/logos/${network.parent.slug}/thumbs/${network.slug}.png`"
|
||||
:src="network.type === 'network' || network.isIndependent || !network.parent
|
||||
? `/logos/${network.slug}/thumbs/network.png`
|
||||
: `/logos/${network.parent.slug}/thumbs/${network.slug}.png`"
|
||||
:alt="network.name"
|
||||
loading="lazy"
|
||||
class="logo"
|
||||
>
|
||||
|
||||
@@ -58,7 +61,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, inject } from 'vue';
|
||||
import { ref, inject, onMounted } from 'vue';
|
||||
|
||||
import navigate from '#/src/navigate.js';
|
||||
|
||||
@@ -120,6 +123,12 @@ const sections = [
|
||||
async function search() {
|
||||
navigate('/channels', { q: query.value || undefined }, { redirect: true });
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
window.addEventListener('load', (event) => {
|
||||
console.log(event);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
@@ -194,6 +203,9 @@ async function search() {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
object-fit: contain;
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
@media(--small-30) {
|
||||
|
||||
Reference in New Issue
Block a user