@@ -6,77 +6,15 @@ import { BoundlessButton } from '../buttons';
66import { Plus , Search , Menu } from 'lucide-react' ;
77import { SidebarTrigger } from '../ui/sidebar' ;
88import Image from 'next/image' ;
9- // import BoundlessSheet from '../sheet/boundless-sheet';
109import { motion } from 'framer-motion' ;
1110import { fadeInUp , slideInFromLeft , slideInFromRight } from '@/lib/motion' ;
1211import WalletConnectButton from '../wallet/WalletConnectButton' ;
13- // import ProjectSubmissionForm from '../project/ProjectSubmissionForm';
14- // import ProjectSubmissionLoading from '../project/ProjectSubmissionLoading';
15- // import ProjectSubmissionSuccess from '../project/ProjectSubmissionSuccess';
16- // import { Stepper } from '../stepper';
1712import { ProjectSheetFlow } from '../project' ;
1813import { useProjectSheetStore } from '@/lib/stores/project-sheet-store' ;
1914
20- // type Step = {
21- // title: string;
22- // description: string;
23- // state: 'pending' | 'active' | 'completed';
24- // };
25-
26- // const initialSteps: Step[] = [
27- // {
28- // title: 'Initialize',
29- // description: 'Submit your project idea to kickstart your campaign journey.',
30- // state: 'active',
31- // },
32- // {
33- // title: 'Project Details',
34- // description: 'Provide detailed information about your project.',
35- // state: 'pending',
36- // },
37- // {
38- // title: 'Review & Submit',
39- // description: 'Review your submission and finalize your entry.',
40- // state: 'pending',
41- // },
42- // ];
43-
4415const Header = ( ) => {
4516 const [ open , setOpen ] = useState ( false ) ;
4617 const sheet = useProjectSheetStore ( ) ;
47- // const [submissionStatus, setSubmissionStatus] = useState('idle');
48- // const [steps, setSteps] = useState<Step[]>(initialSteps);
49-
50- // const handleSuccess = () => {
51- // setSubmissionStatus('success');
52- // setSteps(prevSteps =>
53- // prevSteps.map((step, index) => {
54- // if (index === 0) {
55- // return { ...step, state: 'completed' };
56- // }
57- // if (index === 1) {
58- // return { ...step, state: 'active' };
59- // }
60- // return step;
61- // })
62- // );
63- // };
64-
65- // const renderContent = () => {
66- // switch (submissionStatus) {
67- // case 'submitting':
68- // return <ProjectSubmissionLoading />;
69- // case 'success':
70- // return <ProjectSubmissionSuccess />;
71- // default:
72- // return (
73- // <ProjectSubmissionForm
74- // onSuccess={handleSuccess}
75- // setSubmissionStatus={setSubmissionStatus}
76- // />
77- // );
78- // }
79- // };
8018
8119 return (
8220 < motion . header
@@ -169,16 +107,7 @@ const Header = () => {
169107 sheet . setOpen ( o ) ;
170108 } }
171109 />
172- { /* <BoundlessSheet open={open} setOpen={setOpen}>
173- <div className='flex justify-between'>
174- <div className='flex-1'>
175- <Stepper steps={steps} />
176- </div>
177- <div className='flex-1'>
178- <div className='flex-1'>{renderContent()}</div>
179- </div>
180- </div>
181- </BoundlessSheet> */ }
110+
182111 </ motion . header >
183112 ) ;
184113} ;
0 commit comments