Skip to content

Commit

Permalink
close #27
Browse files Browse the repository at this point in the history
  • Loading branch information
uf0 committed Jul 29, 2019
1 parent 74a785b commit 136407b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/components/askInfo.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react"
import styles from "./askInfo.module.scss"

const AskInfo = ({ question, button, link, bgLight }) => (
const AskInfo = ({ question, button, link, bgLight, btGreen }) => (
<div
className={`container-fluid text-center text-md-left py-3 py-md-0 ${
styles.askInfo
Expand All @@ -14,7 +14,13 @@ const AskInfo = ({ question, button, link, bgLight }) => (
</div>
<div className="col-sm-3">
<a href={link} target="_blank" rel="noopener noreferrer">
<button className="btn btn-default btn-larger">{button}</button>
<button
className={`btn btn-default btn-larger ${
btGreen ? "btn-green" : ""
}`}
>
{button}
</button>
</a>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions src/pages/gallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const GalleryPage = ({ data }) => {
button="submit!"
link="https://forms.gle/WnqxUfwnE3nVt58RA"
bgLight
btGreen
></AskInfo>

<div className="grey-bg container-fluid">
Expand Down

0 comments on commit 136407b

Please sign in to comment.