feat: implement CategorySection component and update carousel usage in news pages

This commit is contained in:
fredy.siswanto
2025-03-01 15:44:23 +07:00
parent 422f3fcba5
commit a749759164
5 changed files with 295 additions and 7 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import { Card } from '~/components/ui/card'
import { Carousel } from '~/components/ui/carousel'
import { CategorySection } from '~/components/ui/category-section'
import { BERITA } from './data'
@@ -7,7 +7,7 @@ export const NewsCategoriesPage = () => {
return (
<div className="relative">
<Card>
<Carousel {...BERITA} />
<CategorySection {...BERITA} />
</Card>
</div>
)