diff --git a/src/components/popup/MemberInformationPopup.tsx b/src/components/popup/MemberInformationPopup.tsx index ff1f9fa..87a8829 100644 --- a/src/components/popup/MemberInformationPopup.tsx +++ b/src/components/popup/MemberInformationPopup.tsx @@ -3,6 +3,7 @@ import { useRouter } from 'next/navigation' import { usePopupController } from '@/store/popupController' import { useSessionStore } from '@/store/session' +import Image from 'next/image' export default function MemberInformationPopup() { const popupController = usePopupController() @@ -22,7 +23,7 @@ export default function MemberInformationPopup() {
- +
会員情報
diff --git a/src/components/ui/common/FloatBtn.tsx b/src/components/ui/common/FloatBtn.tsx index 766f236..74aa3d0 100644 --- a/src/components/ui/common/FloatBtn.tsx +++ b/src/components/ui/common/FloatBtn.tsx @@ -5,9 +5,16 @@ import { usePathname } from 'next/navigation' export default function FloatBtn() { const pathname = usePathname() + const scrollToTop = () => { + window.scrollTo({ + top: 0, + behavior: 'smooth', + }) + } + if (pathname === '/login' || pathname === '/') { return null } - return + return }