import { Card } from '~/components/ui/card'
import { Carousel } from '~/components/ui/carousel'

import { BERITA, KAJIAN, SPOTLIGHT } from './data'
import { Newsletter } from './newsletter'

export const NewsPage = () => {
  return (
    <div className="relative">
      <Card>
        <Carousel {...SPOTLIGHT} />
      </Card>
      <Newsletter />
      <Card>
        <Carousel {...BERITA} />
      </Card>
      <Card>
        <Carousel {...KAJIAN} />
      </Card>
    </div>
  )
}
