diff --git a/src/features/plan/pages/GuestPlanPage.tsx b/src/features/plan/pages/GuestPlanPage.tsx index ab0a050..c77cc05 100644 --- a/src/features/plan/pages/GuestPlanPage.tsx +++ b/src/features/plan/pages/GuestPlanPage.tsx @@ -6,11 +6,9 @@ * 하단에 도입 문의 CTA(PlanCTA) 가 붙습니다. */ import { useEffect } from 'react'; -import { Link, useParams, useLocation } from 'react-router'; -import { ArrowLeft } from 'lucide-react'; +import { useParams, useLocation } from 'react-router'; import { useMarketingPlan } from '../hooks/useMarketingPlan'; import { ReportNav } from '@/features/report/components/ReportNav'; -import { PlanDownloadMenuButton } from '../components/PlanDownloadMenuButton'; import { PLAN_SECTIONS } from '@/shared/constants/planSections'; import PlanBody from '../components/PlanBody'; @@ -59,23 +57,7 @@ export default function GuestPlanPage() { return (
- - - 클리닉으로 - - } - rightSlot={ -
- -
- } - /> +
); diff --git a/src/features/plan/pages/UserPlanPage.tsx b/src/features/plan/pages/UserPlanPage.tsx index 57b8058..4c6df6f 100644 --- a/src/features/plan/pages/UserPlanPage.tsx +++ b/src/features/plan/pages/UserPlanPage.tsx @@ -9,11 +9,9 @@ * 본 차수 미포함, 후속 모듈로 이관. 아래 import/render 주석 처리. */ import { useEffect } from 'react'; -import { Link, useParams, useLocation } from 'react-router'; -import { ArrowLeft } from 'lucide-react'; +import { useParams, useLocation } from 'react-router'; import { useMarketingPlan } from '../hooks/useMarketingPlan'; import { ReportNav } from '@/features/report/components/ReportNav'; -import { PlanDownloadMenuButton } from '../components/PlanDownloadMenuButton'; import { PLAN_SECTIONS } from '@/shared/constants/planSections'; import PlanBody from '../components/PlanBody'; import MyAssetUpload from '../components/MyAssetUpload'; @@ -21,7 +19,7 @@ import MyAssetUpload from '../components/MyAssetUpload'; import WorkflowTracker from '../components/WorkflowTracker'; export default function UserPlanPage() { - const { clinicId, id } = useParams<{ clinicId: string; id: string }>(); + const { id } = useParams<{ clinicId: string; id: string }>(); const location = useLocation(); // const stateClinicId = (location.state as { clinicId?: string } | undefined)?.clinicId || null; const { data, isLoading, error } = useMarketingPlan(id); @@ -63,23 +61,7 @@ export default function UserPlanPage() { return (
- - - 클리닉으로 - - } - rightSlot={ -
- -
- } - /> + diff --git a/src/features/report/pages/GuestReportPage.tsx b/src/features/report/pages/GuestReportPage.tsx index 1f823e2..9aa3a0b 100644 --- a/src/features/report/pages/GuestReportPage.tsx +++ b/src/features/report/pages/GuestReportPage.tsx @@ -5,15 +5,14 @@ * 본문은 UserReportPage 와 동일하나, 하단에 도입 문의 CTA가 추가되고 * 워크스페이스용 액션바는 노출되지 않습니다. */ -import { Link, useParams } from 'react-router'; -import { ArrowRight, ArrowLeft } from 'lucide-react'; +import { useParams } from 'react-router'; +import { ArrowRight } from 'lucide-react'; import { useReportPageData } from '../hooks/useReportPageData'; import { ReportNav } from '../components/ReportNav'; import { ScreenshotProvider } from '../stores/ScreenshotContext'; import { REPORT_SECTIONS } from '@/shared/constants/reportSections'; import { buildContactMailto } from '@/shared/lib/contact'; import ReportBody from '../components/ReportBody'; -import { DownloadMenuButton } from '../components/DownloadMenuButton'; export default function GuestReportPage() { const { id } = useParams<{ id: string }>(); @@ -44,26 +43,7 @@ export default function GuestReportPage() { return (
- - - 클리닉으로 - - } - rightSlot={ -
- -
- } - /> + {enrichStatus === 'loading' && (
diff --git a/src/features/report/pages/UserReportPage.tsx b/src/features/report/pages/UserReportPage.tsx index b0d4fb5..49a5fe7 100644 --- a/src/features/report/pages/UserReportPage.tsx +++ b/src/features/report/pages/UserReportPage.tsx @@ -7,16 +7,15 @@ * - 하단의 도입 문의 CTA 없음 */ import { Link, useParams } from 'react-router'; -import { ArrowLeft, RefreshCw } from 'lucide-react'; +import { RefreshCw } from 'lucide-react'; import { useReportPageData } from '../hooks/useReportPageData'; import { ReportNav } from '../components/ReportNav'; import { ScreenshotProvider } from '../stores/ScreenshotContext'; import { REPORT_SECTIONS } from '@/shared/constants/reportSections'; import ReportBody from '../components/ReportBody'; -import { DownloadMenuButton } from '../components/DownloadMenuButton'; export default function UserReportPage() { - const { clinicId, id } = useParams<{ clinicId: string; id: string }>(); + const { id } = useParams<{ clinicId: string; id: string }>(); const { data, isLoading, error, enrichStatus } = useReportPageData(id); if (isLoading) { @@ -46,29 +45,14 @@ export default function UserReportPage() {
- - 클리닉으로 - - } rightSlot={ -
- - - - 다시 분석 - -
+ + + 다시 분석 + } />