-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* disable notifs summer 2024 * update snapshots * disable new section notifications input
- Loading branch information
1 parent
6e1bbfb
commit 79afd68
Showing
8 changed files
with
93 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import React, { ReactElement } from 'react'; | ||
import Modal from '../Modal'; | ||
import X from '../icons/X.svg'; | ||
import CryingHusky3 from '../icons/crying-husky-3.svg'; | ||
|
||
interface DisabledNotificationsModalProps { | ||
visible: boolean; | ||
onCancel: () => void; | ||
} | ||
|
||
export default function DisabledNotificationsModal({ | ||
visible, | ||
onCancel, | ||
}: DisabledNotificationsModalProps): ReactElement { | ||
return ( | ||
<Modal visible={visible} onCancel={onCancel}> | ||
<div className="phone-modal"> | ||
<div className="phone-modal__body"> | ||
<div className="phone-modal__action-btns"> | ||
<button | ||
onClick={onCancel} | ||
className="phone-modal__action-btn phone-modal__action-btn--x" | ||
> | ||
<X /> | ||
</button> | ||
</div> | ||
<CryingHusky3 /> | ||
<span className="phone-modal__header">Notifications have paused for the summer</span> | ||
|
||
<span className="phone-modal__label"> | ||
Due to cost issues, we{`'`}re putting notifications on pause until we acquire additional funding in the fall. | ||
</span> | ||
</div> | ||
</div> | ||
</Modal> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters