From a7aca378c894a5180cb6786d790fbae64e914b4f Mon Sep 17 00:00:00 2001 From: Oleksandr Zhukov Date: Tue, 19 Nov 2024 15:24:00 +0200 Subject: [PATCH] added feedback modal, adjusted styles --- public/logo.svg | 2 +- src/app/components/BubbleSpeechContainer.tsx | 4 +- src/app/components/FeedbackModal.tsx | 48 +++++++++++++ src/app/components/Footer.tsx | 72 ++++++++++--------- src/app/components/Header.tsx | 54 +++++++------- src/app/components/InfoSection.tsx | 28 +++++--- src/app/components/LeftContentSection.tsx | 7 +- .../MyStaffplanPreviewContainer.tsx | 4 +- src/app/components/PeoplePreviewContainer.tsx | 4 +- src/app/components/RightContentSection.tsx | 2 +- src/app/components/RoundedContainer.tsx | 4 +- src/app/components/StaffplanDemoContainer.tsx | 6 +- src/app/globals.css | 1 + src/app/page.tsx | 12 +++- 14 files changed, 159 insertions(+), 89 deletions(-) create mode 100644 src/app/components/FeedbackModal.tsx diff --git a/public/logo.svg b/public/logo.svg index 730850a..446f5c4 100644 --- a/public/logo.svg +++ b/public/logo.svg @@ -1,4 +1,4 @@ - + diff --git a/src/app/components/BubbleSpeechContainer.tsx b/src/app/components/BubbleSpeechContainer.tsx index f1bf046..1cbf037 100644 --- a/src/app/components/BubbleSpeechContainer.tsx +++ b/src/app/components/BubbleSpeechContainer.tsx @@ -4,7 +4,7 @@ import Image from "next/image"; const BubbleSpeechContainer: React.FC = () => { return ( <> -
+
Get involved bubble speech { className="sm:block hidden object-cover object-center" />
-
+
Get involved bubble speech { + const [isModalOpen, setIsModalOpen] = useState(false); + const openModal = () => setIsModalOpen(true); + const closeModal = () => setIsModalOpen(false); + + return ( + <> + + {isModalOpen && ( +
+
+
+
+
+ +
+
+