import { useState } from 'react';
import {
Box,
Container,
Typography,
Card,
CardContent,
Button,
Grid,
Radio,
RadioGroup,
FormControlLabel,
} from '@mui/material';
import { AutoAwesome, TrendingUp, Replay, Store, Campaign } from '@mui/icons-material';
import { EventObjective } from '../page';
interface ObjectiveOption {
id: EventObjective;
icon: React.ReactNode;
title: string;
description: string;
}
const objectives: ObjectiveOption[] = [
{
id: 'new_customer',
icon: ,
title: '신규 고객 유치',
description: '새로운 고객을 확보하여 매장을 성장시키고 싶어요',
},
{
id: 'revisit',
icon: ,
title: '재방문 유도',
description: '기존 고객의 재방문을 촉진하고 싶어요',
},
{
id: 'sales',
icon: ,
title: '매출 증대',
description: '단기간에 매출을 높이고 싶어요',
},
{
id: 'awareness',
icon: ,
title: '인지도 향상',
description: '브랜드나 매장 인지도를 높이고 싶어요',
},
];
interface ObjectiveStepProps {
onNext: (objective: EventObjective) => void;
}
export default function ObjectiveStep({ onNext }: ObjectiveStepProps) {
const [selected, setSelected] = useState(null);
const handleNext = () => {
if (selected) {
onNext(selected);
}
};
return (
{/* Title Section */}
이벤트 목적을 선택해주세요
AI가 목적에 맞는 최적의 이벤트를 추천해드립니다
{/* Purpose Options */}
setSelected(e.target.value as EventObjective)}>
{objectives.map((objective) => (
setSelected(objective.id)}
>
{objective.icon}
{objective.title}
{objective.description}
}
label=""
sx={{ m: 0 }}
/>
))}
{/* Info Box */}
선택하신 목적에 따라 AI가 업종, 지역, 계절 트렌드를 분석하여 가장 효과적인 이벤트를 추천합니다.
{/* Action Buttons */}
);
}