-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add help nav button and page with links to GitHub and a feedback Goog…
…le Form
- Loading branch information
1 parent
2728231
commit f3ebd62
Showing
5 changed files
with
87 additions
and
2 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
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,26 @@ | ||
.feedback-tiles { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
} | ||
|
||
.feedback-tiles > * { | ||
box-sizing: border-box; | ||
max-width: 20em; | ||
width: 100%; | ||
margin: 2em; | ||
} | ||
|
||
.feedback-tiles button { | ||
text-align: center; | ||
padding: 1em 2em; | ||
width: 100%; | ||
} | ||
|
||
.feedback-tiles button p { | ||
margin-top: 0.8em; | ||
} | ||
|
||
.feedback-tiles button h3 { | ||
font-size: 0.8em; | ||
} |
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,35 @@ | ||
import React from 'react'; | ||
import './Help.css'; | ||
|
||
import Button from 'react-bootstrap/Button'; | ||
import { Crumb } from './Breadcrumb'; | ||
|
||
|
||
const githubFeedback = "https://github.com/JohnStarich/sage/issues/new" | ||
const privateFeedback = "https://forms.gle/iCXiTP9Th5zumbPg9" | ||
|
||
export default function ({ match }) { | ||
return ( | ||
<div> | ||
<Crumb title="Help" match={match} /> | ||
<h1>Help & Feedback</h1> | ||
<p>Send suggestions, request features, or ask questions.</p> | ||
<p>Choose how to deliver your feedback:</p> | ||
<div className="feedback-tiles"> | ||
<a href={githubFeedback} target="_blank" rel="noopener noreferrer"> | ||
<Button variant="outline-primary"> | ||
<h2>GitHub</h2> | ||
<h3><em>Preferred</em></h3> | ||
<p>Sign in and submit an issue</p> | ||
</Button> | ||
</a> | ||
<a href={privateFeedback} target="_blank" rel="noopener noreferrer"> | ||
<Button variant="outline-secondary"> | ||
<h2>Feedback Form</h2> | ||
<p>Can include sensitive information</p> | ||
</Button> | ||
</a> | ||
</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