Fixes folders banneraction

This commit is contained in:
PascalMarchesseault
2024-08-19 16:16:44 -04:00
parent 0b7b27e50b
commit 27e2505fec
6 changed files with 11 additions and 15 deletions

View File

@@ -0,0 +1,34 @@
<script setup>
import BannerActionsMd from "@/views/creators/banner/bannerlower/BannerActionsMd.vue";
import BannerActionsSm from "@/views/creators/banner/bannerlower/BannerActionsSm.vue";
import BannerActionsLg from "@/views/creators/banner/bannerlower/BannerActionsLg.vue";
import BannerActionsXl from "@/views/creators/banner/bannerlower/BannerActionsXl.vue";
const props = defineProps({
creator: { type: Object, required: true }
});
const emits = defineEmits(['content-posted']);
function addContent(content) {
emits('content-posted', content);
}
</script>
<template>
<div>
<banner-actions-sm class="d-sm-none" :creator="creator" @content-posted="addContent"></banner-actions-sm>
<div class="d-none d-sm-flex d-md-none">
<banner-actions-md :creator="creator" @content-posted="addContent"></banner-actions-md>
</div>
<div class="d-none d-md-flex d-lg-none">
<banner-actions-lg :creator="creator" @content-posted="addContent"></banner-actions-lg>
</div>
<div class="d-none d-lg-flex">
<banner-actions-xl :creator="creator" @content-posted="addContent"></banner-actions-xl>
</div>
</div>
</template>