Adds brandingStore.
Split userStore into userProfileStore and creatorProfileStore
This commit is contained in:
@@ -5,11 +5,9 @@
|
||||
<creator-news-summary></creator-news-summary>
|
||||
</div>
|
||||
|
||||
<div class="px-4" :style="{ color: userStore.creator.colors.onBackground}">
|
||||
<h1>{{ userStore.creator.about.title }}</h1>
|
||||
<p>
|
||||
{{ userStore.creator.about.description }}
|
||||
</p>
|
||||
<div class="px-4" :style="{ color: brandingStore.value.colors.onBackground}">
|
||||
<h1>TEST</h1>
|
||||
<p>GET ME AN EDITOR NOW!</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -17,10 +15,12 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import CreatorNewsSummary from "@/views/creators/CreatorNewsSummary.vue"
|
||||
import {useUserStore} from "@/stores/userStore.js";
|
||||
|
||||
const userStore = useUserStore()
|
||||
import CreatorNewsSummary from "@/views/creators/CreatorNewsSummary.vue"
|
||||
import {useBrandingStore} from "@/stores/brandingStore.js";
|
||||
|
||||
const brandingStore = useBrandingStore()
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
Reference in New Issue
Block a user