import clsx from 'clsx' import { ENV_CONFIG } from 'common/envs/constants' import { Contract, contractPath, contractUrl } from 'web/lib/firebase/contracts' import { CopyLinkButton } from './copy-link-button' import { Col } from './layout/col' import { Row } from './layout/row' export function ShareMarket(props: { contract: Contract; className?: string }) { const { contract, className } = props const url = `https://${ENV_CONFIG.domain}${contractPath(contract)}` return (