feat: enhance responsive design and layout consistency across various components, including dashboard, statistics, and rules pages

This commit is contained in:
Julien Froidefond
2025-12-01 08:34:28 +01:00
parent 86236aeb04
commit b3b25412ad
19 changed files with 731 additions and 349 deletions

View File

@@ -0,0 +1,18 @@
"use client";
import { createContext, useContext } from "react";
interface SidebarContextType {
open: boolean;
setOpen: (open: boolean) => void;
}
export const SidebarContext = createContext<SidebarContextType>({
open: false,
setOpen: () => {},
});
export function useSidebarContext() {
return useContext(SidebarContext);
}