Reworking the layouts to allow for the new design
This commit is contained in:
@@ -22,18 +22,13 @@
|
||||
<div>{{ creator.subscriberCount }} {{ $t('banner.subscription') }}</div>
|
||||
|
||||
</div>
|
||||
<div class="flex items-center">
|
||||
<div class="mt-1">{{ creator.about.title }}</div>
|
||||
<creator-about :creator="creator"></creator-about>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="flex justify-between mt-2">
|
||||
<subscribe-button :creator="creator"></subscribe-button>
|
||||
<div class="flex space-x-2">
|
||||
<publish-content-button :creator="creator"
|
||||
@content-posted="addContent"
|
||||
></publish-content-button>
|
||||
|
||||
<donation-button :color-border="creator.colors.menu"
|
||||
:color-accent="creator.colors.accent"
|
||||
:creator-id="creator.id"
|
||||
@@ -54,17 +49,10 @@
|
||||
|
||||
<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