-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
430 - Phase Out Open Call for Contributions (#431)
* (edit) unrender the contribution banner from UI (so that we can toggle back the banner as required in the future) * create the ContributePageCard and render in the contribute page * (edit) remove the download guideline as PDF button and delete the PFD file in /src/public * (edit) update the URL for contribute_hsform and delete the contribute_pdf (for previously deleted PDF file) property * (edit) rename ContributePageCard to WarningCard and define props and add the dropshadow * (edit) add the WarningCard to the contirbute page instead of Layout
- Loading branch information
Showing
7 changed files
with
73 additions
and
23 deletions.
There are no files selected for viewing
Binary file not shown.
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,31 @@ | ||
import React from 'react' | ||
import { Box, Text } from 'grommet' | ||
import { CardBandLarge } from 'components/Band' | ||
import { WarningText } from 'components/WarningText' | ||
|
||
export const WarningCard = ({ label, children }) => { | ||
return ( | ||
<CardBandLarge | ||
align="center" | ||
elevation="small" | ||
pad={{ top: 'large' }} | ||
width="100%" | ||
> | ||
<Box margin={{ bottom: 'medium' }}> | ||
<WarningText | ||
iconColor="error" | ||
iconMargin="none" | ||
iconSize="24px" | ||
text={ | ||
<Text color="error" size="24px" weight="bold"> | ||
{label} | ||
</Text> | ||
} | ||
/> | ||
</Box> | ||
{children} | ||
</CardBandLarge> | ||
) | ||
} | ||
|
||
export default WarningCard |
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