Some agencies do not want the BOTZ event to be hosted in the agency so this PR is here to update the BotzEvent composition managed by this parameter.
💻 How?
On the form: i've created a checkbox which allow the user to say if the video is for remote event only or not.
On the BotzEvent composition: i've added a parameter remoteOnly and created a component named IntroRemoteOnly.tsx.
✅ How to validate this PR?
You can run pnpm dev and go to http://localhost:3000/BotzEvent/, you should see the video and the form.
You can try check the checkbox with the label "À distance uniquement". You should see the video change and the field "Ville" disappear too (it is not useful for this version of the video so it's hidden from the user)
🤔 Why?
Some agencies do not want the BOTZ event to be hosted in the agency so this PR is here to update the BotzEvent composition managed by this parameter.
💻 How?
On the form: i've created a checkbox which allow the user to say if the video is for remote event only or not. On the BotzEvent composition: i've added a parameter
remoteOnly
and created a component namedIntroRemoteOnly.tsx
.✅ How to validate this PR?
pnpm dev
and go tohttp://localhost:3000/BotzEvent/
, you should see the video and the form.