Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

643 B
Raw Blame
import React from 'react'
import SectionContainer from '~/components/Layouts/SectionContainer'
import TabsWithHighlights from '~/components/TabsWithHighlights'
import type { Tab } from '~/components/TabsWithHighlights'

interface Props {
  title: string | React.ReactNode
  tabs: Tab[]
}

const DashboardFeatures: React.FC<Props> = ({ title, tabs }) => (
  <SectionContainer className="text-center" id="dashboard">
    <h3 className="mb-8 text-2xl md:text-4xl max-w-[300px] sm:max-w-none mx-auto text-foreground-lighter">
      {title}
    </h3>
    <TabsWithHighlights tabs={tabs} />
  </SectionContainer>
)

export default DashboardFeatures