From 45107de72e678a8bdcd5f5edfcd142b23a89aa7c Mon Sep 17 00:00:00 2001 From: Dunsin <78784850+Dun-sin@users.noreply.github.com> Date: Wed, 26 Oct 2022 20:57:16 +0100 Subject: [PATCH] feat: add custom dialog (#230) * feat: add confirmation dialog (#209) * chore: add dialog component * chore: update logout and chat close dialog popup * fix mobile view * update dialog component to be more reliable * update dialog usage --- client/index.html | 1 + client/src/components/Anonymous.jsx | 257 ++++++++++---------- client/src/components/BuddyMatcher.jsx | 317 +++++++++++++------------ client/src/components/Dialog.jsx | 75 ++++++ client/src/components/NavBar.jsx | 41 ++-- client/src/context/DialogContext.jsx | 39 +++ client/src/index.jsx | 7 +- client/src/pages/Start.jsx | 1 - client/src/styles/dialog.css | 17 ++ 9 files changed, 452 insertions(+), 303 deletions(-) create mode 100644 client/src/components/Dialog.jsx create mode 100644 client/src/context/DialogContext.jsx create mode 100644 client/src/styles/dialog.css diff --git a/client/index.html b/client/index.html index 5a75eb43..c1680498 100644 --- a/client/index.html +++ b/client/index.html @@ -27,6 +27,7 @@
+