import Image from 'next/future/image' import { SparklesIcon } from '@heroicons/react/solid' import { Contract } from 'common/contract' import { Spacer } from './layout/spacer' import { firebaseLogin } from 'web/lib/firebase/users' import { ContractsGrid } from './contract/contracts-grid' import { Col } from './layout/col' import { Row } from './layout/row' import { withTracking } from 'web/lib/service/analytics' import { useTracking } from 'web/hooks/use-tracking' export function LandingPagePanel(props: { hotContracts: Contract[] }) { const { hotContracts } = props useTracking('view landing page') return ( <>