Simplify the layout for CreatorLayout
This commit is contained in:
@@ -2,32 +2,20 @@
|
||||
<div :style="{ backgroundColor: brandingStore.value.colors.background }">
|
||||
<div class="max-w-[1500px] mx-auto">
|
||||
|
||||
<div v-if="brandingStore.value && brandingStore.value.id">
|
||||
<creator-banner></creator-banner>
|
||||
</div>
|
||||
<div v-else>
|
||||
<div v-if="loading">
|
||||
<div v-if="brandingStore.loading">
|
||||
<v-progress-linear indeterminate></v-progress-linear>
|
||||
</div>
|
||||
<div v-else>
|
||||
<v-card>
|
||||
<v-card-text style="text-align: center;">
|
||||
Aucun créateur au nom de {{ route.params.creator }}
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
</div>
|
||||
<creator-banner></creator-banner>
|
||||
</div>
|
||||
|
||||
<div class="flex flex-row justify-center py-10">
|
||||
|
||||
<div class="w-full">
|
||||
<router-view></router-view>
|
||||
</div>
|
||||
|
||||
<div class="max-w-80">
|
||||
<rewards></rewards>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -37,9 +25,6 @@
|
||||
</template>
|
||||
|
||||
<script async setup>
|
||||
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 Rewards from "@/views/creators/Rewards.vue";
|
||||
import Footer from "@/views/main/Footer.vue";
|
||||
|
||||
Reference in New Issue
Block a user