v3.ocaml.org-rescript
v3.ocaml.org-rescript copied to clipboard
Generalise SplitCard and CardGrid components
These two components could have some of their styling be customisable such as the the grid gap in the CardGrid and the background colour for the SplitCard -- see https://github.com/ocaml/v3.ocaml.org/pull/485 for the discussion on these two components.
Also, a SplitCard is a generalized MediaObject component, where there is no longer a constraint that one of the sides of the component must be an image. We may want to place them in the same parent module.