build: switch from yarn to npm to manage js dependencies and move js contents to root
yarn v1 is being deprecated and starts to have some issues Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
16
src/components/Event/EventBanner.vue
Normal file
16
src/components/Event/EventBanner.vue
Normal file
@@ -0,0 +1,16 @@
|
||||
<template>
|
||||
<div class="flex justify-center max-h-80">
|
||||
<lazy-image-wrapper :picture="picture" />
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import { IMedia } from "@/types/media.model";
|
||||
import LazyImageWrapper from "../Image/LazyImageWrapper.vue";
|
||||
|
||||
withDefaults(
|
||||
defineProps<{
|
||||
picture: IMedia | null;
|
||||
}>(),
|
||||
{ picture: null }
|
||||
);
|
||||
</script>
|
||||
Reference in New Issue
Block a user