stargaze-studio/utils/links.ts

33 lines
1.3 KiB
TypeScript
Raw Normal View History

2022-07-13 13:56:36 +00:00
import { ImGithub, ImTwitter } from 'react-icons/im'
import { SiDiscord, SiTelegram } from 'react-icons/si'
2023-06-28 17:59:51 +00:00
import { BLOCK_EXPLORER_URL, NETWORK } from './constants'
2022-07-13 13:56:36 +00:00
export const links = {
// main links
Discord: `https://discord.gg/stargaze`,
2022-10-02 08:12:18 +00:00
Docs: `https://docs.stargaze.zone/guides/stargaze-studio`,
2022-09-07 07:27:32 +00:00
GitHub: `https://github.com/public-awesome/stargaze-studio`,
2023-06-28 17:59:51 +00:00
Survey: `https://stargaze-zone.typeform.com/studiosurvey`,
2022-07-13 13:56:36 +00:00
Telegram: `https://t.me/joinchat/ZQ95YmIn3AI0ODFh`,
Twitter: `https://twitter.com/stargazezone`,
Explorer: BLOCK_EXPLORER_URL,
2022-10-02 08:12:18 +00:00
Documentation: 'https://docs.stargaze.zone/guides/stargaze-studio',
2023-06-28 17:59:51 +00:00
Switch: `${NETWORK === 'mainnet' ? 'https://studio.publicawesome.dev' : 'https://studio.stargaze.zone'}`,
2022-07-13 13:56:36 +00:00
}
export const footerLinks = [
2023-06-28 17:59:51 +00:00
{ text: `Switch to ${NETWORK === 'mainnet' ? 'Testnet' : 'Mainnet'}`, href: links.Switch },
2022-07-13 13:56:36 +00:00
{ text: 'Block Explorer', href: links.Explorer },
{ text: 'Documentation', href: links.Docs },
{ text: 'Submit an issue', href: `${links.GitHub}/issues/new` },
2023-06-28 17:59:51 +00:00
{ text: 'Studio Survey', href: links.Survey },
2022-07-13 13:56:36 +00:00
]
export const socialsLinks = [
{ text: 'Discord', href: links.Discord, Icon: SiDiscord },
{ text: 'GitHub', href: links.GitHub, Icon: ImGithub },
{ text: 'Telegram', href: links.Telegram, Icon: SiTelegram },
{ text: 'Twitter', href: links.Twitter, Icon: ImTwitter },
]