Fixes folders banneraction
This commit is contained in:
72
src/views/creators/banner/bannerlower/BannerActionsXl.vue
Normal file
72
src/views/creators/banner/bannerlower/BannerActionsXl.vue
Normal file
@@ -0,0 +1,72 @@
|
||||
<template>
|
||||
<div class="relative w-full">
|
||||
<div class="rounded-b-2xl"
|
||||
:style="{ backgroundColor: creator.colors.bannerBottom || '#A30E79' }">
|
||||
<div class="relative z-20">
|
||||
<div class="flex flex-row items-center py-2">
|
||||
<!--Logo & User Info-->
|
||||
<div>
|
||||
<div>
|
||||
<img
|
||||
class="rounded-full border-solid border-2 absolute z-20 max-w-[175px] ml-15 -mt-20"
|
||||
:src="creator.images.logo"
|
||||
alt="Profile Picture"
|
||||
:style="{ borderColor: creator.colors.accent || '#A30E79', height: '150px'}"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ml-60 text-white mr-10">
|
||||
<div>
|
||||
<p class="capitalize text-3xl font-bold ">{{ creator.name }}</p>
|
||||
<div>{{ creator.subscriberCount }} Abonnés</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center">
|
||||
<subscribe-button :creator="creator"></subscribe-button>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center ml-4">
|
||||
<donation-button :color-border="creator.colors.menu"
|
||||
:color-accent="creator.colors.accent"
|
||||
:creator-id="creator.id"
|
||||
:creator-name="creator.name"
|
||||
:creator-logo="creator.images.logo"
|
||||
iconColorClass="text-white"
|
||||
></donation-button>
|
||||
</div>
|
||||
|
||||
<div class="flex ml-auto space-x-4 items-center">
|
||||
<publish-content-button :creator="creator"
|
||||
@content-posted="addContent"
|
||||
></publish-content-button>
|
||||
|
||||
<div class="text-white">
|
||||
{{ creator.about.title }}
|
||||
</div>
|
||||
|
||||
<creator-about :creator="creator"></creator-about>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import SubscribeButton from "@/views/creators/SubscribeButton.vue";
|
||||
import PublishContentButton from "@/views/contents/PublishContentButton.vue";
|
||||
import DonationButton from "@/views/creators/DonationButton.vue";
|
||||
import CreatorAbout from "@/views/creators/CreatorAbout.vue";
|
||||
|
||||
const props = defineProps({
|
||||
creator: {type: Object, required: true}
|
||||
});
|
||||
|
||||
const emits = defineEmits(['content-posted']);
|
||||
|
||||
function addContent(content) {
|
||||
emits('content-posted', content);
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user