diff --git a/app/dev-todos.txt b/app/dev-todos.txt new file mode 100644 index 00000000..354cf42a --- /dev/null +++ b/app/dev-todos.txt @@ -0,0 +1 @@ +* Embed Delicious font, right now it just uses the locally installed one! \ No newline at end of file diff --git a/app/src/WardrobePage.js b/app/src/WardrobePage.js index abfbfcb9..43bda2ca 100644 --- a/app/src/WardrobePage.js +++ b/app/src/WardrobePage.js @@ -63,35 +63,7 @@ function ItemsPanel() { return ( - - - - {({ isEditing, onRequestEdit }) => ( - <> - - - {!isEditing && ( - - - - )} - - )} - - - + {zonesAndItems.map(({ zoneName, items, wornItemId }) => ( @@ -108,10 +80,50 @@ function ItemsPanel() { ); } +function OutfitHeading() { + return ( + + + + {({ isEditing, onRequestEdit }) => ( + <> + + + {!isEditing && ( + + + + )} + + )} + + + + ); +} + function ItemsForZone({ zoneName, items, wornItemId, onWearItem }) { return ( - + {zoneName}