Wykres commitów

9 Commity (b28a0114b9b16c0f9f4e72fc8cb1a3240b09ccc6)

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 a19a560b8f Auto-generate id attributes by default. 2021-03-27 08:11:07 -04:00
Atul Varma fbca3b65ba Factor out numeric-slider.tsx. 2021-03-27 07:24:15 -04:00
Atul Varma c7d1092cda Factor out ColorWidget component. 2021-03-27 07:14:42 -04:00
Atul Varma 455fb4ee45 Fix react attribute warnings on waves page. 2021-02-15 09:14:17 -05:00
Atul Varma a58ac3e5ff Add stroke/fill widgets. 2021-02-14 17:29:37 -05:00
Atul Varma bcd5390ca1 Tweak some stuff. 2021-02-14 17:19:01 -05:00
Atul Varma 01ee8068db Add some sliders. 2021-02-14 17:13:27 -05:00
Atul Varma 046c940351 Add waves. 2021-02-14 16:39:10 -05:00