From b63aa9da467471b18b4026740daff0bf03a65459 Mon Sep 17 00:00:00 2001 From: Yatharth Bhargava Date: Tue, 2 Apr 2024 01:41:16 -0400 Subject: [PATCH] final changes --- src/components/InformationModal/index.tsx | 4 +- .../InvitationAcceptModal.tsx | 134 +--------------- .../SuccesfulInvitationImage/index.tsx | 144 ++++++++++++++++++ 3 files changed, 148 insertions(+), 134 deletions(-) create mode 100644 src/components/SuccesfulInvitationImage/index.tsx diff --git a/src/components/InformationModal/index.tsx b/src/components/InformationModal/index.tsx index dcab7eb5..4f6459a1 100644 --- a/src/components/InformationModal/index.tsx +++ b/src/components/InformationModal/index.tsx @@ -78,13 +78,13 @@ export function InformationModalContent({ Compare Schedules View
Compare Schedules Panel
diff --git a/src/components/InvitationAcceptModal/InvitationAcceptModal.tsx b/src/components/InvitationAcceptModal/InvitationAcceptModal.tsx index f609742b..3db335ca 100644 --- a/src/components/InvitationAcceptModal/InvitationAcceptModal.tsx +++ b/src/components/InvitationAcceptModal/InvitationAcceptModal.tsx @@ -8,6 +8,7 @@ import Button from '../Button'; import Modal from '../Modal'; import InvitationModal from '../InvitationModal'; import LoginModal from '../LoginModal'; +import SuccesfulInvitationImage from '../SuccesfulInvitationImage'; import './stylesheet.scss'; @@ -218,138 +219,7 @@ function SuccessContent({ You have successfully added a new schedule to your view! - - - - - - - - - - - - - - - - - - - - - - - - - - +
You will now be able to see {email}'s schedule! diff --git a/src/components/SuccesfulInvitationImage/index.tsx b/src/components/SuccesfulInvitationImage/index.tsx new file mode 100644 index 00000000..c4994b53 --- /dev/null +++ b/src/components/SuccesfulInvitationImage/index.tsx @@ -0,0 +1,144 @@ +import React from 'react'; + +type Props = { + className?: string; +}; + +export default function SuccesfulInvitationImage({ + className, +}: Props): React.ReactElement { + return ( + + + + + + + + + + + + + + + + + + + + + + + + + + + ); +}