-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* introduced cta-doc component; updated cta component; updated cta in guide and cloud * decreased heading tag in cta-doc
- Loading branch information
Kirill Bolotsky
authored
May 4, 2020
1 parent
d98acfd
commit d62d120
Showing
17 changed files
with
562 additions
and
87 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
28 changes: 28 additions & 0 deletions
28
src/components/shared/cta-doc/cta-doc--default/cta-doc--default.js
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,28 @@ | ||
import React from 'react'; | ||
import { Heading } from 'components/shared/heading'; | ||
import styles from './cta-doc--default.module.scss'; | ||
import ButtonBg from '../svg/button-bg.inline.svg'; | ||
|
||
export const CtaDocDefault = ({ title, description, Button }) => { | ||
return ( | ||
<div className={'row'}> | ||
<div className={'col-xl-12'}> | ||
<div className={styles.wrapperLight}> | ||
<div className={styles.inner}> | ||
<div className={styles.content}> | ||
<Heading className={styles.title} tag={'h3'}> | ||
{title} | ||
</Heading> | ||
<p className={styles.description}>{description}</p> | ||
</div> | ||
|
||
<div className={styles.buttonWrapper}> | ||
<ButtonBg className={styles.buttonBg} /> | ||
<Button /> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; |
Oops, something went wrong.