import { BRIDGE_PATH, TERMS_OF_SERVICE_PATH, DISCORD_URL, DOCS_URL, PRIVACY_POLICY_PATH, GITHUB_URL, POOLS_PATH, STAKE_PATH, SWAP_PATH, TWITTER_URL, BUILD_ON_URL, MIRROR_URL, FORUM_URL, TELEGRAM_URL, } from '@urls' import { Grid } from '@components/tailwind/Grid' import { SynapseTitleLogo } from '.' interface FooterDataProps { text: string type: string | null url: string | null } enum FooterType { PATH = 'path', URL = 'url', } const functions: FooterDataProps[] = [ { text: 'Functions', type: null, url: null, }, { text: 'Swap', type: FooterType.URL, url: SWAP_PATH, }, { text: 'Bridge', type: FooterType.URL, url: BRIDGE_PATH, }, { text: 'Pools', type: FooterType.URL, url: POOLS_PATH, }, { text: 'Stake', type: FooterType.URL, url: STAKE_PATH, }, ] const developers: FooterDataProps[] = [ { text: 'Developers', type: null, url: null, }, { text: 'Build on Synapse', type: FooterType.URL, url: BUILD_ON_URL, }, { text: 'Documentation', type: FooterType.URL, url: DOCS_URL, }, { text: 'GitHub', type: FooterType.URL, url: GITHUB_URL, }, { text: 'Blog', type: FooterType.URL, url: MIRROR_URL, }, ] const support: FooterDataProps[] = [ { text: 'Support', type: null, url: null, }, { text: 'Discord', type: FooterType.URL, url: DISCORD_URL, }, { text: 'Twitter', type: FooterType.URL, url: TWITTER_URL, }, { text: 'Forum', type: FooterType.URL, url: FORUM_URL, }, { text: 'Telegram', type: 'url', url: TELEGRAM_URL, }, ] const admin = [ { text: 'Terms of Use', type: 'path', url: TERMS_OF_SERVICE_PATH, }, { text: 'Privacy Policy', type: 'path', url: PRIVACY_POLICY_PATH, }, ] export const PageFooter = () => { return ( ) } const FooterBlock = ({ elements }) => { return (