dynamisation du code

This commit is contained in:
Gabriel Goldbronn
2025-03-05 23:42:45 +01:00
parent b8e682f333
commit a540d12ed2
18 changed files with 377 additions and 162 deletions

View File

@@ -7,7 +7,7 @@ import Add from "../assets/Icons/Add.vue";
import Top from "../assets/Icons/Top.vue";
const props = defineProps<{
imgSrc: string;
thumbnail: string;
title: string;
name: string;
}>();
@@ -39,7 +39,7 @@ onBeforeUnmount(() => {
<template>
<div class="miniature-list">
<div class="miniature-list__img">
<img :src="props.imgSrc" alt="Video Thumbnail"/>
<img :src="props.thumbnail" alt="Video Thumbnail"/>
</div>
<div class="miniature-list__info">
<p class="miniature-list__info__title" :title="props.title">{{ props.title }}</p>