Skip to content

Commit

Permalink
Add link to Github issue forms from site
Browse files Browse the repository at this point in the history
  • Loading branch information
taysea committed Jan 24, 2024
1 parent f3eec98 commit 7b8303b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion aries-site/src/layouts/main/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useContext, useState } from 'react';
import Link from 'next/link';
import { useRouter } from 'next/router';
import { Box, Button, Header, ResponsiveContext } from 'grommet';
import { Search as SearchIcon } from 'grommet-icons';
import { Search as SearchIcon, CircleQuestion } from 'grommet-icons';
import { ThemeModeToggle, AppIdentity } from '../../components';

import { getPageDetails, nameToPath } from '../../utils';
Expand Down Expand Up @@ -48,6 +48,13 @@ const StyledHeader = ({ ...rest }) => {
onClick={() => setShowSearch(true)}
/>
{showSearch && <Search setOpen={setShowSearch} />}
<Button
tip="File an issue or request"
icon={<CircleQuestion />}
target="_blank"
rel="noopener noreferrer"
href="https://github.com/grommet/hpe-design-system/issues/new/choose"
/>
<ThemeModeToggle />
</Box>
</Header>
Expand Down

0 comments on commit 7b8303b

Please sign in to comment.