Added actor profile revisions.

This commit is contained in:
2024-10-22 03:12:42 +02:00
parent b5bef49f73
commit 3967745fb3
31 changed files with 1907 additions and 67 deletions

View File

@@ -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) {