Wykres commitów

2 Commity (main)

Autor SHA1 Wiadomość Data
Atul Varma 1cbe2b6d22
Improve layout (#74)
This improves the layout of all our pages to look more like the mandala page.

Additionally, some form widgets now have better layout, and the header takes up less vertical space.

At an implementation level, the component hierarchy of pages has been inverted to make this kind of layout easier.  Now fully laid-out pages are contained within `<Page>` components that are at the top of the component hierarchy, and which are defined by each specific page (mandala, creature, vocabulary, etc).

I had to do a few architectural things to avoid circular imports, though; most notably, this involved the creation of a new React context called a `PageContext`.

It uses CSS grid, which should be pretty well-supported amongst recent browsers.
2021-04-02 19:00:29 -04:00
Atul Varma 51f68656ad Factor out vocabulary.ts. 2021-03-27 08:29:42 -04:00