refactor: remove KAJIAN section from news page for code simplification

This commit is contained in:
fredy.siswanto 2025-03-02 12:24:30 +07:00
parent 46db9c97dd
commit acb4ff64c1

View File

@ -2,7 +2,7 @@ import { Card } from '~/components/ui/card'
import { CarouselHero } from '~/components/ui/carousel-hero'
import { CarouselSection } from '~/components/ui/carousel-section'
import { Newsletter } from '~/components/ui/newsletter'
import { BERITA, KAJIAN, SPOTLIGHT } from '~/data/contents'
import { BERITA, SPOTLIGHT } from '~/data/contents'
export const NewsPage = () => {
return (
@ -13,14 +13,13 @@ export const NewsPage = () => {
<div className="min-h-[400px] sm:min-h-[300px]">
<Newsletter className="mr-0 sm:-ml-14" />
</div>
<div>
<Card>
<CarouselSection {...BERITA} />
</Card>
<Card>
{/* <Card>
<CarouselSection {...KAJIAN} />
</Card>
</div>
</Card> */}
</div>
)
}