diff --git a/app/components/KakaoFloatButton.tsx b/app/components/KakaoFloatButton.tsx new file mode 100644 index 0000000..16e3f69 --- /dev/null +++ b/app/components/KakaoFloatButton.tsx @@ -0,0 +1,62 @@ +import { KAKAO_OPENCHAT_URL } from '@/lib/contact'; + +/** + * 카카오 1:1 상담 플로팅 버튼. + * PublicShell footer 다음에 마운트되어 모든 공개 페이지에 노출. + */ +export default function KakaoFloatButton() { + return ( + <> + + + + + 1:1 상담 + + + + + ); +} diff --git a/app/components/PublicShell.tsx b/app/components/PublicShell.tsx index 9e335a3..d07b064 100644 --- a/app/components/PublicShell.tsx +++ b/app/components/PublicShell.tsx @@ -1,5 +1,6 @@ import TopNav from './TopNav'; import Link from 'next/link'; +import KakaoFloatButton from './KakaoFloatButton'; export default function PublicShell({ children }: { children: React.ReactNode }) { return ( @@ -116,57 +117,7 @@ export default function PublicShell({ children }: { children: React.ReactNode }) - {/* 카카오 오픈채팅 플로팅 버튼 */} - - - - - 1:1 상담 - - - + ); }