o2o-clinicad-frontend/src/features/plan/ui/PlanChannelStrategySection.tsx

24 lines
666 B
TypeScript

import { PageSection } from "@/components/section/PageSection";
import { useCurrentMarketingPlan } from "@/features/plan/hooks/useCurrentMarketingPlan";
import { ChannelStrategyGrid } from "@/features/plan/ui/channelStrategy/ChannelStrategyGrid";
export function PlanChannelStrategySection() {
const { data, error } = useCurrentMarketingPlan();
if (error || !data) {
return null;
}
return (
<PageSection
id="channel-strategy"
title="채널 전략"
subtitle="채널별 커뮤니케이션 전략"
dark
animateEnter={false}
>
<ChannelStrategyGrid channels={data.channelStrategies} />
</PageSection>
);
}