Fixes folders banneraction
This commit is contained in:
34
src/views/creators/banner/bannerlower/BannerActions.vue
Normal file
34
src/views/creators/banner/bannerlower/BannerActions.vue
Normal 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>
|
||||
Reference in New Issue
Block a user