From ff4c29f91e05d62aad27fce67f0328ac29e041f0 Mon Sep 17 00:00:00 2001 From: Matt Dunn-Rankin Date: Wed, 22 Apr 2020 01:29:07 -0700 Subject: [PATCH] use the Delicious font for more character! --- app/dev-todos.txt | 1 + app/src/WardrobePage.js | 72 ++++++++++++++++++++++++----------------- 2 files changed, 43 insertions(+), 30 deletions(-) create mode 100644 app/dev-todos.txt 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}