Remove news
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
<template>
|
||||
|
||||
<div v-if="brandingStore.value.loading">
|
||||
<v-progress-linear indeterminate></v-progress-linear>
|
||||
</div>
|
||||
|
||||
<div v-else>
|
||||
<div class="w-full h-full pr-4">
|
||||
<news-list :creator-id="brandingStore.value.id"
|
||||
:news="news"
|
||||
></news-list>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</template>
|
||||
|
||||
<script async setup>
|
||||
import {ref} from 'vue';
|
||||
import NewsList from "@/views/news/NewsList.vue";
|
||||
import {useBrandingStore} from "@/stores/brandingStore.js";
|
||||
|
||||
const brandingStore = useBrandingStore()
|
||||
|
||||
const news = ref([])
|
||||
function newsPosted(content) {
|
||||
news.value.unshift(content)
|
||||
}
|
||||
|
||||
</script>
|
||||
@@ -126,10 +126,6 @@
|
||||
:to="`/@${brandingStore.value.name}`">
|
||||
Présentation
|
||||
</RouterLink>
|
||||
<RouterLink class="nav-button text-white hover:bg-gray-700"
|
||||
:to="`/@${brandingStore.value.name}/news`">
|
||||
Actualité
|
||||
</RouterLink>
|
||||
<RouterLink class="nav-button text-white hover:bg-gray-700"
|
||||
:to="`/@${brandingStore.value.name}/content`">
|
||||
Exclusivité
|
||||
|
||||
Reference in New Issue
Block a user