Adds link to creator page in the user menu

This commit is contained in:
Jonathan Bourdon
2024-07-20 01:07:52 -04:00
parent 8afa037fbe
commit c358eb98d8
3 changed files with 17 additions and 32 deletions

View File

@@ -2,12 +2,12 @@
<div v-if="creator && creator.id">
<creator-banner :creator="creator"></creator-banner>
<DonationPopup :creator-id="creator.id"></DonationPopup>
<donation-popup :creator-id="creator.id"></donation-popup>
<div class="max-w-[800px] mx-auto flex flex-row justify-center border-l-2 border-r-2 -mt-6 ">
<div class="w-full mt-20 h-full">
<ContentList :creator-id="creator.id">
</ContentList>
<content-list :creator-id="creator.id">
</content-list>
</div>
</div>
@@ -34,9 +34,7 @@ import {watch, ref, onBeforeMount} from 'vue';
import {useRoute} from 'vue-router';
import {useClient} from "@/plugins/api.js";
import CreatorBanner from "@/views/creators/CreatorBanner.vue";
import MessageList from "@/views/messages/MessageList.vue";
import ContentList from "@/views/contents/ContentList.vue";
import PostMessage from "@/views/messages/PostMessage.vue";
import DonationPopup from "@/views/main/DonationPopup.vue";
const client = useClient();
@@ -44,7 +42,6 @@ const route = useRoute();
const creator = ref(null);
const loading = ref(true);
const tab = ref();
onBeforeMount(async () => {
setTimeout(() => {
@@ -76,16 +73,3 @@ const fetchCreatorData = async (creatorAlias) => {
}
</script>
<style scoped>
.shadow-lg {
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.8);
}
.v-btn--active {
background-color: #1976D2;
color: white;
}
</style>