add anonymous mode UI

This commit is contained in:
plebeius.eth
2023-06-09 18:06:01 +02:00
parent a64816766c
commit bb6bb379ca
3 changed files with 71 additions and 13 deletions
+3
View File
@@ -1,6 +1,9 @@
import { create } from 'zustand';
const useGeneralStore = create((set) => ({
anonymousMode: true,
setAnonymousMode: (mode) => set({ anonymousMode: mode }),
bodyStyle: JSON.parse(localStorage.getItem('bodyStyle')) || {
background: '#ffe url(assets/fade.png) top repeat-x',
color: 'maroon',