add report a bug button (#758)

* add report a bug button

* format
This commit is contained in:
Josh Gomez
2023-10-02 16:33:33 -07:00
committed by GitHub
parent 65037abd9a
commit 63feebef5c

View File

@ -1,6 +1,11 @@
import { Popover, Transition } from '@headlessui/react' import { Popover, Transition } from '@headlessui/react'
import { ActionButton } from './ActionButton' import { ActionButton } from './ActionButton'
import { faBars, faGear, faSignOutAlt } from '@fortawesome/free-solid-svg-icons' import {
faBars,
faBug,
faGear,
faSignOutAlt,
} from '@fortawesome/free-solid-svg-icons'
import { faGithub } from '@fortawesome/free-brands-svg-icons' import { faGithub } from '@fortawesome/free-brands-svg-icons'
import { useLocation, useNavigate } from 'react-router-dom' import { useLocation, useNavigate } from 'react-router-dom'
import { Fragment, useState } from 'react' import { Fragment, useState } from 'react'
@ -144,6 +149,14 @@ const UserSidebarMenu = ({ user }: { user?: User }) => {
> >
Request a feature Request a feature
</ActionButton> </ActionButton>
<ActionButton
Element="externalLink"
to="https://github.com/KittyCAD/modeling-app/issues/new"
icon={{ icon: faBug }}
className="border-transparent dark:border-transparent dark:hover:border-liquid-60"
>
Report a bug
</ActionButton>
<ActionButton <ActionButton
Element="button" Element="button"
onClick={() => send('Log out')} onClick={() => send('Log out')}