-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 🎸 add form page with recap header. needs form component (#133)
* feat: 🎸 add form page with recap header. needs form component * feat(form-page.js): adds conditinal render to form-page and markdown/path for get-resilience closes #116 and closes #117 * Update _featureList.scss
- Loading branch information
1 parent
d212351
commit d1c3b3b
Showing
7 changed files
with
383 additions
and
1 deletion.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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,19 @@ | ||
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
|
||
|
||
const FeatureList = ({ items }) => ( | ||
<div className="featureList_container"> | ||
<ul> | ||
{items.map((item, i) => ( | ||
<li className="featureList_item" key={i}>{item}</li> | ||
))} | ||
</ul> | ||
</div> | ||
); | ||
|
||
FeatureList.propTypes = { | ||
items: PropTypes.arrayOf(PropTypes.string).isRequired, | ||
}; | ||
|
||
export default FeatureList; |
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,29 @@ | ||
.featureList_container { | ||
border: 1px solid $color-grey; | ||
border-radius: 4px; | ||
padding: 1.5em; | ||
height: 100%; | ||
|
||
ul { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-around; | ||
height: 100%; | ||
width: 90%; | ||
list-style: none; | ||
margin: auto; | ||
padding: 0px; | ||
|
||
li::before { | ||
content: "\2713"; | ||
color: $bg-primary; | ||
margin: 0 0.5em; | ||
} | ||
} | ||
} | ||
|
||
.featureList_item { | ||
font-weight: 600; | ||
text-transform: uppercase; | ||
height: 40px; | ||
} |
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,13 @@ | ||
--- | ||
templateKey: form-page | ||
path: /get-resilience | ||
title: Easy to use, adaptable, open-source system made for mutual aid groups | ||
features: | ||
- REQUESTS MANAGEMENT | ||
- ONLINE PAYMENT | ||
- SCHEDULING | ||
- DELIVERY ROUTING | ||
--- | ||
We want to be able to help as many mutual aid groups as we can and we want to hear from you what your needs are and how our app can help! | ||
|
||
[How our partners use it](/partners) |
Oops, something went wrong.