This repository has been archived by the owner on Jul 9, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
James Baxley
authored
Dec 20, 2016
1 parent
f4450b5
commit 49c44c0
Showing
10 changed files
with
290 additions
and
49 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
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 was deleted.
Oops, something went wrong.
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,30 @@ | ||
// @flow | ||
|
||
import { WindowLoading, Spinner } from "../../../../components/loading"; | ||
|
||
const UPDATE_HEADER = "We're Updating Your Saved Account"; | ||
const UPDATE_TEXT = "Please don't close this window while we update your account details"; | ||
|
||
|
||
const CANCEL_HEADER = "We're Removing Your Saved Account"; | ||
const CANCEL_TEXT = "Please don't close this window while we remove your account details"; | ||
|
||
type ILoadingProps = { | ||
type: string, | ||
} | ||
|
||
export default ({ type }: ILoadingProps) => ( | ||
<WindowLoading classes={["background--primary"]}> | ||
<div className="soft soft-double-ends push-double-top one-whole text-center"> | ||
<div className="push-double-top"> | ||
<Spinner styles={{ borderColor: "#fff #6BAC43 #fff #fff", borderWidth: "7px" }} /> | ||
<h3 className="text-light-primary push-top"> | ||
{type === "update" ? UPDATE_HEADER : CANCEL_HEADER} | ||
</h3> | ||
<p className="text-light-primary"> | ||
{type === "update" ? UPDATE_TEXT : CANCEL_TEXT} | ||
</p> | ||
</div> | ||
</div> | ||
</WindowLoading> | ||
); |
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,50 @@ | ||
// @flow | ||
|
||
import { Success as SuccessIcon } from "../../../../components/icons"; | ||
|
||
const CONTACT_MESSAGE_1 = "If you have any questions please call our Finance Team at 864-965-9990 or"; | ||
const CONTACT_MESSAGE_2 = "and someone will be happy to assist you."; | ||
|
||
export const ContactLink = () => ( | ||
<a | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
href="//rock.newspring.cc/workflows/152?Topic=Stewardship" | ||
> | ||
contact us | ||
</a> | ||
); | ||
|
||
export const ContactUs = () => ( | ||
<p className="test-dark-tertiary text-left"> | ||
<em> | ||
{CONTACT_MESSAGE_1} <ContactLink /> {CONTACT_MESSAGE_2} | ||
</em> | ||
</p> | ||
); | ||
|
||
type ISuccess = { | ||
type: string, | ||
onClick?: Function, | ||
}; | ||
|
||
export default ({ | ||
onClick, | ||
type, | ||
}: ISuccess) => ( | ||
<div className="soft soft-double-ends push-double-top@anchored one-whole text-center"> | ||
<div className="push-double-top"> | ||
<SuccessIcon /> | ||
<h3 className="text-primary push-ends">Success!</h3> | ||
|
||
{type === "update" && <p>Thank you for updating your saved account!</p>} | ||
{type !== "update" && <p>Your account has been removed!</p>} | ||
|
||
<button className="btn one-whole push-bottom" onClick={onClick}> | ||
Back To Dashboard | ||
</button> | ||
|
||
<ContactUs /> | ||
</div> | ||
</div> | ||
); |
Oops, something went wrong.