Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

Support.tsx 952 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  1. import { PeopleIcon, CommentDiscussionIcon } from '@primer/octicons-react'
  2. import { useTranslation } from 'components/hooks/useTranslation'
  3. import { useVersion } from 'components/hooks/useVersion'
  4. export const Support = () => {
  5. const { isEnterprise } = useVersion()
  6. const { t } = useTranslation('support')
  7. return (
  8. <div>
  9. <h3 className="mb-2 f4">{t`still_need_help`}</h3>
  10. <a id="ask-community" href="https://github.community" className="btn btn-outline mr-4 mt-2">
  11. <PeopleIcon size="small" className="octicon mr-1" />
  12. {t`ask_community`}
  13. </a>
  14. <a
  15. id="contact-us"
  16. href={
  17. isEnterprise
  18. ? 'https://enterprise.github.com/support'
  19. : 'https://support.github.com/contact'
  20. }
  21. className="btn btn-outline mt-2"
  22. >
  23. <CommentDiscussionIcon size="small" className="octicon mr-1" />
  24. {t`contact_support`}
  25. </a>
  26. </div>
  27. )
  28. }
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...