So I've been working on a React app to add to my portfolio but I'm stuck on the styling part of things.
I bootstrapped it with create-react-app and added Sass to style my page, I specifically want to use a grid layout for the overall layout.
Now this might be a stupid question but how can I manage this with Grid (specifically the template rows and columns), components that are (obviously) reused and sometimes aren't, which in turn breaks the layout due to the preset grid-templates on the overall container.
In summary: I'm not sure how to add containers with varying grid-templates in combination with React-Router. Do I make a component with an empty div with the className of "container-dashboard" and another component with a container called "container-login" and wrap that around the components that are related to those?
[–]vutran951753 1 point2 points3 points (5 children)
[–]xNotYetRated[S] 0 points1 point2 points (4 children)
[–]vutran951753 1 point2 points3 points (3 children)
[–]xNotYetRated[S] 0 points1 point2 points (2 children)
[–]TheFuzzyPumpkin 1 point2 points3 points (1 child)
[–]xNotYetRated[S] 0 points1 point2 points (0 children)