import { Box, Flex, Heading, Link, MetaTag, MetaTile, MetaTileBody, MetaTileHeader, Text, VStack, } from '@metafam/ds'; import { SquareImage } from '#components/SquareImage'; import { GuildFragment } from '#graphql/autogen/hasura-sdk'; import { optimizedImage } from '#utils/imageHelpers'; import { GuildLinksSmall } from './Section/GuildLinks'; type Props = { guild: GuildFragment; }; export const GuildTile: React.FC = ({ guild }) => ( {guild.logo && ( )} {guild.name} {/** * The mb="auto" pushes the last block (Barriers/Contact) down to the bottom of the tile */} {guild.description && ( About {guild.description} )} {guild.type && ( <> Type {guild.type} GUILD )} );