-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* create SurveyCTA.js and modify ActionButton.js * add surveycta to homepage * apply whitespace-nowrap to SurveyCTA button * remove empty files * update homepage mock data
- Loading branch information
Showing
5 changed files
with
157 additions
and
41 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { ActionButton } from "../atoms/ActionButton"; | ||
|
||
export const SurveyCTA = ({ | ||
heading, | ||
description, | ||
buttonLabel, | ||
buttonLink, | ||
buttonType, | ||
}) => { | ||
return ( | ||
<div className="flex flex-col md:flex-row py-6 bg-multi-blue-blue70 rounded-2xl"> | ||
<div className="flex flex-col px-10 text-multi-neutrals-white"> | ||
<h3 className="font-display">{heading}</h3> | ||
<p className="font-body">{description}</p> | ||
</div> | ||
<div className="flex flex-col px-10 pt-5 md:pt-0 md:justify-center md:items-center whitespace-nowrap"> | ||
<ActionButton href={buttonLink} text={buttonLabel} style="tertiary" /> | ||
</div> | ||
</div> | ||
); | ||
}; |
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