Closed janethuangg closed 3 years ago
This PR implements a mobile/desktop view for the card creation and deck creation pages using
<CreateBody>
<ViewportProvider>
useViewport()
desktop 2-column layout: card editor | prompt -> button
mobile 1-column layout: prompt -> card editor -> button
This looks good! I'll merge this and then use it to edit my branch that you mentioned in the comment.
This PR implements a mobile/desktop view for the card creation and deck creation pages using
<CreateBody>
component<ViewportProvider>
component anduseViewport()
hook that returns the current viewport widthdesktop 2-column layout: card editor | prompt -> button
mobile 1-column layout: prompt -> card editor -> button