Deleted questionnaire sections from A-D2 and replaced them with a common component.
src/CommonComponents/Question/index.js: Changed how each section gets its five questions by slicing the questions data array.
src/CommonComponents/QuestionnaireSection/index.js: Created a new file to render questionnaire sections as a common component instead of rendering each section alone.
src/Data/questionnaireSectionsData.js: Moved questionnaireData from questionnaire file to the data file and changed its name.
src/Data/questionnareData.js : Moved questionnaire sections data from questionnaire file to the data file and changed its name.
src/Layout/Questionnaire/QuestionnaireOptions.js : Changed option3 name and removed the page title and prev button from the component to render it in the index file.
src/Data/questionsData.js : Changed file name to be more suitable.
src/Layout/Questionnaire/index.js : Removed unnecessary code and changed the way we render the questionnaire sections.
src/Layout/Questionnaire/index.style.js : Removed unnecessary styled component and renamed the header component to pageTitile and restyled it.
Deleted questionnaire sections from A-D2 and replaced them with a common component.
src/CommonComponents/Question/index.js: Changed how each section gets its five questions by slicing the questions data array.
src/CommonComponents/QuestionnaireSection/index.js: Created a new file to render questionnaire sections as a common component instead of rendering each section alone.
src/Data/questionnaireSectionsData.js: Moved questionnaireData from questionnaire file to the data file and changed its name.
src/Data/questionnareData.js : Moved questionnaire sections data from questionnaire file to the data file and changed its name.
src/Layout/Questionnaire/QuestionnaireOptions.js : Changed option3 name and removed the page title and prev button from the component to render it in the index file.
src/Data/questionsData.js : Changed file name to be more suitable.
src/Layout/Questionnaire/index.js : Removed unnecessary code and changed the way we render the questionnaire sections.