import { Flex, HStack, Image, List, ListIcon, ListItem, MetaButton, MetaHeading, Text, VStack, } from '@metafam/ds'; import { Constants } from '@metafam/utils'; import { FlexContainer } from 'components/Container'; import { MetaLink } from 'components/Link'; import { CONFIG } from 'config'; import React from 'react'; import { FaCheckCircle } from 'react-icons/fa'; export const GuildJoin: React.FC = () => { const discordOAuthCallbackUrl = `${CONFIG.publicUrl}/${Constants.DISCORD_OAUTH_CALLBACK_PATH}`; const discordAuthParams = new URLSearchParams({ response_type: 'code', client_id: Constants.DISCORD_BOT_CLIENT_ID, state: 'guid-to-go-in-localstorage', permissions: Constants.DISCORD_BOT_PERMISSIONS, redirect_uri: encodeURI(discordOAuthCallbackUrl), scope: Constants.DISCORD_OAUTH_SCOPES, }); const discordAuthUrl = `https://discord.com/api/oauth2/authorize?${discordAuthParams.toString()}`; return ( Join MetaGame as Guild {/* TODO get design input, change content and make responsive */} Guild Are you part of a group of people building tools & services for a decentralized future? Does your group need help finding tools, frameworks or funds? getting value-aligned contributors & adopters? To apply, your guild must have a{' '} Discord {' '} server. Clicking the link below will redirect to a Discord page asking for your permission to collect certain relevant information about your guild. Apply to Join ); };