diff --git a/package.json b/package.json index 52f7735..e3c630e 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "styled-components": "^6.1.12", "swiper": "^11.1.9", "vite": "^5.4.1", - "zustand": "^4.5.5" + "zustand": "^5.0.0-rc.2" }, "devDependencies": { "@svgr/webpack": "^8.1.0", diff --git a/public/fonts/SpoqaHanSansNeo-Bold.woff2 b/public/fonts/SpoqaHanSansNeo-Bold.woff2 new file mode 100644 index 0000000..da1dd60 Binary files /dev/null and b/public/fonts/SpoqaHanSansNeo-Bold.woff2 differ diff --git a/public/fonts/SpoqaHanSansNeo-Medium.woff2 b/public/fonts/SpoqaHanSansNeo-Medium.woff2 new file mode 100644 index 0000000..0e9b8d7 Binary files /dev/null and b/public/fonts/SpoqaHanSansNeo-Medium.woff2 differ diff --git a/public/fonts/SpoqaHanSansNeo-Regular.woff2 b/public/fonts/SpoqaHanSansNeo-Regular.woff2 new file mode 100644 index 0000000..1572319 Binary files /dev/null and b/public/fonts/SpoqaHanSansNeo-Regular.woff2 differ diff --git a/src/app/(layouts)/header.tsx b/src/app/(layouts)/header.tsx index f2244d6..542672e 100644 --- a/src/app/(layouts)/header.tsx +++ b/src/app/(layouts)/header.tsx @@ -85,11 +85,11 @@ export default function Header() { if (accessToken && tokenExpiration) { sessionStorage.setItem("AccessToken", accessToken); sessionStorage.setItem("TokenExpiration", tokenExpiration.toString()); - + setAccessToken(accessToken); - setLogin(true); + setLogin(true); } else { - logout(); + logout(); } } catch (error) { console.error("Failed to refresh access token:", error); @@ -104,7 +104,7 @@ export default function Header() { }, [path]); useEffect(() => { - checkAndRefreshToken(); + checkAndRefreshToken(); }, []); return ( @@ -133,7 +133,11 @@ export default function Header() {
Logo
-
@@ -201,6 +205,7 @@ export default function Header() { title="뒤로가기" open={isModalOpen} onCancel={handleCancel} + width={450} centered footer={[