Bug/Quiz Page components missing
ZumDeWald opened this issue · 0 comments
ZumDeWald commented
Recent push of Quiz-Page contained code that had been changed before it was merged, causing certain components to be missing / changed.
Specifics:
Client > pages > quiz > [slug]
- PageHeader component needs imported from the PageHeader file the same as Contribute page instead of current import path
- QuizHeader component needs removed from import and is no longer needed around the PageHeader component (line 124)
- QuizHeader can be removed from
/components/quizSingle/styles
(dead code now, PageHeader should handle the entire header section)
- Header component no longer needs imported (line 18)
- Comment and
Quiz.Header = Header
can be removed from very bottom of file (handled by global Layout component now)
- ContentWrapper component imported from
/components/footer/styles
no longer exists (removed when global Layout component was created) - Need new wrapper made in
/components/quizSingle/styles
for components where this was used (line 156) - Code from deleted styled component is just below
export const ContentWrapper = styled.div`
width: ${breakpoint("maxWidth")};
max-width: calc(100% - 70px);
margin: 0 auto;
color: ${props => props.theme.colors.light};
`;