import { useState } from "react"; import { BrandConsistencyMap } from "@/components/brand/BrandConsistencyMap"; import { SegmentTabButton } from "@/features/plan/ui/SegmentTabButton"; import type { BrandGuide } from "@/features/plan/types/marketingPlan"; import { BRANDING_GUIDE_TAB_ITEMS, type BrandingGuideTabKey } from "@/features/plan/ui/branding/brandingTabs"; import { BrandingChannelRulesTab } from "@/features/plan/ui/branding/BrandingChannelRulesTab"; import { BrandingToneVoiceTab } from "@/features/plan/ui/branding/BrandingToneVoiceTab"; import { BrandingVisualIdentityTab } from "@/features/plan/ui/branding/BrandingVisualIdentityTab"; type BrandingGuidePanelProps = { data: BrandGuide; }; export function BrandingGuidePanel({ data }: BrandingGuidePanelProps) { const [activeTab, setActiveTab] = useState("visual"); return (
{BRANDING_GUIDE_TAB_ITEMS.map((tab) => { const isActive = activeTab === tab.key; return ( setActiveTab(tab.key)} > {tab.label} ); })}
{activeTab === "visual" ? : null} {activeTab === "tone" ? : null} {activeTab === "channels" ? : null} {activeTab === "consistency" ? ( ) : null}
); }