import 'swiper/css' import { useRouter } from 'next/router' import React, { FC } from 'react' import { Swiper, SwiperSlide } from 'swiper/react' import { cn } from 'ui' import { TweetCard } from 'ui-patterns/TweetCard' import content from '~/data/home/content' import Link from 'next/link' interface Tweet { text: string url: string handle: string img_url: string } interface Props { tweets: Tweet[] className?: string } const TwitterSocialProofMobile: FC = ({ tweets, className }: any) => { const { basePath } = useRouter() return (
{tweets.map((tweet: any, i: number) => ( ))}
) } export default TwitterSocialProofMobile