You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per my conversation with @isaaclombardssw in #12 we want to refactor how the FeatureCarousel component renders content on different screen sizes.
Instead of using the useEffect hook to check for the window size and then track this via a useState, we want to create 2 different components and then in the primary FeatureHorizontalCarousel component render each of these using tailwinds hidden / block properties on either sm: md: lg: xl: screens
Tasks
Extrapolate the two views (small/medium, large+) into different components
Render the two views in the FeatureHorizontalCarousel component using the tailwind hidden properties and screen sizes
Cleanup unnecessary hooks
The text was updated successfully, but these errors were encountered:
As per my conversation with @isaaclombardssw in #12 we want to refactor how the FeatureCarousel component renders content on different screen sizes.
Instead of using the useEffect hook to check for the window size and then track this via a useState, we want to create 2 different components and then in the primary
FeatureHorizontalCarousel
component render each of these using tailwinds hidden / block properties on either sm: md: lg: xl: screensTasks
FeatureHorizontalCarousel
component using the tailwind hidden properties and screen sizesThe text was updated successfully, but these errors were encountered: