@@ -93,7 +94,7 @@ const ApplicationContent = ({
{resumeName && (
<>
-
+ {user &&
}
>
)}
diff --git a/src/app/components/mouseTrail/CustomCursor.tsx b/src/app/components/mouseTrail/CustomCursor.tsx
index cd7a7e54..82a83cc3 100644
--- a/src/app/components/mouseTrail/CustomCursor.tsx
+++ b/src/app/components/mouseTrail/CustomCursor.tsx
@@ -9,27 +9,45 @@ interface CursorPosition {
export default function CustomCursor() {
const [position, setPosition] = useState
({ x: 0, y: 0 });
+ const [isVisible, setIsVisible] = useState(true);
useEffect(() => {
const updatePosition = (e: MouseEvent) => {
setPosition({ x: e.clientX, y: e.clientY });
};
+ // Lightbox 요소 감시
+ const observer = new MutationObserver((mutations) => {
+ mutations.forEach((mutation) => {
+ if (mutation.addedNodes.length) {
+ const lightbox = document.querySelector('[role="dialog"]');
+ if (lightbox) {
+ setIsVisible(true);
+ }
+ }
+ });
+ });
+
+ observer.observe(document.body, { childList: true, subtree: true });
window.addEventListener("mousemove", updatePosition);
return () => {
+ observer.disconnect();
window.removeEventListener("mousemove", updatePosition);
};
}, []);
return (
diff --git a/src/utils/shareToKakao.ts b/src/utils/shareToKakao.ts
index 026ad3b4..896cbc7e 100644
--- a/src/utils/shareToKakao.ts
+++ b/src/utils/shareToKakao.ts
@@ -16,7 +16,7 @@ const shareToKakao = (content?: ShareContent) => {
title: getMetaContentByProperty("og:title") || "WorkRoot",
description:
getMetaContentByProperty("og:description") || "🌳 일을 통해 자신의 뿌리를 내리며 성장하는 구인구직 사이트",
- imageUrl: getMetaContentByProperty("og:image") || "/logo.svg",
+ imageUrl: getMetaContentByProperty("og:image") || "/logo.png",
buttonText: "자세히 보기",
};