Add sidebar

This commit is contained in:
Philipinho
2023-08-29 00:15:48 +01:00
parent 54a748ced7
commit 5b6dbcc5bb
14 changed files with 275 additions and 11 deletions

View File

@ -0,0 +1,5 @@
import { atomWithWebStorage } from "@/lib/jotai-helper";
import { atom } from "jotai";
export const desktopSidebarAtom = atomWithWebStorage('showSidebar',true);
export const mobileSidebarAtom = atom(false);