-대시보드 메뉴 및 로그인 기능완료, 권한 완료

-대시보드 운영현황 데이터 수정, 시설명 div z-index 수정정
This commit is contained in:
YangJinSoo94
2025-07-22 13:21:39 +09:00
parent 14608cca4d
commit d641866cc4
21 changed files with 543 additions and 329 deletions
+31
View File
@@ -0,0 +1,31 @@
import Cookies from "js-cookie";
export function getCookie(name: string): string | undefined {
if (typeof window === "undefined") {
return undefined;
}
return Cookies.get(name);
}
export function setCookie(
name: string,
value: string,
options?: Cookies.CookieAttributes,
): void {
if (typeof window === "undefined") {
return;
}
Cookies.set(name, value, options);
}
export function removeCookie(
name: string,
options?: Cookies.CookieAttributes,
): void {
if (typeof window === "undefined") {
return;
}
Cookies.remove(name, options);
}