TwitterSocialSection.tsx 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. import Link from 'next/link'
  2. import { MessageCircle } from 'lucide-react'
  3. import { Button } from '@nextui-org/react'
  4. import SectionContainer from './SectionContainer'
  5. import TwitterSocialProof from './TwitterSocialProof'
  6. // import TwitterSocialProofMobile from './Sections/TwitterSocialProofMobile'
  7. import { Tweets } from './Tweets'
  8. const TwitterSocialSection = () => {
  9. const tweets = Tweets.slice(0, 18)
  10. return (
  11. <>
  12. <SectionContainer className="w-full text-center !pb-0">
  13. <h3 className="h2">Join the community</h3>
  14. <p className="p">Discover what our community has to say about their Supabase experience.</p>
  15. <div className="my-8 flex justify-center gap-2">
  16. <Button
  17. size='sm' >
  18. {/* asChild size="sm" iconRight={<MessageCircle size={14} />} type="default"> */}
  19. <Link
  20. href={'https://github.com/supabase/supabase/discussions'}
  21. target="_blank"
  22. tabIndex={-1}
  23. >
  24. GitHub discussions
  25. </Link>
  26. </Button>
  27. <Button
  28. size='sm'>
  29. {/* asChild type="default" size="small" iconRight={<MessageCircle size={14} />}> */}
  30. <Link href={'https://discord.supabase.com/'} target="_blank" tabIndex={-1}>
  31. Discord
  32. </Link>
  33. </Button>
  34. </div>
  35. </SectionContainer>
  36. <SectionContainer className="relative w-full !px-0 lg:!px-16 xl:!px-0 !pb-0 mb-16 md:mb-12 lg:mb-12 !pt-6 max-w-[1400px]">
  37. {/* <TwitterSocialProofMobile className="lg:hidden -mb-24" tweets={tweets} /> */}
  38. <TwitterSocialProof className="hidden lg:flex" />
  39. </SectionContainer>
  40. </>
  41. )
  42. }
  43. export default TwitterSocialSection