-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add find drep, become drep and gov actions to governance page.
- Loading branch information
Showing
4 changed files
with
95 additions
and
59 deletions.
There are no files selected for viewing
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,45 @@ | ||
import React from "react"; | ||
import clsx from "clsx"; | ||
import Link from "@docusaurus/Link"; | ||
import styles from "./styles.module.css"; | ||
import QuoteWithText from "@site/src/components/Layout/QuoteWithText"; | ||
|
||
export default function TextSectionWithCtaAndQuote({ | ||
texts = [], | ||
quoteText, | ||
showButton = true, | ||
buttonText = "Participate", | ||
buttonLink = "#", | ||
}) { | ||
return ( | ||
<div className={styles.sectionWrap}> | ||
<div className={styles.flexBox}> | ||
<div className={styles.textWrap}> | ||
{texts.map((text, index) => ( | ||
<p key={index}>{text}</p> | ||
))} | ||
|
||
{showButton && ( | ||
<div className={styles.buttonWrap}> | ||
<Link | ||
to={buttonLink} | ||
className={clsx( | ||
"button button--primary button--lg", | ||
styles.buttonLink | ||
)} | ||
> | ||
{buttonText} | ||
</Link> | ||
</div> | ||
)} | ||
</div> | ||
|
||
{quoteText && ( | ||
<div className={styles.quoteWrap}> | ||
<QuoteWithText text={quoteText} quoteType={"mixed"} /> | ||
</div> | ||
)} | ||
</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
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