From 6c84205b38284724f7bac7c2ba2fbfb0ea3f6071 Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Thu, 8 Mar 2018 07:26:04 -0500 Subject: [PATCH] move lightboxes into react --- README.md | 9 +- public/index.html | 550 ++++++++----------- src/components/LightBoxes/About.js | 64 +++ src/components/LightBoxes/CheatSheet.js | 163 ++++++ src/components/LightBoxes/ForkMap.js | 12 + src/components/LightBoxes/Invite.js | 23 + src/components/LightBoxes/NoIE.js | 22 + src/components/LightBoxes/SwitchMetacodes.js | 12 + src/components/LightBoxes/Tutorial.js | 14 + src/components/LightBoxes/index.js | 33 ++ src/routes/App.js | 2 + 11 files changed, 570 insertions(+), 334 deletions(-) create mode 100644 src/components/LightBoxes/About.js create mode 100644 src/components/LightBoxes/CheatSheet.js create mode 100644 src/components/LightBoxes/ForkMap.js create mode 100644 src/components/LightBoxes/Invite.js create mode 100644 src/components/LightBoxes/NoIE.js create mode 100644 src/components/LightBoxes/SwitchMetacodes.js create mode 100644 src/components/LightBoxes/Tutorial.js create mode 100644 src/components/LightBoxes/index.js diff --git a/README.md b/README.md index c84c65d3..38401cd9 100644 --- a/README.md +++ b/README.md @@ -26,13 +26,16 @@ Checklist - [x] Fix images referenced in the JS - [x] Figure out how authentication of requests from the frontend to the API works - [x] Figure out how to combine the nodejs realtime server into server.js -- [ ] Notifications: make sure loading states are working for popup and page +- [x] Notifications: make sure loading states are working for popup and page - [ ] Notifications: make sure notifications either look nice, or redirect - [ ] Notifications: pagination - [ ] Get actioncable working -- [ ] Request unreadNotificationCount -- [ ] Request invite code +- [ ] lightboxes +- [x] Request unreadNotificationCount +- [x] Request invite code - [x] Request user object itself +- [ ] About lightbox +- [ ] break up index.html into parts - [ ] Handle CSS metacode colors - [ ] Fix Request An Invite page - [ ] Make 'new map' action work diff --git a/public/index.html b/public/index.html index a0b79386..f7496952 100644 --- a/public/index.html +++ b/public/index.html @@ -11,17 +11,18 @@ + - - - - Metamaps + + + + Metamaps - + - + - + - + + -
-
-
-
- - - - - - - - - - - - - - - - - - - + +
+ -
- - - - - - - - - - - - - +
+
+ - } }