Closed worldviewer closed 6 years ago
react-sliding-pane
here looks like a reasonable choice for condensing the CardStack
component. I will have to implement this for both the CardStack
and FeedCard
components. I should get it working in one, then apply it to the other.
MainStack
to update it. I should send the pixel width to Redux and calculateisDesktop
,isMobile
andisTablet
based upon that.Card
component into desktop version ofMainStack
, so that it can be applied to the feed post images.CardStack
/MainStack
should condense into one single screen. Try to use all MobiScroll components where necessary, and keep the mobile component code separated from the desktop code as much as possible.FeedCard
: A left panel can slide right to show the associated text.FeedCard
: A right panel can slide left to show the associated feed (it can be vertical).CardStack
: A left panel can slide right to show the associated text.MainStack
. Probably the best idea for this is to just use the mobile overlay, but keep it on the screen at all times (and keep it clickable).I will keep the search and the informational pages the same for both mobile and desktop.