simularium / binding-sim-edu

Other
0 stars 0 forks source link

Glossary terms in written content #111

Closed meganrm closed 1 month ago

meganrm commented 2 months ago

Problem

Estimated review size: medium closes #110

Solution

I needed to have the content render as jsx instead of just being a string. I added the glossary terms as one large object (we also have a design to show them all as a single list).

Bonus changes:

  1. This app involves a lot of z stacking, so I parametrized that a little bit so it's clearer what is in what layer. A number of the files changed are only involved in update the z-index. I suggest looking through those files first, marking them as read, and then going through the changes for the glossary term definitions
  2. Rendering the content as JSX allows for rendering the A B as they're colored icons instead of just text.

Type of change

Please delete options that are not relevant.

Screenshots (optional):

Screenshot 2024-07-31 at 3 31 00 PM