Adds brandingStore.
Split userStore into userProfileStore and creatorProfileStore
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
<template>
|
||||
<div class="text-center rounded-t-lg p-4 tracking-widest uppercase"
|
||||
:style="{ color: userStore.creator.colors.onPrimary, backgroundColor: userStore.creator.colors.primary}">
|
||||
:style="{ color: brandingStore.value.colors.onPrimary, backgroundColor: brandingStore.value.colors.primary}">
|
||||
Actualité
|
||||
</div>
|
||||
|
||||
<div v-for="(item, index) in articles"
|
||||
class="my-1 text-white"
|
||||
:key="index"
|
||||
:style="{ backgroundColor: userStore.creator.colors.primary }">
|
||||
:style="{ backgroundColor: brandingStore.value.colors.primary }">
|
||||
|
||||
<div class="flex justify-between items-center border-b-2 border-white p-2 mx-2">
|
||||
<p class="text-xl tracking-[8px]">
|
||||
@@ -64,9 +64,9 @@
|
||||
|
||||
<script setup>
|
||||
import {ref} from 'vue';
|
||||
import {useUserStore} from "@/stores/userStore.js";
|
||||
import {useBrandingStore} from "@/stores/brandingStore.js";
|
||||
|
||||
const userStore = useUserStore()
|
||||
const brandingStore = useBrandingStore()
|
||||
|
||||
const articles = ref([
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user