diff --git a/frontend/src/pages/CreateMeetingFunnelPage/index.tsx b/frontend/src/pages/CreateMeetingFunnelPage/index.tsx new file mode 100644 index 00000000..c8e318fe --- /dev/null +++ b/frontend/src/pages/CreateMeetingFunnelPage/index.tsx @@ -0,0 +1,51 @@ +import MeetingDateTime from '@pages/CreateMeetingFunnelPage/MeetingDateTime'; +import MeetingHostInfo from '@pages/CreateMeetingFunnelPage/MeetingHostInfo'; +import MeetingName from '@pages/CreateMeetingFunnelPage/MeetingName'; + +import useCreateMeeting from '@hooks/useCreateMeeting/useCreateMeeting'; +import useFunnel from '@hooks/useFunnel/useFunnel'; + +const testSteps = ['약속이름', '약속주최자정보', '약속날짜시간정보'] as const; +type TestSteps = typeof testSteps; + +export default function FunnelTestPage() { + const [setStep, Funnel] = useFunnel(testSteps, '약속이름'); + const { + meetingNameInput, + isMeetingNameInvalid, + hostNickNameInput, + hostPasswordInput, + isHostInfoInValid, + hasDate, + handleDateClick, + meetingTimeInput, + isCreateMeetingFormInValid, + } = useCreateMeeting(); + + return ( + + + setStep('약속주최자정보')} + /> + + + setStep('약속날짜시간정보')} + /> + + + + + + ); +}