Skip to content

Commit

Permalink
DBC22-2225: updated header button link
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-oxd committed May 27, 2024
1 parent 3a3390b commit 33858d6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/frontend/src/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ export default function Header() {

const xLargeScreen = useMediaQuery('only screen and (min-width : 992px)');

const surveyLink = `${window.SURVEY_LINK}` ||
'https://forms.office.com/Pages/ResponsePage.aspx?id=AFLbbw09ikqwNtNoXjWa3G-k6A-ZOZVMlxBJti4jf_VURjI4MlRKMlRYQTVFUFJZOU5XTVVZUjEwQS4u';

// Rendering
return (
<header className="header--shown">
Expand Down Expand Up @@ -66,7 +69,8 @@ export default function Header() {
</LinkContainer>
</Nav>
</Navbar.Collapse>
<a href="https://forms.office.com/Pages/ResponsePage.aspx?id=AFLbbw09ikqwNtNoXjWa3G-k6A-ZOZVMlxBJti4jf_VURjI4MlRKMlRYQTVFUFJZOU5XTVVZUjEwQS4u" className="btn btn-primary" id="feedback-btn" target="_blank" rel="noreferrer" alt="Feedback survey"><FontAwesomeIcon icon={faComment} />Give Feedback</a>

<a href={surveyLink} className="btn btn-primary" id="feedback-btn" target="_blank" rel="noreferrer" alt="Feedback survey"><FontAwesomeIcon icon={faComment} />Give Feedback</a>
</Container>
</Navbar>
</header>
Expand Down

0 comments on commit 33858d6

Please sign in to comment.